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

This commit is contained in:
super_liu
2022-03-03 09:56:28 +08:00
3 changed files with 8 additions and 11 deletions
@@ -3,7 +3,7 @@
<!-- 标准调研流程--> <!-- 标准调研流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">标准征求意见流程</template> <template slot="proName">标准征求意见流程</template>
<template slot="proNode"></template> <template slot="proNode">批准</template>
</ProcessHeader> </ProcessHeader>
<div class="headerTabs"> <div class="headerTabs">
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div> <div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
@@ -329,12 +329,11 @@ export default {
reason: "修改理由", reason: "修改理由",
department: "提出部门", department: "提出部门",
responUserName: "提出人", responUserName: "提出人",
stateText: "处理意见",
cause: "原因",
}, },
dataList: [] dataList: []
}; };
if (title === '上报意见.xls') {
params.columnName.stateText = "处理意见"
}
params.dataList = JSON.parse(JSON.stringify(row)); params.dataList = JSON.parse(JSON.stringify(row));
params.dataList.forEach(item => { params.dataList.forEach(item => {
if (item.state === "1") { if (item.state === "1") {
@@ -381,9 +380,7 @@ export default {
this.oldData = JSON.parse(JSON.stringify(data.info)) this.oldData = JSON.parse(JSON.stringify(data.info))
var arr = [] var arr = []
data.info.forEach(item => { data.info.forEach(item => {
if (item.state != '3') { arr.push(item)
arr.push(item)
}
}) })
this.json = data this.json = data
this.form.textType = data.textType || data.form.textType this.form.textType = data.textType || data.form.textType
@@ -471,7 +471,7 @@ export default {
this.$refs["roleForm"].validate((valid) => { this.$refs["roleForm"].validate((valid) => {
if (valid) { if (valid) {
this.isSubmit = true; this.isSubmit = true;
this.listForm.commentText = this.commentText; qbzxdFrom.commentText = this.commentText;
let json = Object.assign(qbzxdFrom, this.roleForm); let json = Object.assign(qbzxdFrom, this.roleForm);
this.$http.post("lawss/activiti/startProcessRollBack", { this.$http.post("lawss/activiti/startProcessRollBack", {
createUser: this.$store.getters.userInfo.userId, createUser: this.$store.getters.userInfo.userId,
@@ -781,9 +781,9 @@ export default {
standSerialNumber: [ standSerialNumber: [
{ required: true, message: "请输入标准号", trigger: "change" } { required: true, message: "请输入标准号", trigger: "change" }
], ],
standName: [ // standName: [
{ required: true, message: "请输入标准名称", trigger: "change" } // { required: true, message: "请输入标准名称", trigger: "change" }
], // ],
itemsNum: [ itemsNum: [
{ required: true, message: "请输入条款号", trigger: "change" } { required: true, message: "请输入条款号", trigger: "change" }
], ],