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