标准拆分编辑按钮,状态显示
This commit is contained in:
@@ -82,8 +82,11 @@
|
|||||||
label="拆分状态"
|
label="拆分状态"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.splitStatus == '0' ? '编辑中' : (scope.row.splitStatus == '1' ? '审核中' : '已完成' +
|
<span v-if="scope.row.splitStatus == '0'">编辑中</span>
|
||||||
'') }}</div>
|
<span v-else-if="scope.row.splitStatus == '1'">审核中</span>
|
||||||
|
<span v-else-if="scope.row.splitStatus == '2'">已关联</span>
|
||||||
|
<span v-else-if="scope.row.splitStatus == '3'">解读中</span>
|
||||||
|
<span v-else>已完成</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -831,7 +834,7 @@ export default {
|
|||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
pageType: 'INLAND_STAND'
|
pageType: item.standType + '_STAND'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
@@ -842,7 +845,7 @@ export default {
|
|||||||
name: 'OtherStandardDetails',
|
name: 'OtherStandardDetails',
|
||||||
params: {
|
params: {
|
||||||
id: item.standId,
|
id: item.standId,
|
||||||
pageType: item.sarType + '_STAND'
|
pageType: item.sarType + '_STAND',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
@@ -1378,6 +1381,7 @@ export default {
|
|||||||
query: {
|
query: {
|
||||||
infoId: row.id,
|
infoId: row.id,
|
||||||
result: row.result,
|
result: row.result,
|
||||||
|
splitStatus: row.splitStatus
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -97,7 +97,8 @@
|
|||||||
<i class="iconfont"></i>
|
<i class="iconfont"></i>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item :command="[scope.row, '属性']" v-btn-permission="''">属性</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '属性']" v-btn-permission="''">属性</el-dropdown-item>
|
||||||
<el-dropdown-item :command="[scope.row, '编辑', scope.$index]" v-btn-permission="''">编辑</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '编辑', scope.$index]" v-if="splitStatus === '4'" v-btn-permission="''">编辑</el-dropdown-item>
|
||||||
|
<el-dropdown-item :command="[scope.row, '编辑', scope.$index]" v-else :disabled="true" v-btn-permission="''">编辑</el-dropdown-item>
|
||||||
<el-dropdown-item :command="[scope.row, '复制']" v-btn-permission="''">复制</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '复制']" v-btn-permission="''">复制</el-dropdown-item>
|
||||||
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="''">删除</el-dropdown-item>
|
<el-dropdown-item :command="[scope.row, '删除']" v-btn-permission="''">删除</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
@@ -685,6 +686,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
splitStatus: this.$route.query.splitStatus,
|
||||||
auditFlag: this.$route.query.auditFlag,
|
auditFlag: this.$route.query.auditFlag,
|
||||||
splitCheckDialog: false,
|
splitCheckDialog: false,
|
||||||
submitLoading: false,
|
submitLoading: false,
|
||||||
@@ -1306,7 +1308,6 @@ export default {
|
|||||||
if (cur[i].pId == null || cur[i].pId === '') {
|
if (cur[i].pId == null || cur[i].pId === '') {
|
||||||
this.parentNode = cur[i]
|
this.parentNode = cur[i]
|
||||||
}
|
}
|
||||||
console.log(str);
|
|
||||||
this.zNodes = str
|
this.zNodes = str
|
||||||
}
|
}
|
||||||
// 查完左侧目录后,如果没有选中的,设置最外层选中
|
// 查完左侧目录后,如果没有选中的,设置最外层选中
|
||||||
|
|||||||
@@ -388,6 +388,7 @@
|
|||||||
sarType: '',
|
sarType: '',
|
||||||
loading: false,
|
loading: false,
|
||||||
standId: '',
|
standId: '',
|
||||||
|
statusId: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
title: '', // 新增抽屉标题
|
title: '', // 新增抽屉标题
|
||||||
@@ -401,6 +402,7 @@
|
|||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
standId: '',
|
standId: '',
|
||||||
|
statusId: '',
|
||||||
itemsNum1: '',
|
itemsNum1: '',
|
||||||
itemsName1: '',
|
itemsName1: '',
|
||||||
oldNumber: ''
|
oldNumber: ''
|
||||||
@@ -622,6 +624,8 @@
|
|||||||
this.form.standId = bringData[0].standId
|
this.form.standId = bringData[0].standId
|
||||||
this.sarType = bringData[0].standType
|
this.sarType = bringData[0].standType
|
||||||
this.standId = bringData[0].standId
|
this.standId = bringData[0].standId
|
||||||
|
this.statusId = bringData[0].id
|
||||||
|
this.form.statusId = bringData[0].id
|
||||||
this.listModel = false;
|
this.listModel = false;
|
||||||
this.listModel2 = true
|
this.listModel2 = true
|
||||||
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
||||||
|
|||||||
@@ -388,6 +388,7 @@
|
|||||||
sarType: '',
|
sarType: '',
|
||||||
loading: false,
|
loading: false,
|
||||||
standId: '',
|
standId: '',
|
||||||
|
statusId: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
textarea: '', // 意见
|
textarea: '', // 意见
|
||||||
title: '', // 新增抽屉标题
|
title: '', // 新增抽屉标题
|
||||||
@@ -401,6 +402,7 @@
|
|||||||
itemsNum: '',
|
itemsNum: '',
|
||||||
itemsName: '',
|
itemsName: '',
|
||||||
standId: '',
|
standId: '',
|
||||||
|
statusId: '',
|
||||||
itemsNum1: '',
|
itemsNum1: '',
|
||||||
itemsName1: '',
|
itemsName1: '',
|
||||||
oldNumber: ''
|
oldNumber: ''
|
||||||
@@ -627,6 +629,8 @@
|
|||||||
this.form.standId = bringData[0].standId
|
this.form.standId = bringData[0].standId
|
||||||
this.sarType = bringData[0].standType
|
this.sarType = bringData[0].standType
|
||||||
this.standId = bringData[0].standId
|
this.standId = bringData[0].standId
|
||||||
|
this.statusId = bringData[0].id
|
||||||
|
this.form.statusId = bringData[0].id
|
||||||
this.listModel = false;
|
this.listModel = false;
|
||||||
this.listModel2 = true
|
this.listModel2 = true
|
||||||
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
this.$http.get('lawss/sarFileSplitItems/getSplitItemsByPage', {
|
||||||
|
|||||||
Reference in New Issue
Block a user