Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -1674,7 +1674,7 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else if(row.taskInfo === '企标制修订计划整改') {
|
}else if(row.taskInfo === '重新起草') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'qbzxdjhgkStep1',
|
name: 'qbzxdjhgkStep1',
|
||||||
query: {
|
query: {
|
||||||
|
|||||||
@@ -1186,10 +1186,10 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.form.submitType = this.submitType
|
||||||
this.form.commentText = this.commentText
|
this.form.commentText = this.commentText
|
||||||
this.form.approvalOpinion = this.approvalOpinion
|
this.form.approvalOpinion = this.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
json.submitType = this.submitType
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId : this.userId,
|
userId : this.userId,
|
||||||
|
|||||||
@@ -875,10 +875,11 @@
|
|||||||
:lazy=true
|
:lazy=true
|
||||||
:multiple=true
|
:multiple=true
|
||||||
:check-strictly=true
|
:check-strictly=true
|
||||||
:show-checkBox=true
|
|
||||||
:modalShowFlag="modalShowFlag4"
|
:modalShowFlag="modalShowFlag4"
|
||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
:url="url"
|
:url="url"
|
||||||
|
:type="'TRUCK'"
|
||||||
|
:show-checkBox="showCheckBox"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel" @popoverHideCancel="popoverHideModelCancel"></tree-select-module>
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel" @popoverHideCancel="popoverHideModelCancel"></tree-select-module>
|
||||||
@@ -895,6 +896,7 @@
|
|||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
:url="url"
|
:url="url"
|
||||||
:type="'CAR'"
|
:type="'CAR'"
|
||||||
|
:show-checkBox="showCheckBox"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel2" @popoverHideCancel="popoverHideModelCancel2"></tree-select-module>
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel2" @popoverHideCancel="popoverHideModelCancel2"></tree-select-module>
|
||||||
@@ -1596,6 +1598,7 @@ export default {
|
|||||||
commentText: '', // 意见
|
commentText: '', // 意见
|
||||||
title: '', // 新增编辑抽屉标题
|
title: '', // 新增编辑抽屉标题
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
|
showCheckBox: true, // 树形控件是否展示多选框
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
@@ -1988,11 +1991,19 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url = "sarModelTree/list"
|
this.url = "sarModelTree/listByType"
|
||||||
this.urlChild = "sarModelTree/childByList"
|
this.urlChild = "sarModelTree/childByList"
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
|
choiceZRR5(type, title, id) {
|
||||||
|
this.drawerTitle = title
|
||||||
|
this.modalShowFlag5 = true
|
||||||
|
this.url = ''
|
||||||
|
this.urlChild = ''
|
||||||
|
this.url = "sarModelTree/listByType"
|
||||||
|
this.urlChild = "sarModelTree/childByList"
|
||||||
|
this.key4++
|
||||||
|
},
|
||||||
choiceTree(type, title, id) {
|
choiceTree(type, title, id) {
|
||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.getListTree(this.form)
|
this.getListTree(this.form)
|
||||||
@@ -2801,10 +2812,10 @@ export default {
|
|||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.fileInfoHandle();
|
this.fileInfoHandle();
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.form.submitType = this.submitType
|
||||||
this.form.commentText = this.commentText
|
this.form.commentText = this.commentText
|
||||||
this.form.approvalOpinion = this.approvalOpinion
|
this.form.approvalOpinion = this.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
json.submitType = this.submitType
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -2829,10 +2840,10 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.fileInfoHandle();
|
this.fileInfoHandle();
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.form.submitType = this.submitType
|
||||||
this.form.commentText = this.commentText
|
this.form.commentText = this.commentText
|
||||||
this.form.approvalOpinion = this.approvalOpinion
|
this.form.approvalOpinion = this.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
json.submitType = this.submitType
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
|
|||||||
@@ -786,7 +786,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.workData = res.data.records;
|
this.workData = res.data.records;
|
||||||
this.total = res.data.total;
|
this.totalNo = res.data.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -275,6 +275,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
submitFlag: '',
|
||||||
toggleType: '5',
|
toggleType: '5',
|
||||||
comFlag: 1,
|
comFlag: 1,
|
||||||
active: "1",
|
active: "1",
|
||||||
@@ -338,7 +339,8 @@ export default {
|
|||||||
if(this.taskId){
|
if(this.taskId){
|
||||||
this.approvalFlag = true
|
this.approvalFlag = true
|
||||||
this.processTable()
|
this.processTable()
|
||||||
this.getData();
|
//被驳回时调用
|
||||||
|
this.getHistoryData()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -355,16 +357,6 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getDatas(){
|
|
||||||
queryTaskFirst({
|
|
||||||
bpnId: this.$route.query.bpnId
|
|
||||||
}).then(res => {
|
|
||||||
let mes = JSON.parse(res.mes)
|
|
||||||
this.roleForm = mes.roleForm
|
|
||||||
this.qbfsForm = mes.qbfsForm
|
|
||||||
this.commentText = mes.commentText
|
|
||||||
});
|
|
||||||
},
|
|
||||||
getData() {
|
getData() {
|
||||||
this.formLoading = true
|
this.formLoading = true
|
||||||
this.showFlag = false
|
this.showFlag = false
|
||||||
@@ -375,11 +367,29 @@ export default {
|
|||||||
this.getFormFieldList(mes);
|
this.getFormFieldList(mes);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.submitFlag = '重新起草'
|
||||||
|
this.showFlag = false
|
||||||
|
this.formLoading = true
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
}).then(res => {
|
||||||
|
if (res) {
|
||||||
|
const processForm = JSON.parse(res.mesg)
|
||||||
|
this.getFormFieldList(processForm)
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* @description: 动态表单读取
|
* @description: 动态表单读取
|
||||||
*/
|
*/
|
||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
let type = item.qbfsForm.type
|
console.log(item);
|
||||||
|
let type = item.type || item.qbfsForm.type
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
switch (type){
|
switch (type){
|
||||||
case '1':
|
case '1':
|
||||||
@@ -398,18 +408,18 @@ export default {
|
|||||||
this.comName = "establish"
|
this.comName = "establish"
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
this.qbfsForm = item.qbfsForm;
|
this.qbfsForm = item.qbfsForm || item;
|
||||||
this.formLoading = false;
|
this.formLoading = false;
|
||||||
this.roleForm.dockUser = item.roleForm.dockUser;
|
this.roleForm.dockUser = item.dockUser || item.roleForm.dockUser;
|
||||||
this.roleForm.dockUserName = item.roleForm.dockUserName;
|
this.roleForm.dockUserName = item.dockUserName || item.roleForm.dockUserName;
|
||||||
this.roleForm.countersigner = item.roleForm.countersigner;
|
this.roleForm.countersigner = item.countersigner || item.roleForm.countersigner;
|
||||||
this.roleForm.countersignerName = item.roleForm.countersignerName;
|
this.roleForm.countersignerName = item.countersignerName || item.roleForm.countersignerName;
|
||||||
this.roleForm.approver = item.roleForm.approver;
|
this.roleForm.approver = item.approver ||item.roleForm.approver;
|
||||||
this.roleForm.approverName = item.roleForm.approverName;
|
this.roleForm.approverName = item.approverName || item.roleForm.approverName;
|
||||||
this.roleForm.engineer = item.roleForm.engineer;
|
this.roleForm.engineer = item.engineer || item.roleForm.engineer;
|
||||||
this.roleForm.engineerName = item.roleForm.engineerName;
|
this.roleForm.engineerName = item.engineerName || item.roleForm.engineerName;
|
||||||
this.roleForm.examine = item.roleForm.examine;
|
this.roleForm.examine = item.examine || item.roleForm.examine;
|
||||||
this.roleForm.examineName = item.roleForm.examineName;
|
this.roleForm.examineName = item.examineName || item.roleForm.examineName;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
|
|||||||
@@ -531,6 +531,7 @@ export default {
|
|||||||
this.$http.postData('importWkExcel/importData', _formData,{
|
this.$http.postData('importWkExcel/importData', _formData,{
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
console.log(res);
|
||||||
if(res.ok){
|
if(res.ok){
|
||||||
if(res.data.length){
|
if(res.data.length){
|
||||||
this.qblx_pageData.qblxData = res.data
|
this.qblx_pageData.qblxData = res.data
|
||||||
@@ -539,7 +540,7 @@ export default {
|
|||||||
this.$message.warning('请勿上传为空的文件')
|
this.$message.warning('请勿上传为空的文件')
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
this.$confirm(res.message, "提示", {
|
this.$confirm(res.data, "提示", {
|
||||||
confirmButtonText: "确认",
|
confirmButtonText: "确认",
|
||||||
confirmButtonClass: "common-button-primary",
|
confirmButtonClass: "common-button-primary",
|
||||||
cancelButtonText: "取消",
|
cancelButtonText: "取消",
|
||||||
|
|||||||
@@ -38,11 +38,11 @@
|
|||||||
<!-- @click="handlingTasks"-->
|
<!-- @click="handlingTasks"-->
|
||||||
<!-->办理任务</el-button>-->
|
<!-->办理任务</el-button>-->
|
||||||
<!--临时屏蔽 end-->
|
<!--临时屏蔽 end-->
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
class="common-button-default"
|
<!-- class="common-button-default"-->
|
||||||
round
|
<!-- round-->
|
||||||
@click="urgeRow"
|
<!-- @click="urgeRow"-->
|
||||||
>催办</el-button>
|
<!-- >催办</el-button>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
<el-table
|
<el-table
|
||||||
|
|||||||
@@ -2184,7 +2184,7 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else if(row.taskInfo === '企标制修订计划整改') {
|
}else if(row.taskInfo === '重新起草') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'qbzxdjhgkStep1',
|
name: 'qbzxdjhgkStep1',
|
||||||
query:{
|
query:{
|
||||||
|
|||||||
Reference in New Issue
Block a user