Merge remote-tracking branch 'origin/dev_test' into dev_test

This commit is contained in:
zyn
2023-11-20 17:39:44 +08:00
73 changed files with 398 additions and 71 deletions
@@ -60,6 +60,9 @@
width="55" width="55"
label="序号" label="序号"
align="center"> align="center">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (pageNo - 1) * pageSize }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="name" prop="name"
@@ -60,6 +60,9 @@
width="55" width="55"
label="序号" label="序号"
align="center"> align="center">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (pageNo - 1) * pageSize }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="type" prop="type"
@@ -21,6 +21,9 @@
type="index" type="index"
align="center" align="center"
width="55"> width="55">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (page - 1) * pageSize }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
width="200" width="200"
@@ -21,6 +21,9 @@
type="index" type="index"
align="center" align="center"
width="55"> width="55">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (page - 1) * pageSize }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
width="200" width="200"
@@ -21,6 +21,9 @@
type="index" type="index"
align="center" align="center"
width="55"> width="55">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (page - 1) * pageSize }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
width="200" width="200"
@@ -21,6 +21,9 @@
width="55" width="55"
label="序号" label="序号"
align="center"> align="center">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (page - 1) * pageSize }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="dataType" prop="dataType"
@@ -79,7 +79,11 @@
label="序号" label="序号"
width="60" width="60"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (page - 1) * pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="企标编号" label="企标编号"
align="center" align="center"
@@ -241,7 +245,11 @@
label="序号" label="序号"
width="60" width="60"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (page - 1) * pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
prop="planStatus" prop="planStatus"
label="计划状态" label="计划状态"
@@ -380,7 +388,11 @@
label="序号" label="序号"
width="90" width="90"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (page - 1) * pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
prop="accessContent" prop="accessContent"
label="清单名称" label="清单名称"
@@ -428,7 +440,11 @@
label="序号" label="序号"
width="60" width="60"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (page - 1) * pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
prop="lawsNumber" prop="lawsNumber"
align="center" align="center"
@@ -494,7 +510,11 @@
label="序号" label="序号"
width="60" width="60"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (page - 1) * pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
show-overflow-tooltip show-overflow-tooltip
prop="planStatus" prop="planStatus"
@@ -553,6 +553,7 @@
}, },
handleSave() { handleSave() {
this.saveLoading = true this.saveLoading = true
this.isSubmit = true
let _formData = new FormData() let _formData = new FormData()
_formData.append('id', this.bpnId || '') _formData.append('id', this.bpnId || '')
_formData.append('createUser', this.$store.getters.userInfo.userId) _formData.append('createUser', this.$store.getters.userInfo.userId)
@@ -567,8 +568,9 @@
this.saveLoading = false this.saveLoading = false
this.$message.success('保存成功') this.$message.success('保存成功')
this.bpnId = res.result this.bpnId = res.result
}).catch(e => { }).finally(() => {
this.saveLoading = false this.saveLoading = false
this.isSubmit = false
}) })
}, },
handleSubmit() { handleSubmit() {
@@ -576,6 +578,7 @@
if (valid) { if (valid) {
this.$refs['Form'].validate((valid) => { this.$refs['Form'].validate((valid) => {
if (valid) { if (valid) {
this.saveLoading = true
this.isSubmit = true this.isSubmit = true
this.$http.post('lawss/activiti/startProcessRollBack', { this.$http.post('lawss/activiti/startProcessRollBack', {
createUser: this.$store.getters.userInfo.userId, createUser: this.$store.getters.userInfo.userId,
@@ -607,9 +610,11 @@
} }
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.saveLoading = false
this.isSubmit = false this.isSubmit = false
}) })
} else { } else {
this.saveLoading = false
this.isSubmit = false this.isSubmit = false
this.$message.warning('流程启动失败') this.$message.warning('流程启动失败')
} }
@@ -365,6 +365,8 @@
this.saveLoading = false this.saveLoading = false
}) })
} else { } else {
this.isSubmit = false
this.saveLoading = false
return this.$message.warning('请完善基础信息') return this.$message.warning('请完善基础信息')
} }
}) })
@@ -307,6 +307,8 @@
this.drawerModal = true this.drawerModal = true
}, },
checkedRole (data) { checkedRole (data) {
this.isSubmit = true
this.saveLoading = true
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
userId:this.$store.getters.userInfo.userId, // 委托人 userId:this.$store.getters.userInfo.userId, // 委托人
@@ -321,6 +323,9 @@
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
}).finally(() => {
this.isSubmit = false
this.saveLoading = false
}) })
}, },
// 请求转换流程图 // 请求转换流程图
@@ -395,6 +400,7 @@
}, },
handleSave() { handleSave() {
this.saveLoading = true this.saveLoading = true
this.isSubmit = true
let json = this.form let json = this.form
json.responUserList = this.tableData json.responUserList = this.tableData
this.form.docUser = this.newDocUser this.form.docUser = this.newDocUser
@@ -407,14 +413,16 @@
saveTaskForPub(_formData).then(res => { saveTaskForPub(_formData).then(res => {
this.saveLoading = false this.saveLoading = false
this.$message.success('保存成功') this.$message.success('保存成功')
}).catch(e => { }).finally(() => {
this.saveLoading = false this.saveLoading = false
this.isSubmit = false
}) })
}, },
handleSubmit() { handleSubmit() {
this.$refs['qbkwForm'].validate((valid) => { this.$refs['qbkwForm'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.saveLoading = true
let json = this.jsonData let json = this.jsonData
json.commentText = this.commentText5 json.commentText = this.commentText5
json.hzfileId = this.form.hzfileId json.hzfileId = this.form.hzfileId
@@ -431,6 +439,7 @@
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false this.isSubmit = false
this.saveLoading = false
}) })
} }
}) })
@@ -785,6 +785,7 @@ export default {
} else { } else {
this.$message.warning('请完成流程信息的人员选择') this.$message.warning('请完成流程信息的人员选择')
this.isSubmit = false this.isSubmit = false
this.saveLoading = false
} }
}) })
} }
@@ -461,6 +461,9 @@
label="序号" label="序号"
width="70" width="70"
align="center"> align="center">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (pageNo - 1) * pageSizeNo }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
@@ -1032,11 +1035,13 @@ export default {
}); });
} else { } else {
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false
return this.$message.warning("请完善人员信息"); return this.$message.warning("请完善人员信息");
} }
}); });
} else { } else {
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false
return this.$message.warning("请完善基础信息"); return this.$message.warning("请完善基础信息");
} }
}); });
@@ -1089,11 +1094,13 @@ export default {
}); });
} else { } else {
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false
return this.$message.warning("请完善人员信息"); return this.$message.warning("请完善人员信息");
} }
}); });
} else { } else {
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false
return this.$message.warning("请完善基础信息"); return this.$message.warning("请完善基础信息");
} }
}); });
@@ -327,6 +327,9 @@
width="55" width="55"
label="序号" label="序号"
align="center"> align="center">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (pageNo - 1) * pageSizeNo }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
align="center" align="center"
@@ -635,7 +635,7 @@ export default {
this.listForm.commentText = this.commentText; this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm); const json = JSON.stringify(this.listForm);
this.isSubmit = true this.isSubmit = true
this.saveLoading = false this.saveLoading = true
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds, taskIds: this.taskIds,
userId: this.userId, userId: this.userId,
@@ -1117,6 +1117,7 @@ export default {
//保存事件 //保存事件
handleSave() { handleSave() {
this.saveLoading = true; this.saveLoading = true;
this.isSubmit = true
this.listForm.fileName = this.fileInfoList; this.listForm.fileName = this.fileInfoList;
let _formData = new FormData(); let _formData = new FormData();
_formData.append("id", this.bpnId || ""); _formData.append("id", this.bpnId || "");
@@ -1133,8 +1134,9 @@ export default {
this.saveLoading = false; this.saveLoading = false;
this.$message.success("保存成功"); this.$message.success("保存成功");
this.bpnId = res.result; this.bpnId = res.result;
}).catch(e => { }).finally(() => {
this.saveLoading = false; this.saveLoading = false;
this.isSubmit = false
}); });
}, },
//提交事件 //提交事件
@@ -665,6 +665,7 @@ export default {
//保存事件 //保存事件
handleSave() { handleSave() {
this.saveLoading = true; this.saveLoading = true;
this.isSubmit = true;
let _formData = new FormData(); let _formData = new FormData();
_formData.append("id", this.bpnId || ""); _formData.append("id", this.bpnId || "");
_formData.append("createUser", this.$store.getters.userInfo.userId); _formData.append("createUser", this.$store.getters.userInfo.userId);
@@ -683,12 +684,15 @@ export default {
this.saveLoading = false; this.saveLoading = false;
this.$message.success("保存成功"); this.$message.success("保存成功");
this.bpnId = res.result; this.bpnId = res.result;
}).catch(e => { }).finally(() => {
this.saveLoading = false; this.saveLoading = false;
this.isSubmit = false;
}); });
}, },
//提交事件 //提交事件
handleSubmit() { handleSubmit() {
this.isSubmit = true
this.saveLoading = true
this.listForm.commentText = this.commentText this.listForm.commentText = this.commentText
const json = JSON.stringify(this.listForm); const json = JSON.stringify(this.listForm);
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
@@ -702,6 +706,8 @@ export default {
this.$message.success(res.message) this.$message.success(res.message)
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false
this.saveLoading = false
}); });
}, },
//标准表格选择框改变 //标准表格选择框改变
@@ -1051,6 +1051,7 @@ export default {
}, },
//保存事件 //保存事件
handleSave() { handleSave() {
this.isSubmit = true
this.saveLoading = true; this.saveLoading = true;
this.listForm.dataList = this.dataList this.listForm.dataList = this.dataList
this.listForm.fileName = this.fileInfoList this.listForm.fileName = this.fileInfoList
@@ -1071,6 +1072,7 @@ export default {
this.bpnId = res.result; this.bpnId = res.result;
}).catch(e => { }).catch(e => {
this.saveLoading = false; this.saveLoading = false;
this.isSubmit = false
}); });
}, },
//提交事件 //提交事件
@@ -1088,6 +1090,7 @@ export default {
this.$refs["Form"].validate((valid) => { this.$refs["Form"].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.saveLoading = true
this.$http.post("lawss/activiti/startProcessRollBack", { this.$http.post("lawss/activiti/startProcessRollBack", {
createUser: this.$store.getters.userInfo.userId, createUser: this.$store.getters.userInfo.userId,
createUserName: this.$store.getters.userInfo.userName, createUserName: this.$store.getters.userInfo.userName,
@@ -1122,6 +1125,7 @@ export default {
this.$router.push("/processCenter"); this.$router.push("/processCenter");
} }
this.isSubmit = false this.isSubmit = false
this.saveLoading = false
}); });
} }
}); });
@@ -1438,7 +1438,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="标准号" label="标准号"
align="center" align="center"
@@ -2700,7 +2704,7 @@
}, },
handleStandardPageChange(page) { handleStandardPageChange(page) {
this.standardSearchForm.page = page this.standardSearchForm.page = page
this.handleSearchStandard() this.handleSearchStandard(true)
}, },
handleStandardPageSizeChange(pageSize) { handleStandardPageSizeChange(pageSize) {
this.standardSearchForm.pageSize = pageSize this.standardSearchForm.pageSize = pageSize
@@ -2747,11 +2751,14 @@
this.loadSarStandard = false this.loadSarStandard = false
}) })
}, },
handleSearchStandard() { handleSearchStandard(notModifyPage) {
if (this.form.standType === '') { if (this.form.standType === '') {
this.$message.warning('请选择标准来源') this.$message.warning('请选择标准来源')
} else { } else {
this.standardSearchForm.page = 1 // 分页器跳转不需要回到第一页
if (!notModifyPage) {
this.standardSearchForm.page = 1
}
this.standardDrawer = true this.standardDrawer = true
this.$nextTick(() => { this.$nextTick(() => {
// 动态设置表格高度 // 动态设置表格高度
@@ -1438,7 +1438,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="标准号" label="标准号"
align="center" align="center"
@@ -2709,7 +2713,7 @@
}, },
handleStandardPageChange(page) { handleStandardPageChange(page) {
this.standardSearchForm.page = page this.standardSearchForm.page = page
this.handleSearchStandard() this.handleSearchStandard(true)
}, },
handleStandardPageSizeChange(pageSize) { handleStandardPageSizeChange(pageSize) {
this.standardSearchForm.pageSize = pageSize this.standardSearchForm.pageSize = pageSize
@@ -2756,11 +2760,14 @@
this.loadSarStandard = false this.loadSarStandard = false
}) })
}, },
handleSearchStandard() { handleSearchStandard(notModifyPage) {
if (this.form.standType === '') { if (this.form.standType === '') {
this.$message.warning('请选择标准来源') this.$message.warning('请选择标准来源')
} else { } else {
this.standardSearchForm.page = 1 // 分页器跳转不需要回到第一页
if (!notModifyPage) {
this.standardSearchForm.page = 1
}
this.standardDrawer = true this.standardDrawer = true
this.$nextTick(() => { this.$nextTick(() => {
// 动态设置表格高度 // 动态设置表格高度
@@ -561,6 +561,8 @@ export default {
} }
}, },
checkedRole (data) { checkedRole (data) {
this.isSubmit = true
this.saveLoading = true
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
userId:this.$store.getters.userInfo.userId, // 委托人 userId:this.$store.getters.userInfo.userId, // 委托人
@@ -575,6 +577,9 @@ export default {
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
}).finally(() => {
this.isSubmit = false
this.saveLoading = false
}) })
}, },
// 请求转换流程图 // 请求转换流程图
@@ -610,6 +615,7 @@ export default {
//保存事件 //保存事件
handleSave() { handleSave() {
if(this.clickFlag){ if(this.clickFlag){
this.isSubmit = true
this.saveLoading = true; this.saveLoading = true;
let _formData = new FormData(); let _formData = new FormData();
let json = this.form; let json = this.form;
@@ -628,6 +634,7 @@ export default {
this.bpnId = res.result; this.bpnId = res.result;
}).catch(e => { }).catch(e => {
this.saveLoading = false; this.saveLoading = false;
this.isSubmit = false
}); });
}else{ }else{
this.$message.warning('公开征求意见未结束,无法操作') this.$message.warning('公开征求意见未结束,无法操作')
@@ -649,6 +656,7 @@ export default {
return; return;
} }
this.isSubmit = true; this.isSubmit = true;
this.saveLoading = true;
var json = this.json; var json = this.json;
json.oldinfo = this.oldData; json.oldinfo = this.oldData;
json.onlyKey = this.onlyKey json.onlyKey = this.onlyKey
@@ -664,6 +672,7 @@ export default {
this.$router.push("/processCenter"); this.$router.push("/processCenter");
} }
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false;
}); });
}else{ }else{
this.$message.warning('公开征求意见未结束,无法操作') this.$message.warning('公开征求意见未结束,无法操作')
@@ -217,7 +217,7 @@
<ProcessFooter <ProcessFooter
show-transfer show-transfer
show-submit show-submit
:transfer-loading="isTransfer" :transfer-loading="isSubmit"
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
:approval="true" :approval="true"
@@ -335,6 +335,7 @@ export default {
//流程提交 //流程提交
handleSubmit(){ handleSubmit(){
this.isSubmit = true this.isSubmit = true
this.saveLoading = true
this.qbfsForm.presentPeople = this.$store.getters.userInfo.userName this.qbfsForm.presentPeople = this.$store.getters.userInfo.userName
this.qbfsForm.presentPeopleId = this.$store.getters.userInfo.userId this.qbfsForm.presentPeopleId = this.$store.getters.userInfo.userId
this.qbfsForm.commentText = this.commentText this.qbfsForm.commentText = this.commentText
@@ -351,6 +352,7 @@ export default {
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false this.isSubmit = false
this.saveLoading = false
}, e => { }, e => {
}); });
}, },
@@ -366,6 +368,8 @@ export default {
}, },
//确认转办 //确认转办
checkedRole (data) { checkedRole (data) {
this.isSubmit = true
this.saveLoading = true
this.assigneeNewLoading = true this.assigneeNewLoading = true
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
@@ -382,6 +386,9 @@ export default {
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
}).finally(() => {
this.saveLoading = false
this.isSubmit = false
}) })
}, },
// 请求转换流程图 // 请求转换流程图
@@ -252,7 +252,7 @@
<ProcessFooter <ProcessFooter
show-transfer show-transfer
show-submit show-submit
:transfer-loading="isTransfer" :transfer-loading="isSubmit"
:submitLoading="isSubmit" :submitLoading="isSubmit"
:saveLoading="saveLoading" :saveLoading="saveLoading"
:approval="true" :approval="true"
@@ -403,6 +403,7 @@ export default {
//流程提交 //流程提交
handleSubmit() { handleSubmit() {
this.isSubmit = true; this.isSubmit = true;
this.saveLoading = true;
this.qbfsForm.commentText = this.commentText; this.qbfsForm.commentText = this.commentText;
this.qbfsForm.dataList = this.dataList; this.qbfsForm.dataList = this.dataList;
let json = JSON.stringify(this.qbfsForm); let json = JSON.stringify(this.qbfsForm);
@@ -418,6 +419,7 @@ export default {
this.$router.push("/processCenter"); this.$router.push("/processCenter");
} }
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false;
}, e => { }, e => {
}); });
}, },
@@ -436,6 +438,8 @@ export default {
}, },
//确认转办 //确认转办
checkedRole(data) { checkedRole(data) {
this.isSubmit = true;
this.saveLoading = true;
this.assigneeNewLoading = true; this.assigneeNewLoading = true;
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
@@ -452,6 +456,9 @@ export default {
} else { } else {
this.$message.warning(res.message); this.$message.warning(res.message);
} }
}).finally(() => {
this.saveLoading = false;
this.isSubmit = false;
}); });
}, },
// 请求转换流程图 // 请求转换流程图
@@ -612,6 +612,9 @@ export default {
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
}).finally(() => {
this.isSubmit = false
this.saveLoading = false
}) })
}, },
// 请求转换流程图 // 请求转换流程图
@@ -957,7 +957,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="企标标准号" label="企标标准号"
align="center" align="center"
@@ -3030,7 +3034,7 @@ export default {
// if(item.country !== undefined && item.country !== null){ // if(item.country !== undefined && item.country !== null){
// this.sarStandardsInfoEO.country = item.country.split(","); // this.sarStandardsInfoEO.country = item.country.split(",");
// } // }
this.isSubmit = true
this.saveLoading = true this.saveLoading = true
let _formData = new FormData() let _formData = new FormData()
this.fileInfoHandle() this.fileInfoHandle()
@@ -3047,10 +3051,12 @@ export default {
})) }))
saveTaskFirst(_formData).then(res => { saveTaskFirst(_formData).then(res => {
this.saveLoading = false this.saveLoading = false
this.isSubmit = false
this.$message.success('保存成功') this.$message.success('保存成功')
this.bpnId = res.result this.bpnId = res.result
}).catch(e => { }).catch(e => {
this.saveLoading = false this.saveLoading = false
this.isSubmit = false
}) })
}, },
fileInfoHandle(){ fileInfoHandle(){
@@ -3160,6 +3166,7 @@ export default {
this.$refs['userForm'].validate((valid) => { this.$refs['userForm'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.saveLoading = true
// this.qbfsForm.commentText = this.commentText // this.qbfsForm.commentText = this.commentText
this.form.commentText = this.commentText; this.form.commentText = this.commentText;
let jsons = JSON.stringify(this.form); let jsons = JSON.stringify(this.form);
@@ -3210,6 +3217,7 @@ export default {
// }) // })
// } // }
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" }); this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
} }
}); });
@@ -3219,6 +3227,7 @@ export default {
// }) // })
} }
this.isSubmit = false this.isSubmit = false
this.saveLoading = false
}, e => { }, e => {
}); });
}else { }else {
@@ -982,7 +982,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
v-if="this.form.reviseStatus === '3'" v-if="this.form.reviseStatus === '3'"
align="center" align="center"
@@ -3177,6 +3181,7 @@ export default {
}, },
// 接受按钮 // 接受按钮
handleReceive(){ handleReceive(){
this.saveLoading = true
this.isSubmit = true this.isSubmit = true
// execTask({ // execTask({
// todoId: this.todoId // 当前节点ID // todoId: this.todoId // 当前节点ID
@@ -3202,6 +3207,7 @@ export default {
// if (res.sign && res.sign === '0') { // if (res.sign && res.sign === '0') {
this.$message.success('接收成功') this.$message.success('接收成功')
this.isSubmit = false this.isSubmit = false
this.saveLoading = false
this.showreceive = false this.showreceive = false
// this.$router.push('/processCenter') // this.$router.push('/processCenter')
// } // }
@@ -312,6 +312,7 @@ export default {
this.$message.warning('请填写审批意见') this.$message.warning('请填写审批意见')
}else{ }else{
this.isSubmit = true this.isSubmit = true
this.saveLoading = true
this.qbfsForm.passFlag = '1' this.qbfsForm.passFlag = '1'
this.qbfsForm.commentText = this.commentText this.qbfsForm.commentText = this.commentText
let json = JSON.stringify(this.qbfsForm); let json = JSON.stringify(this.qbfsForm);
@@ -327,6 +328,7 @@ export default {
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false this.isSubmit = false
this.saveLoading = false
}, e => { }, e => {
}); });
} }
@@ -334,6 +336,7 @@ export default {
//流程提交 //流程提交
handleSubmit(){ handleSubmit(){
this.isSubmit = true this.isSubmit = true
this.saveLoading = true
this.qbfsForm.passFlag = '0' this.qbfsForm.passFlag = '0'
this.qbfsForm.commentText = this.commentText this.qbfsForm.commentText = this.commentText
let json = JSON.stringify(this.qbfsForm); let json = JSON.stringify(this.qbfsForm);
@@ -349,6 +352,7 @@ export default {
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.isSubmit = false this.isSubmit = false
this.saveLoading = false
}, e => { }, e => {
}); });
}, },
@@ -360,6 +364,8 @@ export default {
}, },
//确认转办 //确认转办
checkedRoles (data) { checkedRoles (data) {
this.isSubmit = true
this.saveLoading = true
this.assigneeNewLoading = true this.assigneeNewLoading = true
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
@@ -376,6 +382,9 @@ export default {
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
}).finalize(() => {
this.isSubmit = false
this.saveLoading = false
}) })
}, },
// 请求转换流程图 // 请求转换流程图
@@ -379,6 +379,7 @@ export default {
this.$refs['qbfsForm'].validate((valid) => { this.$refs['qbfsForm'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true; this.isSubmit = true;
this.saveLoading = true;
this.qbfsForm.commentText = this.commentText; this.qbfsForm.commentText = this.commentText;
this.qbfsForm.dataList = this.dataList; this.qbfsForm.dataList = this.dataList;
let json = JSON.stringify(this.qbfsForm); let json = JSON.stringify(this.qbfsForm);
@@ -394,6 +395,7 @@ export default {
this.$router.push("/processCenter"); this.$router.push("/processCenter");
} }
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false;
}, e => { }, e => {
}); });
}else{ }else{
@@ -418,6 +420,7 @@ export default {
checkedRole(data) { checkedRole(data) {
this.isTransfer = true; this.isTransfer = true;
this.isSubmit = true; this.isSubmit = true;
this.saveLoading = true;
this.assigneeNewLoading = true; this.assigneeNewLoading = true;
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
@@ -425,8 +428,6 @@ export default {
userId: this.$store.getters.userInfo.userId, // 委托人 userId: this.$store.getters.userInfo.userId, // 委托人
pId: this.$route.query.prcId // 流程实例 pId: this.$route.query.prcId // 流程实例
}).then(res => { }).then(res => {
this.isTransfer = false;
this.isSubmit = false;
if (res.success) { if (res.success) {
this.drawerModal = false; this.drawerModal = false;
this.$message.success("调整成功"); this.$message.success("调整成功");
@@ -435,7 +436,11 @@ export default {
} else { } else {
this.$message.warning(res.message); this.$message.warning(res.message);
} }
}); }).finally(() => {
this.isTransfer = false;
this.isSubmit = false;
this.saveLoading = false;
})
}, },
// 请求转换流程图 // 请求转换流程图
processNum(row) { processNum(row) {
@@ -955,7 +955,9 @@
width="80" width="80"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.$index + 1 }}</span> <span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">
{{ (scope.$index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -468,7 +468,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -468,7 +468,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -468,7 +468,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -504,7 +504,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -462,7 +462,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -477,7 +477,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -534,7 +534,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -466,7 +466,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -621,7 +621,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -603,7 +603,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -603,7 +603,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -468,7 +468,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -468,7 +468,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -468,7 +468,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -534,7 +534,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -604,7 +604,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -464,7 +464,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -1086,7 +1086,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
v-if="this.form.reviseStatus === '3'" v-if="this.form.reviseStatus === '3'"
align="center" align="center"
@@ -1088,7 +1088,9 @@
width="80" width="80"
align="center"> align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">{{ scope.$index + 1 }}</span> <span :style="{color: scope.row.standStatusShow === '作废'? '#F56C6C': '#333'}">
{{ (scope.$index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -476,7 +476,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -403,7 +403,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -2164,6 +2168,7 @@
this.$refs['formTongGuo'].validate((valid) => { this.$refs['formTongGuo'].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true this.isSubmit = true
this.saveLoading = true
this.form.commentText = this.formTongGuo.commentText this.form.commentText = this.formTongGuo.commentText
this.form.approvalOpinion = this.formTongGuo.approvalOpinion this.form.approvalOpinion = this.formTongGuo.approvalOpinion
const json = JSON.stringify(this.form); const json = JSON.stringify(this.form);
@@ -2182,6 +2187,7 @@
// this.processCreateLaws(json) // this.processCreateLaws(json)
} }
this.isSubmit = false this.isSubmit = false
this.saveLoading = false
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
}else { }else {
@@ -476,7 +476,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -493,7 +493,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -498,7 +498,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -601,7 +601,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -539,7 +539,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -475,7 +475,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -807,7 +807,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -742,7 +742,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -591,7 +591,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -395,7 +395,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -587,7 +587,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -616,7 +616,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -537,7 +537,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -741,7 +741,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -463,7 +463,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -468,6 +468,7 @@ export default {
handleSave() { handleSave() {
if(this.approvalFlag){ if(this.approvalFlag){
//被驳回后的保存 //被驳回后的保存
this.isSubmit = true
this.saveLoading = true; this.saveLoading = true;
let qbzxdFrom = this.$refs["childForm"].qbfsForm; let qbzxdFrom = this.$refs["childForm"].qbfsForm;
qbzxdFrom.type = this.toggleType qbzxdFrom.type = this.toggleType
@@ -486,8 +487,9 @@ export default {
this.saveLoading = false; this.saveLoading = false;
this.$message.success("保存成功"); this.$message.success("保存成功");
this.bpnId = res.result; this.bpnId = res.result;
}).catch(e => { }).finally(() => {
this.saveLoading = false; this.saveLoading = false;
this.isSubmit = false
}); });
}else{ }else{
//第一次正常保存 //第一次正常保存
@@ -536,6 +538,7 @@ export default {
this.$refs["roleForm"].validate((valid) => { this.$refs["roleForm"].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true; this.isSubmit = true;
this.saveLoading = true
qbzxdFrom.commentText = this.commentText; qbzxdFrom.commentText = this.commentText;
qbzxdFrom.addFlag = '0' qbzxdFrom.addFlag = '0'
let json = Object.assign(qbzxdFrom, this.roleForm); let json = Object.assign(qbzxdFrom, this.roleForm);
@@ -571,6 +574,7 @@ export default {
}) })
} }
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" }); this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
} }
}); });
@@ -977,6 +977,7 @@ export default {
}, },
// 保存按钮 // 保存按钮
handleSave() { handleSave() {
this.isSubmit = true
this.saveLoading = true; this.saveLoading = true;
let _formData = new FormData(); let _formData = new FormData();
this.qblx_pageData.qblxFile = this.fileInfoList this.qblx_pageData.qblxFile = this.fileInfoList
@@ -991,8 +992,9 @@ export default {
this.saveLoading = false; this.saveLoading = false;
this.$message.success("保存成功"); this.$message.success("保存成功");
this.bpnId = res.result; this.bpnId = res.result;
}).catch(e => { }).finally(() => {
this.saveLoading = false; this.saveLoading = false;
this.isShow = false;
}) })
}, },
listSubmit (item) { listSubmit (item) {
@@ -1049,6 +1051,7 @@ export default {
if (valid) { if (valid) {
this.$refs["roleForm"].validate(async (valid) => { this.$refs["roleForm"].validate(async (valid) => {
if (valid) { if (valid) {
this.saveLoading = true
this.isSubmit = true this.isSubmit = true
let finishCount = 0; let finishCount = 0;
while (finishCount < jsonData.length) { while (finishCount < jsonData.length) {
@@ -1063,6 +1066,7 @@ export default {
this.isSubmit = false this.isSubmit = false
this.$router.push('/processCenter') this.$router.push('/processCenter')
} }
this.saveLoading = false
this.isSubmit = false this.isSubmit = false
} else { } else {
return this.$message.warning("请完善人员信息"); return this.$message.warning("请完善人员信息");
@@ -767,6 +767,7 @@ export default {
if (valid) { if (valid) {
this.$refs["roleForm"].validate((valid) => { this.$refs["roleForm"].validate((valid) => {
if (valid) { if (valid) {
this.saveLoading = true
this.isSubmit = true this.isSubmit = true
this.qbfsForm.commentText = this.commentText this.qbfsForm.commentText = this.commentText
let jsons = JSON.stringify(this.qbfsForm); let jsons = JSON.stringify(this.qbfsForm);
@@ -778,7 +779,8 @@ export default {
_this: this _this: this
}, res => { }, res => {
if (res.success) { if (res.success) {
this.isSubmit = true; this.saveLoading = true
this.isSubmit = true
this.qbfsForm.type = '5' this.qbfsForm.type = '5'
this.qbfsForm.commentText = this.commentText; this.qbfsForm.commentText = this.commentText;
let json = Object.assign(this.qbfsForm, this.roleForm); let json = Object.assign(this.qbfsForm, this.roleForm);
@@ -813,6 +815,7 @@ export default {
}) })
} }
this.isSubmit = false; this.isSubmit = false;
this.saveLoading = false
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" }); this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
} }
}); });
@@ -820,6 +823,7 @@ export default {
}); });
} }
this.isSubmit = false this.isSubmit = false
this.saveLoading = false
}, e => { }, e => {
}); });
} else { } else {
@@ -840,6 +844,8 @@ export default {
}, },
//确认转办 //确认转办
checkedRole3 (data) { checkedRole3 (data) {
this.saveLoading = true
this.isSubmit = true
this.assigneeNewLoading = true this.assigneeNewLoading = true
changeAssigneeNew({ changeAssigneeNew({
taskId: this.$route.query.taskIds, // 任务id taskId: this.$route.query.taskIds, // 任务id
@@ -856,6 +862,9 @@ export default {
} else { } else {
this.$message.warning(res.message) this.$message.warning(res.message)
} }
}).finally(() => {
this.saveLoading = false
this.isSubmit = false
}) })
}, },
// 请求转换流程图 // 请求转换流程图
@@ -1062,7 +1062,7 @@ export default {
}, },
// 保存按钮 // 保存按钮
handleSave() { handleSave() {
this.saveLoading = true; this.isSubmit = true;
this.saveLoading = true; this.saveLoading = true;
let _formData = new FormData(); let _formData = new FormData();
this.qblx_pageData.qblxFile = this.fileInfoList this.qblx_pageData.qblxFile = this.fileInfoList
@@ -852,7 +852,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -897,7 +897,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -250,7 +250,11 @@
label="序号" label="序号"
width="80" width="80"
align="center" align="center"
></el-table-column> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (standardSearchForm.page - 1) * standardSearchForm.pageSize }}
</template>
</el-table-column>
<el-table-column <el-table-column
label="政策编号" label="政策编号"
align="center" align="center"
@@ -113,6 +113,9 @@
fixed="left" fixed="left"
type="index" type="index"
> >
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (page - 1) * pageSize }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="standNumber" prop="standNumber"
@@ -153,6 +153,9 @@
type="index" type="index"
width="50" width="50"
align="center"> align="center">
<template slot-scope="{scope, column, $index}">
{{ ($index + 1) + (sarProStateTotalPage - 1) * sarProStatePageSize }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
width="180px" width="180px"