| | |
| | | <el-table-column property="itemName" label="审批项名称" show-overflow-tooltip> </el-table-column> |
| | | <el-table-column property="type" label="审批项类型" show-overflow-tooltip> |
| | | <template slot-scope="scope"> |
| | | <div v-for="item in typeList"> |
| | | <div v-for="item in approveTypeList"> |
| | | <div v-if="scope.row.type === item.id"> |
| | | <span>{{item.name}}</span> |
| | | </div> |
| | |
| | | { id: 1, name: '单人' }, |
| | | { id: 2, name: '多人' }, |
| | | { id: 3, name: '分析人' } |
| | | ], |
| | | approveTypeList: [ |
| | | { id: 1, name: '数值' }, |
| | | { id: 2, name: '选项' }, |
| | | { id: 3, name: '填空' } |
| | | ], |
| | | workLevelList: [], |
| | | actionList: [], |
| | |
| | | } else { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: res.data.msg |
| | | message: res.data.message |
| | | }); |
| | | } |
| | | }, |
| | |
| | | } else { |
| | | this.$message({ |
| | | type: 'warning', |
| | | message: res.data.msg |
| | | message: res.data.message |
| | | }); |
| | | } |
| | | }, |