| | |
| | | <el-table-column property="ruleName" label="任务名称" /> |
| | | <el-table-column property="workType" label="作业类型"> |
| | | <template slot-scope="scope"> |
| | | <span> |
| | | {{ parseNumber(scope.row.workType, '作业类型') }} |
| | | </span> |
| | | <div v-for="item in workTypeList"> |
| | | <div v-if="scope.row.workType === item.id"> |
| | | <span>{{item.name}}</span> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column property="workLevel" label="作业等级"> |
| | | <template slot-scope="scope"> |
| | | <span> |
| | | {{ parseNumber(scope.row.workLevel, '作业等级') }} |
| | | </span> |
| | | <div v-for="item in workLevelList"> |
| | | <div v-if="scope.row.workLevel === item.id"> |
| | | <span>{{item.name}}</span> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="createUname" label="创建人" show-overflow-tooltip></el-table-column> |
| | |
| | | confirmButtonText: '确认', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }) |
| | | .then(async () => { |
| | | let res = await approveRuleApi().deleteApproveRule({ ids: [row.id] }); |
| | | }).then(async () => { |
| | | let res = await approveRuleApi().deleteApproveRule({ ids: [row.ruleId] }); |
| | | this.deleteList.ids = []; |
| | | if (res.data.code === '200') { |
| | | this.$message({ |