| | |
| | | <el-table-column |
| | | prop="code" |
| | | label="编码" |
| | | show-tooltip-when-overflow |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="name" |
| | | show-tooltip-when-overflow |
| | | label="名称" |
| | | sortable="custom" |
| | | /> |
| | |
| | | prop="description" |
| | | label="工艺路线描述" |
| | | sortable="custom" |
| | | show-tooltip-when-overflow |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.description">{{ row.description }}</div> |
| | |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="enable" |
| | | show-tooltip-when-overflow |
| | | label="使用状态" |
| | | sortable="custom" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.enable==='Y'"> |
| | | <svg-icon icon-class="circleYes" style="margin-right: 2px" /> |
| | | <i class="el-icon-success" :style="{color:$store.state.settings.theme}" style="margin-right: 2px" /> |
| | | 是 |
| | | </div> |
| | | <div v-if="row.enable==='N'"> |
| | | <svg-icon icon-class="circleNo" style="margin-right: 2px" /> |
| | | <i class="el-icon-info" style="margin-right: 2px" /> |
| | | 否 |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="lm_user" |
| | | show-tooltip-when-overflow |
| | | label="创建人员" |
| | | sortable="custom" |
| | | /> |
| | | <el-table-column |
| | | prop="lm_date" |
| | | label="创建时间" |
| | | show-tooltip-when-overflow |
| | | sortable="custom" |
| | | width="160" |
| | | /> |
| | |
| | | <el-tooltip class="item" effect="dark" content="预览" placement="top"> |
| | | <i |
| | | class="el-icon-view" |
| | | style="margin-right:15px;cursor: pointer;color:#42b983 " |
| | | :style="{color:$store.state.settings.theme}" |
| | | style="margin-right:15px;cursor: pointer;" |
| | | @click="edit('edit',row)" |
| | | /> |
| | | </el-tooltip> |
| | | <el-tooltip v-del-tab-index class="item" effect="dark" content="删除" placement="top"> |
| | | <i class="el-icon-delete" style="margin-right:15px;" @click="del(row)" /> |
| | | <i :style="{color:$store.state.settings.theme}" class="el-icon-delete" style="margin-right:15px;" @click="del(row)" /> |
| | | </el-tooltip> |
| | | <el-tooltip v-del-tab-index class="item" effect="dark" content="复制" placement="top"> |
| | | <i class="el-icon-document-copy" style="cursor: pointer;color:#42b983" @click="copy('copy',row)" /> |
| | | <i :style="{color:$store.state.settings.theme}" class="el-icon-document-copy" style="cursor: pointer;color:#42b983" @click="copy('copy',row)" /> |
| | | </el-tooltip> |
| | | </div> |
| | | </template> |
| | |
| | | }) |
| | | }, |
| | | // 复制按钮 |
| | | async copy(operation, row) { |
| | | async copy(operation, row) { |
| | | this.operation = operation |
| | | this.dialogVisible = true |
| | | |
| | |
| | | } |
| | | const Data = [] |
| | | this.dynamicTags.forEach(item => { |
| | | Data.push({ seq: item.seq, stepcode: this.routeSelectedArr.find(it => it.stepname === item.stepname).stepcode, stepname: item.stepname }) |
| | | Data.push({ |
| | | seq: item.seq, |
| | | stepcode: this.routeSelectedArr.find(it => it.stepname === item.stepname).stepcode, |
| | | stepname: item.stepname |
| | | }) |
| | | }) |
| | | |
| | | Data.forEach(item => { |
| | |
| | | margin-bottom: 0; |
| | | } |
| | | |
| | | .tableFixed{ |
| | | ::v-deep .el-table__fixed-right{ |
| | | .tableFixed { |
| | | ::v-deep .el-table__fixed-right { |
| | | height: 100% !important; |
| | | } |
| | | ::v-deep .el-table__fixed{ |
| | | |
| | | ::v-deep .el-table__fixed { |
| | | height: 100% !important; |
| | | } |
| | | } |