对接政策征求意见流程
This commit is contained in:
+41
-26
@@ -22,37 +22,42 @@
|
|||||||
placeholder="请输入章节编号"
|
placeholder="请输入章节编号"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="章节条目" prop="chapterEntry" label-width="150px" class="add-form-item">
|
<el-form-item label="章节条目" prop="chapterEntries" label-width="150px" class="add-form-item">
|
||||||
<el-input v-model.trim="sarStandardsInfoEO.chapterEntry"
|
<el-input v-model.trim="sarStandardsInfoEO.chapterEntries"
|
||||||
placeholder="请输入章节条目"
|
placeholder="请输入章节条目"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="修改前" prop="beforeRevision" label-width="150px" class="add-form-item">
|
<el-form-item label="修改前" prop="updateBefore" label-width="150px" class="add-form-item">
|
||||||
<el-input v-model.trim="sarStandardsInfoEO.beforeRevision"
|
<el-input v-model.trim="sarStandardsInfoEO.updateBefore"
|
||||||
placeholder="请输入修改前"
|
placeholder="请输入修改前"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="修改后" prop="afterRevision" label-width="150px" class="add-form-item">
|
<el-form-item label="修改后" prop="updateAfter" label-width="150px" class="add-form-item">
|
||||||
<el-input v-model.trim="sarStandardsInfoEO.afterRevision"
|
<el-input v-model.trim="sarStandardsInfoEO.updateAfter"
|
||||||
placeholder="请输入修改后"
|
placeholder="请输入修改后"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="修改理由" prop="revisionModification" label-width="150px" class="add-form-item">
|
<el-form-item label="修改理由" prop="updateReason" label-width="150px" class="add-form-item">
|
||||||
<el-input v-model.trim="sarStandardsInfoEO.revisionModification"
|
<el-input v-model.trim="sarStandardsInfoEO.updateReason"
|
||||||
placeholder="请输入修改理由"
|
placeholder="请输入修改理由"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="原因" prop="cause" label-width="150px" class="add-form-item">
|
||||||
|
<el-input v-model.trim="sarStandardsInfoEO.cause"
|
||||||
|
placeholder="请输入原因"
|
||||||
|
clearable></el-input>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="附件"
|
<el-form-item label="附件"
|
||||||
label-width="150px"
|
label-width="150px"
|
||||||
class="add-form-item">
|
class="add-form-item">
|
||||||
<el-input
|
<el-input
|
||||||
disabled
|
disabled
|
||||||
style="display: none;"
|
style="display: none;"
|
||||||
v-model="sarStandardsInfoEO.templateFileId"
|
v-model="sarStandardsInfoEO.annexFileId"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<div v-if="sarStandardsInfoEO.templateFileList && sarStandardsInfoEO.templateFileList.length > 0">
|
<div v-if="sarStandardsInfoEO.annexFileList && sarStandardsInfoEO.annexFileList.length > 0">
|
||||||
<div v-for="(item, index) in sarStandardsInfoEO.templateFileList" :key="index"
|
<div v-for="(item, index) in sarStandardsInfoEO.annexFileList" :key="index"
|
||||||
style="margin-right: 5px;padding-left: 10px">
|
style="margin-right: 5px;padding-left: 10px">
|
||||||
<div class="fileClass">
|
<div class="fileClass">
|
||||||
<span @click="handlePreview(item)">{{ item.name }}</span>
|
<span @click="handlePreview(item)">{{ item.name }}</span>
|
||||||
@@ -67,7 +72,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<el-button type="primary"
|
<el-button type="primary"
|
||||||
class="common-button-primary"
|
class="common-button-primary"
|
||||||
@click="fileUpload('templateFileList','templateFileId','.zip,.docx,.doc,.xls,.xlsx',200)"
|
@click="fileUpload('annexFileList','annexFileId','.zip,.docx,.doc,.xls,.xlsx',200)"
|
||||||
size="mini">
|
size="mini">
|
||||||
点击上传
|
点击上传
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -75,16 +80,16 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="处理意见"
|
<el-form-item label="处理意见"
|
||||||
v-if="isHandlingSuggestion"
|
v-if="isHandlingSuggestion"
|
||||||
prop="handlingSuggestion" label-width="150px" class="add-form-item">
|
prop="handlingOpinions" label-width="150px" class="add-form-item">
|
||||||
<el-input v-model.trim="sarStandardsInfoEO.handlingSuggestion"
|
<el-input v-model.trim="sarStandardsInfoEO.handlingOpinions"
|
||||||
placeholder="请输入处理意见"
|
placeholder="请输入处理意见"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="原因" prop="reason"
|
<el-form-item label="处理原因" prop="handlingCause"
|
||||||
v-if="isHandlingSuggestion"
|
v-if="isHandlingSuggestion"
|
||||||
label-width="150px" class="add-form-item">
|
label-width="150px" class="add-form-item">
|
||||||
<el-input v-model.trim="sarStandardsInfoEO.reason"
|
<el-input v-model.trim="sarStandardsInfoEO.handlingCause"
|
||||||
placeholder="请输入原因"
|
placeholder="请输入处理原因"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -128,7 +133,7 @@
|
|||||||
trigger: "blur"
|
trigger: "blur"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
chapterEntry: [
|
chapterEntries: [
|
||||||
{
|
{
|
||||||
type: "string",
|
type: "string",
|
||||||
max: 200,
|
max: 200,
|
||||||
@@ -136,7 +141,7 @@
|
|||||||
trigger: "blur"
|
trigger: "blur"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
beforeRevision: [
|
updateBefore: [
|
||||||
{
|
{
|
||||||
type: "string",
|
type: "string",
|
||||||
max: 200,
|
max: 200,
|
||||||
@@ -144,7 +149,7 @@
|
|||||||
trigger: "blur"
|
trigger: "blur"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
afterRevision: [
|
updateAfter: [
|
||||||
{
|
{
|
||||||
type: "string",
|
type: "string",
|
||||||
max: 200,
|
max: 200,
|
||||||
@@ -152,7 +157,7 @@
|
|||||||
trigger: "blur"
|
trigger: "blur"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
revisionModification: [
|
updateReason: [
|
||||||
{
|
{
|
||||||
type: "string",
|
type: "string",
|
||||||
max: 200,
|
max: 200,
|
||||||
@@ -160,7 +165,7 @@
|
|||||||
trigger: "blur"
|
trigger: "blur"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
handlingSuggestion: [
|
handlingOpinions: [
|
||||||
{
|
{
|
||||||
type: "string",
|
type: "string",
|
||||||
max: 200,
|
max: 200,
|
||||||
@@ -168,7 +173,15 @@
|
|||||||
trigger: "blur"
|
trigger: "blur"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
reason: [
|
handlingCause: [
|
||||||
|
{
|
||||||
|
type: "string",
|
||||||
|
max: 200,
|
||||||
|
message: "处理原因不能超过100个字符",
|
||||||
|
trigger: "blur"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
cause: [
|
||||||
{
|
{
|
||||||
type: "string",
|
type: "string",
|
||||||
max: 200,
|
max: 200,
|
||||||
@@ -240,9 +253,11 @@
|
|||||||
saveOrUpdateStands() {
|
saveOrUpdateStands() {
|
||||||
this.$refs['sarStandardsInfoForm'].validate((valid) => {
|
this.$refs['sarStandardsInfoForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (!this.sarStandardsInfoEO.chapterNumber && !this.sarStandardsInfoEO.chapterEntry
|
if (!this.sarStandardsInfoEO.chapterNumber && !this.sarStandardsInfoEO.chapterEntries
|
||||||
&& !this.sarStandardsInfoEO.beforeRevision && !this.sarStandardsInfoEO.afterRevision
|
&& !this.sarStandardsInfoEO.updateBefore && !this.sarStandardsInfoEO.updateAfter
|
||||||
&& !this.sarStandardsInfoEO.revisionModification && !this.sarStandardsInfoEO.templateFileId) {
|
&& !this.sarStandardsInfoEO.updateReason && !this.sarStandardsInfoEO.annexFileId
|
||||||
|
&& !this.sarStandardsInfoEO.cause && !this.sarStandardsInfoEO.handlingOpinions
|
||||||
|
&& !this.sarStandardsInfoEO.handlingCause) {
|
||||||
this.$message.warning('请至少填写一条数据,不能都为空')
|
this.$message.warning('请至少填写一条数据,不能都为空')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
+3
@@ -314,6 +314,9 @@
|
|||||||
|
|
||||||
prcCreateUser: row.prcCreateUser,
|
prcCreateUser: row.prcCreateUser,
|
||||||
prcCreateUserName: row.prcCreateUserName,
|
prcCreateUserName: row.prcCreateUserName,
|
||||||
|
|
||||||
|
csrUserIds:row.csrUserIds,
|
||||||
|
csrUserNames:row.csrUserNames
|
||||||
}
|
}
|
||||||
this.roleForm = {...this.roleForm}
|
this.roleForm = {...this.roleForm}
|
||||||
},
|
},
|
||||||
|
|||||||
+28
-8
@@ -70,35 +70,42 @@
|
|||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="chapterEntry"
|
prop="chapterEntries"
|
||||||
label="章节条目"
|
label="章节条目"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="beforeRevision"
|
prop="updateBefore"
|
||||||
label="修改前"
|
label="修改前"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="afterRevision"
|
prop="updateAfter"
|
||||||
label="修改后"
|
label="修改后"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="revisionModification"
|
prop="updateReason"
|
||||||
label="修改理由"
|
label="修改理由"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="cause"
|
||||||
|
label="原因"
|
||||||
|
show-overflow-tooltip
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="completeFlag"
|
prop="completeFlag"
|
||||||
label="附件"
|
label="附件"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a v-if="scope.row.templateFileId" @click="fileClick(scope.row.templateFileList)" class="textClass">查看文件</a>
|
<a v-if="scope.row.annexFileId" @click="fileClick(scope.row.annexFileList)"
|
||||||
|
class="textClass">查看文件</a>
|
||||||
<span v-else>--</span>
|
<span v-else>--</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -126,14 +133,14 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
v-if="isCompleteFlag"
|
v-if="isCompleteFlag"
|
||||||
prop="handlingSuggestion"
|
prop="handlingOpinions"
|
||||||
label="处理意见"
|
label="处理意见"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="reason"
|
prop="handlingCause"
|
||||||
label="原因"
|
label="处理原因"
|
||||||
v-if="isCompleteFlag"
|
v-if="isCompleteFlag"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
align="center">
|
align="center">
|
||||||
@@ -246,6 +253,9 @@
|
|||||||
mounted() {
|
mounted() {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
getData() {
|
||||||
|
|
||||||
|
},
|
||||||
generateSummary() {
|
generateSummary() {
|
||||||
|
|
||||||
},
|
},
|
||||||
@@ -334,6 +344,16 @@
|
|||||||
this.$message.warning('没有可查看的文件')
|
this.$message.warning('没有可查看的文件')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
submit(callback) {
|
||||||
|
if (this.histortData && this.histortData.length > 0) {
|
||||||
|
callback && callback(this.histortData)
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请至少添加一条数据')
|
||||||
|
}
|
||||||
|
},
|
||||||
|
save(callback) {
|
||||||
|
callback && callback(this.histortData,this.deleteList.join(','))
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -272,7 +272,7 @@
|
|||||||
import solicitationList from "./components/solicitationList";//征求意见列表
|
import solicitationList from "./components/solicitationList";//征求意见列表
|
||||||
import policySolicitingOpinions from "./components/policySolicitingOpinions";
|
import policySolicitingOpinions from "./components/policySolicitingOpinions";
|
||||||
import processFile from "../../components/processFile";
|
import processFile from "../../components/processFile";
|
||||||
import {queryTaskFirst, saveTaskFirst, taskDel, changeAssigneeNew, inboundLiaisonDetail} from "api/process";
|
import {queryTaskFirst, saveTaskFirst, taskDel, changeAssigneeNew, inboundLiaisonDetail,saveTaskForPub} from "api/process";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -499,8 +499,25 @@
|
|||||||
this.openButtonLoading()
|
this.openButtonLoading()
|
||||||
if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1') {
|
if (!this.taskKey || this.taskKey == 'PolicySolicitOpinionProcessKey1') {
|
||||||
this.draftSaving()
|
this.draftSaving()
|
||||||
} else if (this.taskKey == 'PolicySolicitOpinionProcessKey6') {
|
} else if (this.taskKey == 'PolicySolicitOpinionProcessKey8') {
|
||||||
|
let _formData = new FormData();
|
||||||
|
this.$refs.solicitationListRef.save((row,ids)=>{
|
||||||
|
_formData.append("taskIds", this.$route.query.taskIds);
|
||||||
|
_formData.append("json", JSON.stringify({
|
||||||
|
form: this.dataForm,
|
||||||
|
commentText: this.commentText,
|
||||||
|
policySolicitOpinionEOList: row,
|
||||||
|
deleteIds: ids,
|
||||||
|
}));
|
||||||
|
saveTaskForPub(_formData).then(res => {
|
||||||
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
|
this.$message.success("保存成功");
|
||||||
|
}).catch(e => {
|
||||||
|
this.saveLoading = false;
|
||||||
|
this.isSubmit = false;
|
||||||
|
});
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//草稿保存
|
//草稿保存
|
||||||
@@ -539,7 +556,7 @@
|
|||||||
} else if (this.taskKey == 'PolicySolicitOpinionProcessKey2' ||
|
} else if (this.taskKey == 'PolicySolicitOpinionProcessKey2' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey4' ||
|
this.taskKey == 'PolicySolicitOpinionProcessKey4' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey5' ||
|
this.taskKey == 'PolicySolicitOpinionProcessKey5' ||
|
||||||
this.taskKey == 'PolicySolicitOpinionProcessKey6') { //审核、审定、批准、责任人分配任务
|
this.taskKey == 'PolicySolicitOpinionProcessKey7') { //审核、审定、批准、责任人分配任务
|
||||||
const json = Object.assign(this.dataForm);
|
const json = Object.assign(this.dataForm);
|
||||||
json.commentText = this.commentText
|
json.commentText = this.commentText
|
||||||
json.approvalFlag = 0
|
json.approvalFlag = 0
|
||||||
@@ -561,6 +578,21 @@
|
|||||||
this.openButtonLoading()
|
this.openButtonLoading()
|
||||||
this.completeTask(this.$route.query.taskIds, query)
|
this.completeTask(this.$route.query.taskIds, query)
|
||||||
})
|
})
|
||||||
|
} else if (this.taskKey == 'PolicySolicitOpinionProcessKey8') {//责任人任务处理
|
||||||
|
this.closeButtonLoading()
|
||||||
|
this.$refs.solicitationListRef.submit((row, ids) => {
|
||||||
|
const json = Object.assign(this.dataForm);
|
||||||
|
json.commentText = this.commentText
|
||||||
|
json.approvalFlag = 0
|
||||||
|
let query = {
|
||||||
|
form: json,
|
||||||
|
policySolicitOpinionEOList: row,
|
||||||
|
deleteIds: ids,
|
||||||
|
commentText: this.commentText
|
||||||
|
}
|
||||||
|
this.openButtonLoading()
|
||||||
|
this.completeTask(this.$route.query.taskIds, query)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning('请完善基础信息')
|
return this.$message.warning('请完善基础信息')
|
||||||
|
|||||||
Reference in New Issue
Block a user