|
|
@@ -9,7 +9,7 @@
|
|
|
|
|
|
<template v-slot:action="{ row }">
|
|
|
<el-link type="primary" :underline="false" @click="handleDetails(row)">
|
|
|
- 详情
|
|
|
+ 流程
|
|
|
</el-link>
|
|
|
</template>
|
|
|
|
|
|
@@ -17,19 +17,19 @@
|
|
|
|
|
|
</ele-pro-table>
|
|
|
</el-card>
|
|
|
- <detail ref="detailRef"></detail>
|
|
|
+ <flow ref="flowRef"></flow>
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import { getList } from '@/api/outsourcing/index.js';
|
|
|
-import detail from './components/detail.vue'
|
|
|
+import flow from './components/flow.vue'
|
|
|
import search from './components/search.vue';
|
|
|
export default {
|
|
|
components: {
|
|
|
search,
|
|
|
- detail
|
|
|
+ flow
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -52,21 +52,16 @@ export default {
|
|
|
showOverflowTooltip: true,
|
|
|
fixed: 'left'
|
|
|
},
|
|
|
- {
|
|
|
- prop: 'id',
|
|
|
- label: '委外单id',
|
|
|
- align: 'center',
|
|
|
- minWidth: 110
|
|
|
- },
|
|
|
+
|
|
|
|
|
|
{
|
|
|
prop: 'code',
|
|
|
- label: '委外编码',
|
|
|
+ label: '委外单编码',
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
|
prop: 'name',
|
|
|
- label: '委外名称',
|
|
|
+ label: '委外单名称',
|
|
|
align: 'center'
|
|
|
},
|
|
|
|
|
|
@@ -100,7 +95,7 @@ export default {
|
|
|
align: 'center'
|
|
|
},
|
|
|
|
|
|
-
|
|
|
+
|
|
|
{
|
|
|
prop: 'warehouseName',
|
|
|
label: '入库仓库',
|
|
|
@@ -132,7 +127,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
{
|
|
|
columnKey: 'action',
|
|
|
label: '操作',
|
|
|
@@ -149,11 +144,16 @@ export default {
|
|
|
|
|
|
|
|
|
];
|
|
|
- }
|
|
|
+ },
|
|
|
+
|
|
|
+ clientEnvironmentId() {
|
|
|
+ return this.$store.state.user.info.clientEnvironmentId;
|
|
|
+ },
|
|
|
},
|
|
|
created() {
|
|
|
|
|
|
},
|
|
|
+
|
|
|
methods: {
|
|
|
statusFormatter(status) {
|
|
|
const obj = this.statusOpt.find((i) => i.value == status);
|
|
|
@@ -171,7 +171,7 @@ export default {
|
|
|
|
|
|
|
|
|
handleDetails(row) {
|
|
|
- this.$refs.detailRef.open(row.processInstanceId);
|
|
|
+ this.$refs.flowRef.open(row.processInstanceId);
|
|
|
|
|
|
},
|
|
|
|