|
@@ -8,7 +8,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-slot:isRelease="{ row }">
|
|
<template v-slot:isRelease="{ row }">
|
|
|
- <el-tag>{{ row.isRelease == 1 ? '已发布' : '未发布' }}</el-tag>
|
|
|
|
|
|
|
+ <el-tag>{{ row.isRelease == 1 ? '已发布' : '未发布' }}</el-tag>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template v-slot:action="{ row }">
|
|
<template v-slot:action="{ row }">
|
|
@@ -26,13 +26,9 @@
|
|
|
发布
|
|
发布
|
|
|
</el-link>
|
|
</el-link>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
|
|
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
@@ -40,8 +36,9 @@
|
|
|
<flow ref="flowRef"></flow>
|
|
<flow ref="flowRef"></flow>
|
|
|
|
|
|
|
|
<release ref="releaseRef"></release>
|
|
<release ref="releaseRef"></release>
|
|
|
-
|
|
|
|
|
- <details></details>
|
|
|
|
|
|
|
+ <detail ref="detailsRef"></detail>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -49,24 +46,18 @@
|
|
|
import { getList } from '@/api/outsourcing/index.js';
|
|
import { getList } from '@/api/outsourcing/index.js';
|
|
|
import flow from './components/flow.vue'
|
|
import flow from './components/flow.vue'
|
|
|
import search from './components/search.vue';
|
|
import search from './components/search.vue';
|
|
|
-
|
|
|
|
|
import release from './components/release.vue'
|
|
import release from './components/release.vue'
|
|
|
-
|
|
|
|
|
-import details from './components/details.vue'
|
|
|
|
|
|
|
+import Detail from './components/details.vue';
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
search,
|
|
search,
|
|
|
flow,
|
|
flow,
|
|
|
release,
|
|
release,
|
|
|
- details
|
|
|
|
|
|
|
+ Detail
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
-
|
|
|
|
|
loading: false,
|
|
loading: false,
|
|
|
- detailsShow: false
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -109,7 +100,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
prop: '',
|
|
prop: '',
|
|
|
label: '工序',
|
|
label: '工序',
|
|
@@ -129,7 +120,7 @@ export default {
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
{
|
|
{
|
|
|
prop: 'remark',
|
|
prop: 'remark',
|
|
@@ -210,11 +201,11 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
handleDetails() {
|
|
handleDetails() {
|
|
|
- this.detailsShow = true
|
|
|
|
|
|
|
+ this.$refs.detailsRef.open()
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
- handleRelease(row) {
|
|
|
|
|
|
|
+ handleRelease() {
|
|
|
this.$refs.releaseRef.open()
|
|
this.$refs.releaseRef.open()
|
|
|
},
|
|
},
|
|
|
|
|
|