Merge branch 'develop' into FOTON

This commit is contained in:
396572590@qq.com
2022-08-01 11:07:35 +08:00
3 changed files with 15 additions and 16 deletions
@@ -1509,19 +1509,19 @@ export default {
if (res.data) { if (res.data) {
this.batchDeleteItem() this.batchDeleteItem()
} else if(this.selectedList === null){ } else if(this.selectedList === null){
this.$message.warning('请选择要删除的数据') this.$message.warning('请确认选择条款是否有子节点,若有,则此次删除将全部删除。')
} else { } else {
this.deleteItemsModal = true this.deleteItemsModal = true
} }
}, e => { }, e => {
}) })
} else { } else {
this.$message.warning('请选择要删除的数据') this.$message.warning('请确认选择条款是否有子节点,若有,则此次删除将全部删除。')
} }
}, },
batchDeleteItem () { batchDeleteItem () {
if (this.selectedList != null && this.selectedList.length > 0) { if (this.selectedList != null && this.selectedList.length > 0) {
this.$confirm('确认删除选择数据?', '提示', { this.$confirm('确认选择条款是否有子节点,若有,则此次删除将全部删除。', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
@@ -1556,7 +1556,7 @@ export default {
}) })
}).catch(() => {}) }).catch(() => {})
} else { } else {
this.$message.warning('请选择要删除的数据') this.$message.warning('请确认选择条款是否有子节点,若有,则此次删除将全部删除。')
} }
}, },
// 批量复制 事件 // 批量复制 事件
@@ -277,14 +277,12 @@
<ProcessFooter <ProcessFooter
:show-save="submitShow" :show-save="submitShow"
:show-submit="submitShow" :show-submit="submitShow"
:show-confirm="acceptShow"
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
:show-transfer="submitShow" :show-transfer="submitShow"
@transfer="handleTransfer" @transfer="handleTransfer"
@save="handleSave" @save="handleSave"
@submit="handleSubmit" @submit="handleSubmit"
@accept="handleAccept"
> >
</ProcessFooter> </ProcessFooter>
<Role-tree <Role-tree
@@ -551,7 +549,7 @@
active: '1', // 默认显示 active: '1', // 默认显示
isSubmit: false, isSubmit: false,
saveLoading: false, saveLoading: false,
submitShow: false, submitShow: true,
acceptShow: false, acceptShow: false,
todoId: '', todoId: '',
form: { form: {
@@ -898,14 +896,15 @@
}).then(res => { }).then(res => {
let data = JSON.parse(res.mesg) let data = JSON.parse(res.mesg)
this.form.endTime = data.endTime || data.form.endTime this.form.endTime = data.endTime || data.form.endTime
let commitStatus = res.commitStatus // let commitStatus = res.commitStatus
if(commitStatus && commitStatus > 0){ // if(commitStatus && commitStatus > 0){
this.acceptShow = true // this.acceptShow = true
this.submitShow = false // this.submitShow = false
}else { // }else {
this.acceptShow = false // this.acceptShow = false
// this.submitShow = true
// }
this.submitShow = true this.submitShow = true
}
this.AOLIGEI = data.AOLIGEI this.AOLIGEI = data.AOLIGEI
this.commentText3 = data.commentText3 || '' this.commentText3 = data.commentText3 || ''
this.todoId = res.id this.todoId = res.id