| | |
| | | <div slot="no-more" style="margin-top: 10px;margin-bottom: 10px;"><span v-if="dataListAll.length > pageSize">没有更多了</span></div> |
| | | </infinite-loading> |
| | | </el-table> |
| | | <!-- 已办任务弹窗 --> |
| | | <ItemCirculatOrder ref="itemCirculatOrder" @refreshDataList="getQuery()"></ItemCirculatOrder> |
| | | <ConfigItemWarehouse ref="configItemWarehouse" @refreshDataList="getQuery()"></ConfigItemWarehouse> |
| | | <ConfigItemChange ref="configItemChange" @refreshDataList="getQuery()"></ConfigItemChange> |
| | | <ConfigItemOutbound ref="configItemOutbound" @refreshDataList="getQuery()"></ConfigItemOutbound> |
| | | <TestCheckOrder ref="testCheckOrder" @refreshDataList="getQuery()"></TestCheckOrder> |
| | | <BaselineRelease ref="baselineRelease" @refreshDataList="getQuery()"></BaselineRelease> |
| | | <QaAuditReport ref="qaAuditReport" @refreshDataList="getQuery()"></QaAuditReport> |
| | | <!-- </zt-table-wraper>--> |
| | | <!-- 已办任务弹窗 --><!-- </zt-table-wraper>--> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import cloneDeep from 'lodash/cloneDeep' |
| | | import InfiniteLoading from 'vue-infinite-loading' |
| | | import ItemCirculatOrder from '@/views/modules/itemCirculatOrder/ItemCirculatOrder-AddOrUpdate' |
| | | import Cookies from "js-cookie"; |
| | | import ConfigItemWarehouse from '@/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate' |
| | | import TestCheckOrder from "@/views/modules/testCheckOrder/TestCheckOrder-AddOrUpdate.vue"; |
| | | import ConfigItemChange from "@/views/modules/configItemChange/ConfigItemChange-AddOrUpdate.vue"; |
| | | import ConfigItemOutbound from "@/views/modules/configItemOutbound/ConfigItemOutbound-AddOrUpdate.vue"; |
| | | import BaselineRelease from "@/views/modules/baselineRelease/BaselineRelease-AddOrUpdate.vue"; |
| | | import QaAuditReport from '@/views/modules/qaAuditReport/QaAuditReport-AddOrUpdate' |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | } |
| | | }, |
| | | components: { |
| | | TestCheckOrder, |
| | | InfiniteLoading, |
| | | ItemCirculatOrder, |
| | | ConfigItemWarehouse, |
| | | ConfigItemChange, |
| | | ConfigItemOutbound, |
| | | BaselineRelease, |
| | | QaAuditReport |
| | | }, |
| | | watch:{ |
| | | }, |
| | |
| | | }, |
| | | check(row) { |
| | | console.log(row, "task row"); |
| | | if (row.flowCode === 'wplz') { |
| | | this.$nextTick(()=>{ |
| | | this.$refs.itemCirculatOrder.$refs.dialog.init(row.bizId,row, true) |
| | | }) |
| | | } else if (row.flowCode === 'pzxrk') { |
| | | this.$nextTick(()=>{ |
| | | this.$refs.configItemWarehouse.$refs.dialog.init(row.bizId,row, true) |
| | | }) |
| | | } else if (row.flowCode === 'csjcd') { |
| | | this.$nextTick(()=>{ |
| | | this.$refs.testCheckOrder.$refs.dialog.init(row.bizId,row, true) |
| | | }) |
| | | }else if (row.flowCode === 'pzxck') { |
| | | this.$nextTick(()=>{ |
| | | this.$refs.configItemOutbound.$refs.dialog.init(row.bizId,row, true) |
| | | }) |
| | | }else if (row.flowCode === 'pzxbg') { |
| | | this.$nextTick(()=>{ |
| | | this.$refs.configItemChange.$refs.dialog.init(row.bizId,row, true) |
| | | }) |
| | | }else if (row.flowCode === 'jxfb') { |
| | | this.$nextTick(()=>{ |
| | | this.$refs.baselineRelease.$refs.dialog.init(row.bizId,row, true) |
| | | }) |
| | | }else if (row.flowCode === 'qashbg') { |
| | | this.$nextTick(()=>{ |
| | | this.$refs.qaAuditReport.$refs.dialog.init(row.bizId,row, true) |
| | | }) |
| | | } |
| | | else { |
| | | if (row.stepReadRouterId === null){ |
| | | this.$tip.alert("没有配置菜单id") |
| | | return; |
| | | } |
| | | let route = window.SITE_CONFIG['dynamicMenuRoutes'].filter(item => item.meta.menuId === row.stepReadRouterId)[0] |
| | | if (route === undefined){ |
| | | this.$tip.alert("没有配置菜单权限") |