Merge branch 'develop' into FOTON
This commit is contained in:
@@ -1571,7 +1571,7 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if(row.taskInfo === '会签并填写意见') {
|
} else if(row.taskInfo === '会签') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'qbfzStep3',
|
name: 'qbfzStep3',
|
||||||
query:{
|
query:{
|
||||||
@@ -1605,7 +1605,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
else if(row.taskInfo === '审定责任人审定') {
|
else if(row.taskInfo === '审定') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'qbfzStep6',
|
name: 'qbfzStep6',
|
||||||
query:{
|
query:{
|
||||||
@@ -1616,7 +1616,7 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else if(row.taskInfo === '批准负责人批准') {
|
}else if(row.taskInfo === '批准') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'qbfzStep7',
|
name: 'qbfzStep7',
|
||||||
query:{
|
query:{
|
||||||
@@ -1674,7 +1674,7 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else if(row.taskInfo === '企标制修订计划整改') {
|
}else if(row.taskInfo === '重新起草') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'qbzxdjhgkStep1',
|
name: 'qbzxdjhgkStep1',
|
||||||
query: {
|
query: {
|
||||||
|
|||||||
@@ -1456,6 +1456,7 @@ export default {
|
|||||||
callback()
|
callback()
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
gdType: '', //归档位置的赋值
|
||||||
standTypeModel: 'INLAND',
|
standTypeModel: 'INLAND',
|
||||||
submitType: '',
|
submitType: '',
|
||||||
nodeList3: [],
|
nodeList3: [],
|
||||||
@@ -2223,6 +2224,7 @@ export default {
|
|||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
case 1:
|
case 1:
|
||||||
|
this.gdType = '新增'
|
||||||
this.selectedList = []
|
this.selectedList = []
|
||||||
this.standardCheckedList = []
|
this.standardCheckedList = []
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
@@ -2231,6 +2233,7 @@ export default {
|
|||||||
break
|
break
|
||||||
// 带入(确认)
|
// 带入(确认)
|
||||||
case 2:
|
case 2:
|
||||||
|
this.gdType = '带入'
|
||||||
if (this.standardCheckedList.length === 1) {
|
if (this.standardCheckedList.length === 1) {
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, {
|
||||||
_this: this
|
_this: this
|
||||||
@@ -2368,7 +2371,7 @@ export default {
|
|||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.treeListOptions = res.data
|
this.treeListOptions = res.data
|
||||||
if(bringData.standNumber){
|
if(this.gdType === '带入'){
|
||||||
this.$http.get('sarStandardsInfo/sar-standards-info/getStandMenuId', {
|
this.$http.get('sarStandardsInfo/sar-standards-info/getStandMenuId', {
|
||||||
standId: bringData.id,
|
standId: bringData.id,
|
||||||
}, {}, reson => {
|
}, {}, reson => {
|
||||||
@@ -2388,6 +2391,20 @@ export default {
|
|||||||
this.form.treeListId = treeListId
|
this.form.treeListId = treeListId
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}else{
|
||||||
|
let treeList = ''
|
||||||
|
let treeListId = ''
|
||||||
|
reson.data.forEach(item=>{
|
||||||
|
this.treeCheckedKeys.push(item.menuId)
|
||||||
|
if (treeList.length > 0) {
|
||||||
|
treeList += ','
|
||||||
|
treeListId += ','
|
||||||
|
}
|
||||||
|
treeList += item.menuName
|
||||||
|
treeListId += item.menuId
|
||||||
|
})
|
||||||
|
this.form.treeListName = treeList
|
||||||
|
this.form.treeListId = treeListId
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -67,6 +67,7 @@
|
|||||||
<el-tooltip v-if="form.standName" effect="dark" :content=form.standName placement="top-start">
|
<el-tooltip v-if="form.standName" effect="dark" :content=form.standName placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.standName"
|
v-model="form.standName"
|
||||||
|
disabled
|
||||||
placeholder="请输入标准中文名称"
|
placeholder="请输入标准中文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -635,33 +636,16 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<el-collapse accordion v-model="activeName">
|
<el-collapse accordion>
|
||||||
<el-collapse-item title="审批意见" name="1">
|
<el-collapse-item title="审批意见">
|
||||||
<div style="margin: 10px 0;">
|
<div style="margin: 10px 0;">
|
||||||
<el-form
|
<el-input
|
||||||
ref="formTongGuo"
|
type="textarea"
|
||||||
:model="formTongGuo"
|
:rows="3"
|
||||||
:rules="rules">
|
resize="none"
|
||||||
<!-- <el-form-item-->
|
placeholder="请输入意见"
|
||||||
<!-- prop="approvalOpinion"-->
|
v-model="commentText">
|
||||||
<!-- >-->
|
</el-input>
|
||||||
<!-- <el-select @change="getRule" v-model="formTongGuo.approvalOpinion" placeholder="请审批" style="margin-bottom: 20px;">-->
|
|
||||||
<!-- <el-option label="驳回" value="1"></el-option>-->
|
|
||||||
<!-- <el-option label="通过" value="0"></el-option>-->
|
|
||||||
<!-- </el-select>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
<el-form-item
|
|
||||||
prop="commentText"
|
|
||||||
>
|
|
||||||
<el-input
|
|
||||||
type="textarea"
|
|
||||||
:rows="3"
|
|
||||||
resize="none"
|
|
||||||
placeholder="请输入意见"
|
|
||||||
v-model="formTongGuo.commentText">
|
|
||||||
</el-input>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
|
||||||
</div>
|
</div>
|
||||||
</el-collapse-item>
|
</el-collapse-item>
|
||||||
</el-collapse>
|
</el-collapse>
|
||||||
@@ -804,11 +788,11 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import ProcessHeader from '../../components/ProcessHeader'
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
import {inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from 'api/process'
|
import { changeAssigneeNew, inboundLiaisonDetail, processCreateStand } from "api/process";
|
||||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
import TreeSelect from "@/components/treeSelect/treeSelect.vue";
|
||||||
import CusTomDataPickerGroup
|
import CusTomDataPickerGroup
|
||||||
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
from "@/pages/regulatoryRepository/localProductsOrProjectLibrary/components/DatePickerGroup";
|
||||||
|
|
||||||
@@ -833,22 +817,23 @@ export default {
|
|||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
drawerTitle: '',
|
drawerTitle: '',
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
selectPeople: '',
|
selectPeople: "",
|
||||||
xgdFileId: '',
|
xgdFileId: "",
|
||||||
fbgbjbdFileId: '',
|
fbgbjbdFileId: "",
|
||||||
bpgFileId: '',
|
bpgFileId: "",
|
||||||
ssgFileId: '',
|
ssgFileId: "",
|
||||||
zqyjgFileId: '',
|
zqyjgFileId: "",
|
||||||
jdwjFileId: '',
|
jdwjFileId: "",
|
||||||
kwjFileId: '',
|
kwjFileId: "",
|
||||||
glwjFileId: '',
|
glwjFileId: "",
|
||||||
caFileId: '',
|
caFileId: "",
|
||||||
zbjbdFileId: '',
|
commentText: "",
|
||||||
|
zbjbdFileId: "",
|
||||||
rules: {
|
rules: {
|
||||||
commentText: [{required: true, message: '请输入意见', trigger: 'blur'}],
|
commentText: [{ required: true, message: "请输入意见", trigger: "blur" }],
|
||||||
approvalOpinion: [{required: true, message: '请选择审批意见', trigger: 'change'}]
|
approvalOpinion: [{ required: true, message: "请选择审批意见", trigger: "change" }]
|
||||||
},
|
},
|
||||||
activeName: '1',
|
activeName: "1",
|
||||||
// 当前流程类型(1待办/2已办)
|
// 当前流程类型(1待办/2已办)
|
||||||
processType: 1,
|
processType: 1,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
@@ -1223,76 +1208,77 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSave() {
|
handleSave() {
|
||||||
},
|
},
|
||||||
|
//流程驳回按钮
|
||||||
handle1() {
|
handle1() {
|
||||||
this.formTongGuo.approvalOpinion = 1
|
if (this.commentText) {
|
||||||
this.handleSubmit()
|
this.formTongGuo.approvalOpinion = 1;
|
||||||
|
this.handleSubmit();
|
||||||
|
} else {
|
||||||
|
this.$message.warning("请填写审批意见");
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
//流程提交按钮
|
||||||
handle2() {
|
handle2() {
|
||||||
this.formTongGuo.approvalOpinion = 0
|
this.formTongGuo.approvalOpinion = 0;
|
||||||
this.handleSubmit()
|
this.handleSubmit();
|
||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.getRule()
|
|
||||||
const val = this.form.country;
|
const val = this.form.country;
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
if (val !== "" && val !== null && typeof (val) !== "undefined") {
|
||||||
if (val instanceof Array) {
|
if (val instanceof Array) {
|
||||||
this.form.country = val.join(",");
|
this.form.country = val.join(",");
|
||||||
} else {
|
} else {
|
||||||
this.form.country = val
|
this.form.country = val;
|
||||||
}
|
}
|
||||||
} else if (val === '') {
|
} else if (val === "") {
|
||||||
this.form.country = []
|
this.form.country = [];
|
||||||
}
|
}
|
||||||
this.$refs['formTongGuo'].validate((valid) => {
|
this.isSubmit = true;
|
||||||
if (valid) {
|
this.form.commentText = this.commentText;
|
||||||
this.isSubmit = true
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion;
|
||||||
this.form.commentText = this.formTongGuo.commentText
|
console.log(this.form);
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
if (this.form.syrz.length === 0) {
|
||||||
console.log(this.form)
|
this.form.syrz = "";
|
||||||
if (this.form.syrz.length === 0) {
|
}
|
||||||
this.form.syrz = ''
|
if (this.form.nylx.length === 0) {
|
||||||
|
this.form.nylx = "";
|
||||||
|
}
|
||||||
|
if (this.form.zrbm.length === 0) {
|
||||||
|
this.form.zrbm = "";
|
||||||
|
}
|
||||||
|
if (this.form.qcdw.length === 0) {
|
||||||
|
this.form.qcdw = "";
|
||||||
|
}
|
||||||
|
if (this.form.cllx.length === 0) {
|
||||||
|
this.form.cllx = "";
|
||||||
|
}
|
||||||
|
if (this.form.sycpx.length === 0) {
|
||||||
|
this.form.sycpx = "";
|
||||||
|
}
|
||||||
|
if (this.form.zrgcs.length === 0) {
|
||||||
|
this.form.zrgcs = "";
|
||||||
|
}
|
||||||
|
this.form.menuIds = this.form.treeListId;
|
||||||
|
const json = JSON.stringify(this.form);
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
userId: this.userId,
|
||||||
|
json: json
|
||||||
|
}, {
|
||||||
|
_this: this
|
||||||
|
}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
if (this.formTongGuo.approvalOpinion == "1") {
|
||||||
|
this.$message.warning("驳回成功");
|
||||||
|
this.isSubmit = false;
|
||||||
|
this.formTongGuo.commentText = "";
|
||||||
|
// 流程提交之后,应该流转至待办任务页面
|
||||||
|
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
|
||||||
|
} else {
|
||||||
|
this.processCreateStand(json);
|
||||||
}
|
}
|
||||||
if (this.form.nylx.length === 0) {
|
|
||||||
this.form.nylx = ''
|
|
||||||
}
|
|
||||||
if (this.form.zrbm.length === 0) {
|
|
||||||
this.form.zrbm = ''
|
|
||||||
}
|
|
||||||
if (this.form.qcdw.length === 0) {
|
|
||||||
this.form.qcdw = ''
|
|
||||||
}
|
|
||||||
if (this.form.cllx.length === 0) {
|
|
||||||
this.form.cllx = ''
|
|
||||||
}
|
|
||||||
if (this.form.sycpx.length === 0) {
|
|
||||||
this.form.sycpx = ''
|
|
||||||
}
|
|
||||||
if (this.form.zrgcs.length === 0) {
|
|
||||||
this.form.zrgcs = ''
|
|
||||||
}
|
|
||||||
this.form.menuIds = this.form.treeListId
|
|
||||||
const json = JSON.stringify(this.form);
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
|
||||||
taskIds: this.taskIds,
|
|
||||||
userId: this.userId,
|
|
||||||
json: json
|
|
||||||
}, {
|
|
||||||
_this: this
|
|
||||||
}, res => {
|
|
||||||
if (res.success) {
|
|
||||||
if (this.formTongGuo.approvalOpinion == '1') {
|
|
||||||
this.$message.warning("驳回成功")
|
|
||||||
this.isSubmit = false
|
|
||||||
this.formTongGuo.commentText = ''
|
|
||||||
// 流程提交之后,应该流转至待办任务页面
|
|
||||||
this.$router.push({path: '/processCenter?tabsName=ProcessCenter'})
|
|
||||||
} else {
|
|
||||||
this.processCreateStand(json)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -67,6 +67,7 @@
|
|||||||
<el-tooltip v-if="form.standName" effect="dark" :content=form.standName placement="top-start">
|
<el-tooltip v-if="form.standName" effect="dark" :content=form.standName placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.standName"
|
v-model="form.standName"
|
||||||
|
disabled
|
||||||
placeholder="请输入标准中文名称"
|
placeholder="请输入标准中文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -510,6 +511,7 @@
|
|||||||
<el-tooltip v-if="form.dtbjh" effect="dark" :content=form.dtbjh placement="top-start">
|
<el-tooltip v-if="form.dtbjh" effect="dark" :content=form.dtbjh placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.dtbjh"
|
v-model="form.dtbjh"
|
||||||
|
disabled
|
||||||
placeholder="请输入代替标准号"
|
placeholder="请输入代替标准号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -517,6 +519,7 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
v-model="form.dtbjh"
|
v-model="form.dtbjh"
|
||||||
|
disabled
|
||||||
placeholder="请输入代替标准号"
|
placeholder="请输入代替标准号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -547,6 +550,7 @@
|
|||||||
<el-form-item label="部分代替标准号" prop="bfbdtbzh" class="add-form-item form-item-disabled">
|
<el-form-item label="部分代替标准号" prop="bfbdtbzh" class="add-form-item form-item-disabled">
|
||||||
<el-tooltip v-if="form.bfbdtbzh" effect="dark" :content=form.bfbdtbzh placement="top-start">
|
<el-tooltip v-if="form.bfbdtbzh" effect="dark" :content=form.bfbdtbzh placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
|
disabled
|
||||||
v-model="form.bfbdtbzh"
|
v-model="form.bfbdtbzh"
|
||||||
placeholder="请输入部分代替标准号"
|
placeholder="请输入部分代替标准号"
|
||||||
clearable
|
clearable
|
||||||
@@ -554,6 +558,7 @@
|
|||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
|
disabled
|
||||||
v-model="form.bfbdtbzh"
|
v-model="form.bfbdtbzh"
|
||||||
placeholder="请输入部分代替标准号"
|
placeholder="请输入部分代替标准号"
|
||||||
clearable
|
clearable
|
||||||
@@ -563,6 +568,7 @@
|
|||||||
<el-tooltip v-if="form.cbbh" effect="dark" :content=form.cbbh placement="top-start">
|
<el-tooltip v-if="form.cbbh" effect="dark" :content=form.cbbh placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.cbbh"
|
v-model="form.cbbh"
|
||||||
|
disabled
|
||||||
placeholder="请输入采标编号"
|
placeholder="请输入采标编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -570,6 +576,7 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
v-model="form.cbbh"
|
v-model="form.cbbh"
|
||||||
|
disabled
|
||||||
placeholder="请输入采标编号"
|
placeholder="请输入采标编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -578,12 +585,14 @@
|
|||||||
<el-tooltip v-if="form.yybj" effect="dark" :content=form.yybj placement="top-start">
|
<el-tooltip v-if="form.yybj" effect="dark" :content=form.yybj placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.yybj"
|
v-model="form.yybj"
|
||||||
|
disabled
|
||||||
placeholder="请输入引用标准"
|
placeholder="请输入引用标准"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
|
disabled
|
||||||
v-model="form.yybj"
|
v-model="form.yybj"
|
||||||
placeholder="请输入引用标准"
|
placeholder="请输入引用标准"
|
||||||
clearable
|
clearable
|
||||||
@@ -1186,10 +1195,10 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.form.submitType = this.submitType
|
||||||
this.form.commentText = this.commentText
|
this.form.commentText = this.commentText
|
||||||
this.form.approvalOpinion = this.approvalOpinion
|
this.form.approvalOpinion = this.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
json.submitType = this.submitType
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId : this.userId,
|
userId : this.userId,
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : ''" @click="handleTabs('3')">审批历史</div>
|
||||||
<!-- <div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>-->
|
<!-- <div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active === '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div style="flex: auto; overflow: auto;">
|
<div style="flex: auto; overflow: auto;">
|
||||||
<el-form
|
<el-form
|
||||||
ref="form"
|
ref="form"
|
||||||
@@ -875,10 +875,11 @@
|
|||||||
:lazy=true
|
:lazy=true
|
||||||
:multiple=true
|
:multiple=true
|
||||||
:check-strictly=true
|
:check-strictly=true
|
||||||
:show-checkBox=true
|
|
||||||
:modalShowFlag="modalShowFlag4"
|
:modalShowFlag="modalShowFlag4"
|
||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
:url="url"
|
:url="url"
|
||||||
|
:type="'TRUCK'"
|
||||||
|
:show-checkBox="showCheckBox"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel" @popoverHideCancel="popoverHideModelCancel"></tree-select-module>
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel" @popoverHideCancel="popoverHideModelCancel"></tree-select-module>
|
||||||
@@ -895,6 +896,7 @@
|
|||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
:url="url"
|
:url="url"
|
||||||
:type="'CAR'"
|
:type="'CAR'"
|
||||||
|
:show-checkBox="showCheckBox"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
||||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel2" @popoverHideCancel="popoverHideModelCancel2"></tree-select-module>
|
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel2" @popoverHideCancel="popoverHideModelCancel2"></tree-select-module>
|
||||||
@@ -1258,7 +1260,7 @@
|
|||||||
</el-collapse>
|
</el-collapse>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active === '2'">
|
<div class="content" v-show="active === '2'">
|
||||||
<div class="block" style="padding-top: 20px;">
|
<div class="block" style="padding-top: 20px;">
|
||||||
<el-timeline>
|
<el-timeline>
|
||||||
<el-timeline-item timestamp="发起流程" placement="top" :color="user1 ? '#66b1ff' : ''">
|
<el-timeline-item timestamp="发起流程" placement="top" :color="user1 ? '#66b1ff' : ''">
|
||||||
@@ -1305,7 +1307,7 @@
|
|||||||
</el-timeline>
|
</el-timeline>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-if="active === '3'">
|
<div class="content" v-show="active === '3'">
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
@@ -1596,6 +1598,7 @@ export default {
|
|||||||
commentText: '', // 意见
|
commentText: '', // 意见
|
||||||
title: '', // 新增编辑抽屉标题
|
title: '', // 新增编辑抽屉标题
|
||||||
ListModel: false, // 新增编辑抽屉开关
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
|
showCheckBox: true, // 树形控件是否展示多选框
|
||||||
active: '1', // 默认显示
|
active: '1', // 默认显示
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
saveLoading: false,
|
saveLoading: false,
|
||||||
@@ -1988,11 +1991,19 @@ export default {
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
this.url = "sarModelTree/list"
|
this.url = "sarModelTree/listByType"
|
||||||
this.urlChild = "sarModelTree/childByList"
|
this.urlChild = "sarModelTree/childByList"
|
||||||
this.key3++
|
this.key3++
|
||||||
},
|
},
|
||||||
|
choiceZRR5(type, title, id) {
|
||||||
|
this.drawerTitle = title
|
||||||
|
this.modalShowFlag5 = true
|
||||||
|
this.url = ''
|
||||||
|
this.urlChild = ''
|
||||||
|
this.url = "sarModelTree/listByType"
|
||||||
|
this.urlChild = "sarModelTree/childByList"
|
||||||
|
this.key4++
|
||||||
|
},
|
||||||
choiceTree(type, title, id) {
|
choiceTree(type, title, id) {
|
||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.getListTree(this.form)
|
this.getListTree(this.form)
|
||||||
@@ -2801,10 +2812,10 @@ export default {
|
|||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.fileInfoHandle();
|
this.fileInfoHandle();
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.form.submitType = this.submitType
|
||||||
this.form.commentText = this.commentText
|
this.form.commentText = this.commentText
|
||||||
this.form.approvalOpinion = this.approvalOpinion
|
this.form.approvalOpinion = this.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
json.submitType = this.submitType
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -2829,10 +2840,10 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.fileInfoHandle();
|
this.fileInfoHandle();
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
this.form.submitType = this.submitType
|
||||||
this.form.commentText = this.commentText
|
this.form.commentText = this.commentText
|
||||||
this.form.approvalOpinion = this.approvalOpinion
|
this.form.approvalOpinion = this.approvalOpinion
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
json.submitType = this.submitType
|
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
|
|||||||
@@ -52,6 +52,7 @@
|
|||||||
<el-tooltip v-if="form.standName" effect="dark" :content=form.standName placement="top-start">
|
<el-tooltip v-if="form.standName" effect="dark" :content=form.standName placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.standName"
|
v-model="form.standName"
|
||||||
|
disabled
|
||||||
placeholder="请输入标准中文名称"
|
placeholder="请输入标准中文名称"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -468,12 +469,14 @@
|
|||||||
<el-tooltip v-if="form.dtbjh" effect="dark" :content=form.dtbjh placement="top-start">
|
<el-tooltip v-if="form.dtbjh" effect="dark" :content=form.dtbjh placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.dtbjh"
|
v-model="form.dtbjh"
|
||||||
|
disabled
|
||||||
placeholder="请输入代替标准号"
|
placeholder="请输入代替标准号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
|
disabled
|
||||||
v-model="form.dtbjh"
|
v-model="form.dtbjh"
|
||||||
placeholder="请输入代替标准号"
|
placeholder="请输入代替标准号"
|
||||||
clearable
|
clearable
|
||||||
@@ -507,12 +510,14 @@
|
|||||||
<el-tooltip v-if="form.bfbdtbzh" effect="dark" :content=form.bfbdtbzh placement="top-start">
|
<el-tooltip v-if="form.bfbdtbzh" effect="dark" :content=form.bfbdtbzh placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.bfbdtbzh"
|
v-model="form.bfbdtbzh"
|
||||||
|
disabled
|
||||||
placeholder="请输入部分代替标准号"
|
placeholder="请输入部分代替标准号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
|
disabled
|
||||||
v-model="form.bfbdtbzh"
|
v-model="form.bfbdtbzh"
|
||||||
placeholder="请输入部分代替标准号"
|
placeholder="请输入部分代替标准号"
|
||||||
clearable
|
clearable
|
||||||
@@ -522,6 +527,7 @@
|
|||||||
<el-tooltip v-if="form.cbbh" effect="dark" :content=form.cbbh placement="top-start">
|
<el-tooltip v-if="form.cbbh" effect="dark" :content=form.cbbh placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.cbbh"
|
v-model="form.cbbh"
|
||||||
|
disabled
|
||||||
placeholder="请输入采标编号"
|
placeholder="请输入采标编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -529,6 +535,7 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
v-model="form.cbbh"
|
v-model="form.cbbh"
|
||||||
|
disabled
|
||||||
placeholder="请输入采标编号"
|
placeholder="请输入采标编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -537,6 +544,7 @@
|
|||||||
<el-tooltip v-if="form.yybj" effect="dark" :content=form.yybj placement="top-start">
|
<el-tooltip v-if="form.yybj" effect="dark" :content=form.yybj placement="top-start">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.yybj"
|
v-model="form.yybj"
|
||||||
|
disabled
|
||||||
placeholder="请输入引用标准"
|
placeholder="请输入引用标准"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -544,6 +552,7 @@
|
|||||||
<el-input
|
<el-input
|
||||||
v-else
|
v-else
|
||||||
v-model="form.yybj"
|
v-model="form.yybj"
|
||||||
|
disabled
|
||||||
placeholder="请输入引用标准"
|
placeholder="请输入引用标准"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="qbfz-step7">
|
<div class="qbfz-step7">
|
||||||
<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>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="qbfz-step1">
|
<div class="qbfz-step1">
|
||||||
<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>
|
||||||
@@ -126,19 +126,19 @@
|
|||||||
:model="roleForm"
|
:model="roleForm"
|
||||||
:rules="roleFormRules"
|
:rules="roleFormRules"
|
||||||
class="label-input-form">
|
class="label-input-form">
|
||||||
<el-timeline-item timestamp="发起流程" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.startUser ? '#66b1ff' : ''">
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
<el-form-item prop="startUserName" style="margin-bottom: 0">
|
||||||
<h4>标准法规工程师</h4>
|
<h4>标准法规工程师</h4>
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
<el-input v-model="roleForm.prcCreateUser" style="display: none;"></el-input>
|
<el-input v-model="roleForm.prcCreateUser" style="display: none;"></el-input>
|
||||||
<el-input v-model="roleForm.prcCreateUserName" placeholder="流程发起人"
|
<el-input v-model="roleForm.prcCreateUserName" placeholder="起草"
|
||||||
disabled></el-input>
|
disabled></el-input>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item timestamp="选择标准法规部部长审核" placement="top"
|
<el-timeline-item timestamp="审核" placement="top"
|
||||||
:color="roleForm.dockUser ? '#66b1ff' : ''" >
|
:color="roleForm.dockUser ? '#66b1ff' : ''" >
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
<el-form-item prop="dockUserName" style="margin-bottom: 0">
|
||||||
@@ -152,43 +152,43 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item timestamp="选择会签人员进行会签" placement="top"
|
<el-timeline-item timestamp="会签" placement="top"
|
||||||
:color="roleForm.countersigner ? '#66b1ff' : ''" >
|
:color="roleForm.countersigner ? '#66b1ff' : ''" >
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-form-item prop="countersignerName" style="margin-bottom: 0">
|
<el-form-item prop="countersignerName" style="margin-bottom: 0">
|
||||||
<h4>会签人员</h4>
|
<h4>相关责任人</h4>
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
<el-input v-model="roleForm.countersigner" style="display: none;"></el-input>
|
<el-input v-model="roleForm.countersigner" style="display: none;"></el-input>
|
||||||
<el-input v-model="roleForm.countersignerName" placeholder="选择会签人员"
|
<el-input v-model="roleForm.countersignerName" placeholder="选择相关责任人"
|
||||||
@click.native="choiceZRRS">
|
@click.native="choiceZRRS">
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item timestamp="选择审定责任人审定" placement="top"
|
<el-timeline-item timestamp="审定" placement="top"
|
||||||
:color="roleForm.examine ? '#66b1ff' : ''" >
|
:color="roleForm.examine ? '#66b1ff' : ''" >
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-form-item prop="examineName" style="margin-bottom: 0">
|
<el-form-item prop="examineName" style="margin-bottom: 0">
|
||||||
<h4>审定责任人</h4>
|
<h4>标准体系工作组组长</h4>
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
<el-input v-model="roleForm.examine" style="display: none;"></el-input>
|
<el-input v-model="roleForm.examine" style="display: none;"></el-input>
|
||||||
<el-input v-model="roleForm.examineName" placeholder="选择审定责任人"
|
<el-input v-model="roleForm.examineName" placeholder="选择标准体系工作组组长"
|
||||||
@click.native="choiceZRR('examine', '选择审定责任人', roleForm.examine)">
|
@click.native="choiceZRR('examine', '选择标准体系工作组组长', roleForm.examine)">
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item timestamp="选择批准负责人批准" placement="top"
|
<el-timeline-item timestamp="批准" placement="top"
|
||||||
:color="roleForm.approver ? '#66b1ff' : ''" >
|
:color="roleForm.approver ? '#66b1ff' : ''" >
|
||||||
<el-card>
|
<el-card>
|
||||||
<el-form-item prop="approverName" style="margin-bottom: 0">
|
<el-form-item prop="approverName" style="margin-bottom: 0">
|
||||||
<h4>批准负责人</h4>
|
<h4>标准法规部高级经理</h4>
|
||||||
<div style="margin-top: 10px;width: 300px;">
|
<div style="margin-top: 10px;width: 300px;">
|
||||||
<el-input v-model="roleForm.approver" style="display: none;"></el-input>
|
<el-input v-model="roleForm.approver" style="display: none;"></el-input>
|
||||||
<el-input v-model="roleForm.approverName" placeholder="选择批准负责人"
|
<el-input v-model="roleForm.approverName" placeholder="选择标准法规部高级经理"
|
||||||
@click.native="choiceZRR('approver', '选择批准负责人', roleForm.approver)">
|
@click.native="choiceZRR('approver', '选择标准法规部高级经理', roleForm.approver)">
|
||||||
</el-input>
|
</el-input>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="qbfz-step2">
|
<div class="qbfz-step2">
|
||||||
<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>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="qbfz-step2">
|
<div class="qbfz-step2">
|
||||||
<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>
|
||||||
|
|||||||
@@ -292,15 +292,17 @@ export default {
|
|||||||
{ required: true, message: "请选择下一步状态", trigger: "change" }
|
{ required: true, message: "请选择下一步状态", trigger: "change" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
associationOptions: [{
|
associationOptions: [
|
||||||
value: "修订",
|
// {
|
||||||
label: "修订"
|
// value: "修订",
|
||||||
}, {
|
// label: "修订"
|
||||||
|
// },
|
||||||
|
{
|
||||||
value: "废止",
|
value: "废止",
|
||||||
label: "废止"
|
label: "废止"
|
||||||
}, {
|
}, {
|
||||||
value: "有效",
|
value: "现行有效",
|
||||||
label: "有效"
|
label: "现行有效"
|
||||||
}]
|
}]
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="qbfz-step5">
|
<div class="qbfz-step5">
|
||||||
<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>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="qbfz-step6">
|
<div class="qbfz-step6">
|
||||||
<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>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<div class="qbfz-step7">
|
<div class="qbfz-step7">
|
||||||
<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>
|
||||||
|
|||||||
@@ -786,7 +786,7 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.workData = res.data.records;
|
this.workData = res.data.records;
|
||||||
this.total = res.data.total;
|
this.totalNo = res.data.total;
|
||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -275,6 +275,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
submitFlag: '',
|
||||||
toggleType: '5',
|
toggleType: '5',
|
||||||
comFlag: 1,
|
comFlag: 1,
|
||||||
active: "1",
|
active: "1",
|
||||||
@@ -338,7 +339,8 @@ export default {
|
|||||||
if(this.taskId){
|
if(this.taskId){
|
||||||
this.approvalFlag = true
|
this.approvalFlag = true
|
||||||
this.processTable()
|
this.processTable()
|
||||||
this.getData();
|
//被驳回时调用
|
||||||
|
this.getHistoryData()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -355,16 +357,6 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getDatas(){
|
|
||||||
queryTaskFirst({
|
|
||||||
bpnId: this.$route.query.bpnId
|
|
||||||
}).then(res => {
|
|
||||||
let mes = JSON.parse(res.mes)
|
|
||||||
this.roleForm = mes.roleForm
|
|
||||||
this.qbfsForm = mes.qbfsForm
|
|
||||||
this.commentText = mes.commentText
|
|
||||||
});
|
|
||||||
},
|
|
||||||
getData() {
|
getData() {
|
||||||
this.formLoading = true
|
this.formLoading = true
|
||||||
this.showFlag = false
|
this.showFlag = false
|
||||||
@@ -375,11 +367,29 @@ export default {
|
|||||||
this.getFormFieldList(mes);
|
this.getFormFieldList(mes);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.submitFlag = '重新起草'
|
||||||
|
this.showFlag = false
|
||||||
|
this.formLoading = true
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
}).then(res => {
|
||||||
|
if (res) {
|
||||||
|
const processForm = JSON.parse(res.mesg)
|
||||||
|
this.getFormFieldList(processForm)
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* @description: 动态表单读取
|
* @description: 动态表单读取
|
||||||
*/
|
*/
|
||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
let type = item.qbfsForm.type
|
console.log(item);
|
||||||
|
let type = item.type || item.qbfsForm.type
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
switch (type){
|
switch (type){
|
||||||
case '1':
|
case '1':
|
||||||
@@ -398,18 +408,18 @@ export default {
|
|||||||
this.comName = "establish"
|
this.comName = "establish"
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
this.qbfsForm = item.qbfsForm;
|
this.qbfsForm = item.qbfsForm || item;
|
||||||
this.formLoading = false;
|
this.formLoading = false;
|
||||||
this.roleForm.dockUser = item.roleForm.dockUser;
|
this.roleForm.dockUser = item.dockUser || item.roleForm.dockUser;
|
||||||
this.roleForm.dockUserName = item.roleForm.dockUserName;
|
this.roleForm.dockUserName = item.dockUserName || item.roleForm.dockUserName;
|
||||||
this.roleForm.countersigner = item.roleForm.countersigner;
|
this.roleForm.countersigner = item.countersigner || item.roleForm.countersigner;
|
||||||
this.roleForm.countersignerName = item.roleForm.countersignerName;
|
this.roleForm.countersignerName = item.countersignerName || item.roleForm.countersignerName;
|
||||||
this.roleForm.approver = item.roleForm.approver;
|
this.roleForm.approver = item.approver ||item.roleForm.approver;
|
||||||
this.roleForm.approverName = item.roleForm.approverName;
|
this.roleForm.approverName = item.approverName || item.roleForm.approverName;
|
||||||
this.roleForm.engineer = item.roleForm.engineer;
|
this.roleForm.engineer = item.engineer || item.roleForm.engineer;
|
||||||
this.roleForm.engineerName = item.roleForm.engineerName;
|
this.roleForm.engineerName = item.engineerName || item.roleForm.engineerName;
|
||||||
this.roleForm.examine = item.roleForm.examine;
|
this.roleForm.examine = item.examine || item.roleForm.examine;
|
||||||
this.roleForm.examineName = item.roleForm.examineName;
|
this.roleForm.examineName = item.examineName || item.roleForm.examineName;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleTabs(name) {
|
handleTabs(name) {
|
||||||
|
|||||||
@@ -531,13 +531,25 @@ export default {
|
|||||||
this.$http.postData('importWkExcel/importData', _formData,{
|
this.$http.postData('importWkExcel/importData', _formData,{
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
|
console.log(res);
|
||||||
if(res.ok){
|
if(res.ok){
|
||||||
this.qblx_pageData.qblxData = res.data
|
if(res.data.length){
|
||||||
|
this.qblx_pageData.qblxData = res.data
|
||||||
|
this.$message.success('文件上传成功')
|
||||||
|
}else{
|
||||||
|
this.$message.warning('请勿上传为空的文件')
|
||||||
|
}
|
||||||
}else{
|
}else{
|
||||||
alert(res.message)
|
this.$confirm(res.data, "提示", {
|
||||||
|
confirmButtonText: "确认",
|
||||||
|
confirmButtonClass: "common-button-primary",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning"
|
||||||
|
}).then(() => {
|
||||||
|
}).catch(() => {
|
||||||
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.$message.success('文件上传成功')
|
|
||||||
this.importModalshowflag = false
|
this.importModalshowflag = false
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.importFileAboutStand.clearFiles()
|
this.$refs.importFileAboutStand.clearFiles()
|
||||||
@@ -946,9 +958,10 @@ export default {
|
|||||||
},
|
},
|
||||||
//流程提交事件
|
//流程提交事件
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
let jsonData = this.qblx_pageData.qblxData
|
if(this.qblx_pageData.qblxData.length){
|
||||||
this.qblx_pageData.qblxFile = this.fileInfoList
|
let jsonData = this.qblx_pageData.qblxData
|
||||||
this.qblx_pageData.commentText = this.commentText;
|
this.qblx_pageData.qblxFile = this.fileInfoList
|
||||||
|
this.qblx_pageData.commentText = this.commentText;
|
||||||
this.$refs["qblx_pageData"].validate((valid) => {
|
this.$refs["qblx_pageData"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$refs["roleForm"].validate(async (valid) => {
|
this.$refs["roleForm"].validate(async (valid) => {
|
||||||
@@ -960,7 +973,7 @@ export default {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
finishCount++
|
finishCount++
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (finishCount === jsonData.length) {
|
if (finishCount === jsonData.length) {
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
@@ -975,6 +988,10 @@ export default {
|
|||||||
return this.$message.warning("请完善基础信息");
|
return this.$message.warning("请完善基础信息");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}else{
|
||||||
|
this.$message.warning('立项列表不能为空')
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,11 +38,11 @@
|
|||||||
<!-- @click="handlingTasks"-->
|
<!-- @click="handlingTasks"-->
|
||||||
<!-->办理任务</el-button>-->
|
<!-->办理任务</el-button>-->
|
||||||
<!--临时屏蔽 end-->
|
<!--临时屏蔽 end-->
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
class="common-button-default"
|
<!-- class="common-button-default"-->
|
||||||
round
|
<!-- round-->
|
||||||
@click="urgeRow"
|
<!-- @click="urgeRow"-->
|
||||||
>催办</el-button>
|
<!-- >催办</el-button>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="flow-list">
|
<div class="flow-list">
|
||||||
<el-table
|
<el-table
|
||||||
|
|||||||
@@ -220,7 +220,7 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
<div class="process-name">
|
<div class="process-name">
|
||||||
<el-card shadow="hover" v-btn-permission="''">
|
<el-card shadow="hover" v-btn-permission="'5af5073695c2e1d12ca3d5a6afae67b5'">
|
||||||
<div class="card-box" @click="handleCreateProcess('23')">
|
<div class="card-box" @click="handleCreateProcess('23')">
|
||||||
<div class="card-top">
|
<div class="card-top">
|
||||||
<div class="card-top-left">
|
<div class="card-top-left">
|
||||||
@@ -250,7 +250,7 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
</div>
|
</div>
|
||||||
<div class="process-name">
|
<div class="process-name">
|
||||||
<el-card shadow="hover" v-btn-permission="''">
|
<el-card shadow="hover" v-btn-permission="'afa3d1aee5fd8027b18675621afdeff6'">
|
||||||
<div class="card-box" @click="handleCreateProcess('25')">
|
<div class="card-box" @click="handleCreateProcess('25')">
|
||||||
<div class="card-top">
|
<div class="card-top">
|
||||||
<div class="card-top-left">
|
<div class="card-top-left">
|
||||||
|
|||||||
@@ -2081,7 +2081,7 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if(row.taskInfo === '会签并填写意见') {
|
} else if(row.taskInfo === '会签') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'qbfzStep3',
|
name: 'qbfzStep3',
|
||||||
query:{
|
query:{
|
||||||
@@ -2115,7 +2115,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
else if(row.taskInfo === '审定责任人审定') {
|
else if(row.taskInfo === '审定') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'qbfzStep6',
|
name: 'qbfzStep6',
|
||||||
query:{
|
query:{
|
||||||
@@ -2126,7 +2126,7 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else if(row.taskInfo === '批准负责人批准') {
|
}else if(row.taskInfo === '批准') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'qbfzStep7',
|
name: 'qbfzStep7',
|
||||||
query:{
|
query:{
|
||||||
@@ -2184,7 +2184,7 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}else if(row.taskInfo === '企标制修订计划整改') {
|
}else if(row.taskInfo === '重新起草') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'qbzxdjhgkStep1',
|
name: 'qbzxdjhgkStep1',
|
||||||
query:{
|
query:{
|
||||||
|
|||||||
@@ -878,7 +878,7 @@ export default {
|
|||||||
name: 'qbfzStep1',
|
name: 'qbfzStep1',
|
||||||
query: {
|
query: {
|
||||||
type: '24',
|
type: '24',
|
||||||
processName: '企标废止流程',
|
processName: mes.taskInfo,
|
||||||
bpnId: id
|
bpnId: id
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
+4
-4
@@ -3558,6 +3558,10 @@ export default {
|
|||||||
idList += item.id
|
idList += item.id
|
||||||
nameList += item.name
|
nameList += item.name
|
||||||
})
|
})
|
||||||
|
this.sarBussionessSearch.QCDW = data[0].institutionName
|
||||||
|
this.sarBussionessSearch.QCDWId = data[0].institutionId
|
||||||
|
this.$set(this.sarBussionessStandEO, 'QCDWId', data[0].institutionId)
|
||||||
|
this.$set(this.sarBussionessStandEO, 'QCDW', data[0].institutionName)
|
||||||
if (this.drawerTitle === '查询起草人') {
|
if (this.drawerTitle === '查询起草人') {
|
||||||
this.sarBussionessSearch['QCRBUSS'] = nameList
|
this.sarBussionessSearch['QCRBUSS'] = nameList
|
||||||
}
|
}
|
||||||
@@ -3566,12 +3570,8 @@ export default {
|
|||||||
this.$refs.sarBussionessStandForm.validateField('QCRBUSS')
|
this.$refs.sarBussionessStandForm.validateField('QCRBUSS')
|
||||||
}
|
}
|
||||||
// this.sarBussionessStandEO['QCRBUSS'] = nameList
|
// this.sarBussionessStandEO['QCRBUSS'] = nameList
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
choiceQCDW(type, title, id) {
|
choiceQCDW(type, title, id) {
|
||||||
|
|
||||||
|
|
||||||
this.nodeListZRBM = []
|
this.nodeListZRBM = []
|
||||||
this.nodeListZRBM.push(id)
|
this.nodeListZRBM.push(id)
|
||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
|
|||||||
Reference in New Issue
Block a user