参与外部标准制修订保存接口 增加意见输入框
This commit is contained in:
@@ -192,6 +192,10 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<ReceiptDescription
|
||||||
|
title="回执说明"
|
||||||
|
v-model="commentStep"
|
||||||
|
></ReceiptDescription>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
@@ -259,6 +263,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
<loading :loading="loading">流程列表加载中</loading>
|
<loading :loading="loading">流程列表加载中</loading>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- 添加标准抽屉-->
|
<!-- 添加标准抽屉-->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
@@ -412,17 +417,21 @@
|
|||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from "process/components/ProcessTitle";
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from "process/components/ProcessFooter";
|
||||||
import { inboundLiaisonDetail } from "api/process";
|
import { inboundLiaisonDetail ,saveTaskForPub } from "api/process";
|
||||||
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "cywbbzzxdStep3",
|
name: "cywbbzzxdStep3",
|
||||||
components: {
|
components: {
|
||||||
|
ReceiptDescription,
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessFooter
|
ProcessFooter
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
taskIds:'',
|
||||||
|
commentStep:'',
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: "1",
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
@@ -511,6 +520,7 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.taskIds=this.$route.query.taskIds
|
||||||
this.getData();
|
this.getData();
|
||||||
this.processTable();
|
this.processTable();
|
||||||
this.getStandData()
|
this.getStandData()
|
||||||
@@ -537,6 +547,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if(item.wbbzform !== undefined){
|
if(item.wbbzform !== undefined){
|
||||||
this.wbbzform = item.wbbzform
|
this.wbbzform = item.wbbzform
|
||||||
|
this.commentStep = JSON.parse(JSON.stringify(item)).commentStep || ''
|
||||||
this.participantsData = item.participantsData
|
this.participantsData = item.participantsData
|
||||||
}else{
|
}else{
|
||||||
return
|
return
|
||||||
@@ -642,6 +653,23 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
handleSave() {
|
handleSave() {
|
||||||
|
this.saveLoading = true
|
||||||
|
this.isSubmit = true
|
||||||
|
let _formData = new FormData()
|
||||||
|
_formData.append('taskIds', this.taskIds)
|
||||||
|
_formData.append('json', JSON.stringify({
|
||||||
|
wbbzform: this.wbbzform,
|
||||||
|
participantsData: this.participantsData,
|
||||||
|
commentStep: this.commentStep
|
||||||
|
}))
|
||||||
|
saveTaskForPub(_formData).then(res => {
|
||||||
|
this.$message.success('保存成功')
|
||||||
|
this.bpnId = res.result
|
||||||
|
}).finally(() => {
|
||||||
|
this.isSubmit = false
|
||||||
|
this.saveLoading = false
|
||||||
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
//不备案
|
//不备案
|
||||||
handleRecord() {
|
handleRecord() {
|
||||||
@@ -672,7 +700,7 @@ export default {
|
|||||||
this.$message.warning("请完善项目信息");
|
this.$message.warning("请完善项目信息");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentStep;
|
||||||
let json = {
|
let json = {
|
||||||
participantsData: this.participantsData,
|
participantsData: this.participantsData,
|
||||||
wbbzform: this.wbbzform,
|
wbbzform: this.wbbzform,
|
||||||
@@ -706,7 +734,7 @@ export default {
|
|||||||
projectNumber: this.projectNumber,
|
projectNumber: this.projectNumber,
|
||||||
projectName: this.projectName,
|
projectName: this.projectName,
|
||||||
expenses: this.expenses,
|
expenses: this.expenses,
|
||||||
costBudget: this.costBudget
|
costBudget: this.costBudget,
|
||||||
};
|
};
|
||||||
this.participantsData.push(list);
|
this.participantsData.push(list);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -152,6 +152,10 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<ReceiptDescription
|
||||||
|
title="回执说明"
|
||||||
|
v-model="commentText"
|
||||||
|
></ReceiptDescription>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
@@ -249,17 +253,19 @@ import ProcessHeader from "../../components/ProcessHeader";
|
|||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from "process/components/ProcessTitle";
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from "process/components/ProcessFooter";
|
||||||
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
||||||
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription'
|
||||||
export default {
|
export default {
|
||||||
name: "cywbbzzxdStep4",
|
name: "cywbbzzxdStep4",
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessFooter
|
ProcessFooter,
|
||||||
|
ReceiptDescription
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
//切换tab
|
//切换tab
|
||||||
|
commentText:'',
|
||||||
active: "1",
|
active: "1",
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
|
|||||||
@@ -152,6 +152,10 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<ReceiptDescription
|
||||||
|
title="回执说明"
|
||||||
|
v-model="commentText"
|
||||||
|
></ReceiptDescription>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
@@ -249,17 +253,19 @@ import ProcessHeader from "../../components/ProcessHeader";
|
|||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from "process/components/ProcessTitle";
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from "process/components/ProcessFooter";
|
||||||
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
||||||
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription'
|
||||||
export default {
|
export default {
|
||||||
name: "cywbbzzxdStep5",
|
name: "cywbbzzxdStep5",
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessFooter
|
ProcessFooter,
|
||||||
|
ReceiptDescription
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
//切换tab
|
commentText:'',
|
||||||
|
//切换tab,
|
||||||
active: "1",
|
active: "1",
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
|
|||||||
@@ -152,6 +152,10 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
<ReceiptDescription
|
||||||
|
title="回执说明"
|
||||||
|
v-model="commentText"
|
||||||
|
></ReceiptDescription>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
@@ -249,16 +253,18 @@ import ProcessHeader from "../../components/ProcessHeader";
|
|||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from "process/components/ProcessTitle";
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from "process/components/ProcessFooter";
|
||||||
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
||||||
|
import ReceiptDescription from '@/components/hzwlComponents/ReceiptDescription'
|
||||||
export default {
|
export default {
|
||||||
name: "cywbbzzxdStep6",
|
name: "cywbbzzxdStep6",
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
ProcessFooter
|
ProcessFooter,
|
||||||
|
ReceiptDescription
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
commentText:'',
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: "1",
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user