feat: There is no way the,

This commit is contained in:
super_liu
2021-12-31 17:58:07 +08:00
parent cb17bfe56e
commit bd45404610
20 changed files with 484 additions and 177 deletions
+60 -68
View File
@@ -7,7 +7,7 @@
:append-to-body=true :append-to-body=true
:before-close="cancelUserInfo" :before-close="cancelUserInfo"
:show-checkbox="showCheckBox" :show-checkbox="showCheckBox"
> >
<el-tree class="common-tree" :style="style" ref="tree" :data="data" :props="defaultProps" <el-tree class="common-tree" :style="style" ref="tree" :data="data" :props="defaultProps"
:load="loadNode" :load="loadNode"
:lazy="lazy" :lazy="lazy"
@@ -45,12 +45,12 @@
return ""; return "";
} }
}, },
type: { type: {
type: String, type: String,
default () { default () {
return ""; return "";
} }
}, },
urlChild: { urlChild: {
type: String, type: String,
default () { default () {
@@ -120,7 +120,7 @@
return ''; return '';
} }
}, },
showCheckBox:{ showCheckBox:{
type: Boolean, type: Boolean,
default () { default () {
return true; return true;
@@ -233,20 +233,20 @@
this.isShowSelect = !this.isShowSelect; this.isShowSelect = !this.isShowSelect;
} }
}, },
// 递归 // 递归
getTreeData(data) { getTreeData(data) {
// 循环遍历json数据 // 循环遍历json数据
for (let i = 0; i < data.length; i++) { for (let i = 0; i < data.length; i++) {
if (data[i].children.length < 1) { if (data[i].children.length < 1) {
// children若为空数组,则将children设为undefined // children若为空数组,则将children设为undefined
delete data[i].children delete data[i].children
} else { } else {
// children若不为空数组,则继续 递归调用 本方法 // children若不为空数组,则继续 递归调用 本方法
this.getTreeData(data[i].children) this.getTreeData(data[i].children)
} }
} }
return data return data
}, },
// 节点选中状态发生变化时的回调 // 节点选中状态发生变化时的回调
handleCheckChange () { handleCheckChange () {
var checkedKeys = this.$refs.tree.getCheckedKeys(); // 所有被选中的节点的 key 所组成的数组数据 var checkedKeys = this.$refs.tree.getCheckedKeys(); // 所有被选中的节点的 key 所组成的数组数据
@@ -281,52 +281,44 @@
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
/deep/ .expanded{ /deep/ .expanded{
background-image: none !important; background-image: none !important;
background-size:100% 100%; background-size:100% 100%;
} }
.el-drawer__body{ .el-drawer__body{
& > div:first-child{ & > div:first-child{
display: flex; display: flex;
flex: auto; flex: auto;
flex-direction: column; flex-direction: column;
} }
} }
::v-deep .el-drawer__header{ ::v-deep .el-drawer__header{
&>span:first-child{ &>span:first-child{
outline: none!important; outline: none!important;
} }
} }
::v-deep .el-drawer{ ::v-deep .el-drawer{
outline: none!important; outline: none!important;
} }
//#tree { //#tree {
// .el-checkbox .el-checkbox__inner { // .el-checkbox .el-checkbox__inner {
// display: none; // display: none;
// } // }
// div[role="group"] { // div[role="group"] {
// .el-checkbox .el-checkbox__inner { // .el-checkbox .el-checkbox__inner {
// display: inline-block; // display: inline-block;
// } // }
// } // }
//} //}
// //
//.el-tree-node { //.el-tree-node {
// .is-leaf + .el-checkbox .el-checkbox__inner { // .is-leaf + .el-checkbox .el-checkbox__inner {
// display: inline-block; // display: inline-block;
// } // }
// .el-checkbox .el-checkbox__inner { // .el-checkbox .el-checkbox__inner {
// display: none; // display: none;
// } // }
//} //}
/deep/ .el-tree-node{
.is-leaf + .el-checkbox .el-checkbox__inner{
display: inline-block;
}
.el-checkbox .el-checkbox__inner{
display: none;
}
}
</style> </style>
@@ -237,7 +237,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="起草部门" prop="QCDW" class="add-form-item form-item-disabled"> <el-form-item label="起草部门" prop="QCDW" class="add-form-item form-item-disabled">
<el-input <el-input
clearable readonly="readonly"
v-model="form.QCDW" v-model="form.QCDW"
placeholder="选择起草部门" placeholder="选择起草部门"
@click.native="choiceQCDW('QCDWId', '起草部门', form.QCDW)"> @click.native="choiceQCDW('QCDWId', '起草部门', form.QCDW)">
@@ -478,7 +478,7 @@
<el-form-item prop="bussUser2Name" style="margin-bottom: 0"> <el-form-item prop="bussUser2Name" 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.bussUser2Name" clearable placeholder="其他起草人" @click.native="choiceZRRList('bussUser2', '选择其他起草人', roleForm.bussUser2)"></el-input> <el-input v-model="roleForm.bussUser2Name" readonly="readonly" clearable placeholder="其他起草人" @click.native="choiceZRRList('bussUser2', '选择其他起草人', roleForm.bussUser2)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -488,7 +488,7 @@
<el-form-item prop="bussUser3Name" style="margin-bottom: 0"> <el-form-item prop="bussUser3Name" style="margin-bottom: 0">
<h4>企标编写汇总修订人</h4> <h4>企标编写汇总修订人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input disabled v-model="roleForm.bussUser3Name" clearable placeholder="企标编写汇总修订人"></el-input> <el-input disabled v-model="roleForm.bussUser3Name" readonly="readonly" clearable placeholder="企标编写汇总修订人"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -498,7 +498,7 @@
<el-form-item prop="bussUser4Name" style="margin-bottom: 0"> <el-form-item prop="bussUser4Name" 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.bussUser4Name" placeholder="选择总院各中心兼职标准化员/各事业部标准化员" @click.native="choiceZRR('bussUser4', '选择总院各中心兼职标准化员/各事业部标准化员', roleForm.bussUser4)"></el-input> <el-input v-model="roleForm.bussUser4Name" readonly="readonly" placeholder="选择总院各中心兼职标准化员/各事业部标准化员" @click.native="choiceZRR('bussUser4', '选择总院各中心兼职标准化员/各事业部标准化员', roleForm.bussUser4)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -508,7 +508,7 @@
<el-form-item prop="bussUser5Name" style="margin-bottom: 0"> <el-form-item prop="bussUser5Name" 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.bussUser5Name" placeholder="选择会签征求意见人员" @click.native="choiceZRRList('bussUser5', '选择会签征求意见人员', roleForm.bussUser5)"></el-input> <el-input v-model="roleForm.bussUser5Name" readonly="readonly" placeholder="选择会签征求意见人员" @click.native="choiceZRRList('bussUser5', '选择会签征求意见人员', roleForm.bussUser5)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -528,7 +528,7 @@
<el-form-item prop="bussUser7Name" style="margin-bottom: 0"> <el-form-item prop="bussUser7Name" 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.bussUser7Name" placeholder="总院标准法规部产品标准工程师/各事业部标准法规部人员" @click.native="choiceZRR('bussUser7', '选择总院标准法规部产品标准工程师/各事业部标准法规部人员', roleForm.bussUser7)"></el-input> <el-input v-model="roleForm.bussUser7Name" readonly="readonly" placeholder="总院标准法规部产品标准工程师/各事业部标准法规部人员" @click.native="choiceZRR('bussUser7', '选择总院标准法规部产品标准工程师/各事业部标准法规部人员', roleForm.bussUser7)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -538,7 +538,7 @@
<el-form-item prop="bussUser8Name" style="margin-bottom: 0"> <el-form-item prop="bussUser8Name" 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.bussUser8Name" placeholder="选择总院项目总工/各事业部整车所产品经理" @click.native="choiceZRR('bussUser8', '选择总院项目总工/各事业部整车所产品经理', roleForm.bussUser8)"></el-input> <el-input v-model="roleForm.bussUser8Name" readonly="readonly" placeholder="选择总院项目总工/各事业部整车所产品经理" @click.native="choiceZRR('bussUser8', '选择总院项目总工/各事业部整车所产品经理', roleForm.bussUser8)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -548,7 +548,7 @@
<el-form-item prop="bussUser9Name" style="margin-bottom: 0"> <el-form-item prop="bussUser9Name" 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.bussUser9Name" placeholder="选择总院标准法规部高级经理/各事业部标准业务/认证业务经理" @click.native="choiceZRR('bussUser9', '选择总院标准法规部高级经理/各事业部标准业务/认证业务经理', roleForm.bussUser9)"></el-input> <el-input v-model="roleForm.bussUser9Name" readonly="readonly" placeholder="选择总院标准法规部高级经理/各事业部标准业务/认证业务经理" @click.native="choiceZRR('bussUser9', '选择总院标准法规部高级经理/各事业部标准业务/认证业务经理', roleForm.bussUser9)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -558,7 +558,7 @@
<el-form-item prop="bussUser10Name" style="margin-bottom: 0"> <el-form-item prop="bussUser10Name" 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.bussUser10Name" placeholder="选择总院标准法规部高级经理/各事业部标准业务/认证业务经理" @click.native="choiceZRR('bussUser10', '选择总院标准法规部高级经理/各事业部标准业务/认证业务经理', roleForm.bussUser10)"></el-input> <el-input v-model="roleForm.bussUser10Name" readonly="readonly" placeholder="选择总院标准法规部高级经理/各事业部标准业务/认证业务经理" @click.native="choiceZRR('bussUser10', '选择总院标准法规部高级经理/各事业部标准业务/认证业务经理', roleForm.bussUser10)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -568,7 +568,7 @@
<el-form-item prop="bussUser11Name" style="margin-bottom: 0"> <el-form-item prop="bussUser11Name" 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.bussUser11Name" placeholder="选择总院技术管理中心主任/各事业部主管标准业务高级经理" @click.native="choiceZRR('bussUser11', '选择总院技术管理中心主任/各事业部主管标准业务高级经理', roleForm.bussUser11)"></el-input> <el-input v-model="roleForm.bussUser11Name" readonly="readonly" placeholder="选择总院技术管理中心主任/各事业部主管标准业务高级经理" @click.native="choiceZRR('bussUser11', '选择总院技术管理中心主任/各事业部主管标准业务高级经理', roleForm.bussUser11)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -578,7 +578,7 @@
<el-form-item prop="bussUser12Name" style="margin-bottom: 0"> <el-form-item prop="bussUser12Name" 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.bussUser12Name" placeholder="选择总院平台总监/各事业部研发副总裁" @click.native="choiceZRR('bussUser12', '选择总院平台总监/各事业部研发副总裁', roleForm.bussUser12)"></el-input> <el-input v-model="roleForm.bussUser12Name" readonly="readonly" placeholder="选择总院平台总监/各事业部研发副总裁" @click.native="choiceZRR('bussUser12', '选择总院平台总监/各事业部研发副总裁', roleForm.bussUser12)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -588,7 +588,7 @@
<el-form-item prop="bussUser13Name" style="margin-bottom: 0"> <el-form-item prop="bussUser13Name" 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.bussUser13Name" placeholder="选择总院标准法规部产品标准工程师/各事业部标准化员" @click.native="choiceZRR('bussUser13', '选择总院标准法规部产品标准工程师/各事业部标准化员', roleForm.bussUser13)"></el-input> <el-input v-model="roleForm.bussUser13Name" readonly="readonly" placeholder="选择总院标准法规部产品标准工程师/各事业部标准化员" @click.native="choiceZRR('bussUser13', '选择总院标准法规部产品标准工程师/各事业部标准化员', roleForm.bussUser13)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -598,7 +598,7 @@
<el-form-item prop="bussUser14Name" style="margin-bottom: 0"> <el-form-item prop="bussUser14Name" 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.bussUser14Name" placeholder="选择抄送人员" @click.native="choiceZRR('bussUser14', '选择标抄送人员', roleForm.bussUser14)"></el-input> <el-input v-model="roleForm.bussUser14Name" readonly="readonly" placeholder="选择抄送人员" @click.native="choiceZRR('bussUser14', '选择标抄送人员', roleForm.bussUser14)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -1950,7 +1950,19 @@
}, },
choiceZRRList (type, title, id) { choiceZRRList (type, title, id) {
this.nodeList2 = [] this.nodeList2 = []
this.nodeList2.push(id) if(type === 'qcUserId'){
if ( this.roleForm.qcUserId.length > 0) {
this.nodeList2 = this.roleForm.qcUserId.split(',')
}
}else if(type === 'hqUserId'){
if ( this.roleForm.hqUserId.length > 0) {
this.nodeList2 = this.roleForm.hqUserId.split(',')
}
}else if(type === 'QCRBUSS'){
if ( this.form.QCRBUSSID.length > 0) {
this.nodeList2 = this.form.QCRBUSSID.split(',')
}
}
this.userType = type this.userType = type
this.drawerTitle = title this.drawerTitle = title
this.modalShowRoleFlag = true this.modalShowRoleFlag = true
@@ -2004,7 +2016,9 @@
}, },
choiceQCDW(type, title, id) { choiceQCDW(type, title, id) {
this.nodeListZRBM = [] this.nodeListZRBM = []
this.nodeListZRBM.push(id) if(this.form.QCDWID.length > 0){
this.nodeListZRBM = this.form.QCDWID.split(',')
}
this.drawerTitle = title this.drawerTitle = title
this.modalShowFlagZRBM = true this.modalShowFlagZRBM = true
}, },
@@ -254,12 +254,18 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="关联模块--乘用车VPPS中文名称" title="关联模块--乘用车VPPS中文名称" class="add-form-item form-item-disabled">
<el-input v-model="form.CYCVPPSBMBUSS" readonly="readonly" placeholder="选择VPPS编码" @click.native="choiceZRR2('car', '乘用车VPPS编码', form.CYCVPPSBMBUSS,true)"></el-input>
</el-form-item>
<el-form-item label="关联模块--卡车VPPS编码" title="关联模块--卡车VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.KCVPPSBMBUSS" readonly="readonly" placeholder="选择VPPS编码" @click.native="choiceZRR3('struck', '卡车VPPS编码', form.KCVPPSBMBUSS,false)"></el-input>
</el-form-item>
<el-form-item label="模块结构单元变型号" title="模块结构单元变型号" class="add-form-item form-item-disabled">
<el-input v-model="form.DYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号" @click.native="choiceZRR4('dybxhbuss', '模块结构单元', form.DYBXHBUSS,false)"></el-input>
</el-form-item>
<el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled"> <el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.TXLBBUSS" placeholder="选择体系类别" clearable @click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input> <el-input v-model="form.TXLBBUSS" placeholder="选择体系类别" clearable @click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="模块VPPS编码" title="模块VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSBMBUSS" placeholder="选择VPPS编码" @click.native="choiceZRR2('VPPSBMBUSS', 'VPPS编码', form.VPPSBMBUSS,false)"></el-input>
</el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled"> <el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled">
@@ -292,8 +298,14 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="模块中文名称" prop="VPPSCNBUSS" class="add-form-item form-item-disabled"> <el-form-item label="关联模块--乘用车vpps中文名称" prop="CYCVPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSCNBUSS" placeholder="请输入模块中文名称" clearable :disabled="true"></el-input> <el-input v-model="form.CYCVPPSCNBUSS" placeholder="请输入模块中文名称" clearable :disabled="true"></el-input>
</el-form-item>
<el-form-item label="关联模块--卡车VPPS编码" prop="KCVPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.KCVPPSCNBUSS" placeholder="关联模块--卡车VPPS编码" clearable :disabled="true"></el-input>
</el-form-item>
<el-form-item label="模块结构单元名称" prop="DYMCBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.DYMCBUSS" placeholder="模块结构单元名称" clearable :disabled="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@@ -502,6 +514,22 @@ export default {
...mapGetters(['userInfo']) ...mapGetters(['userInfo'])
}, },
methods: { methods: {
choiceZRR1(type, title, id) {
this.$emit('formChoiceZRR1',type,title,id)
},
choiceZRR2(type, title, id,flag) {
this.$emit('formChoiceZRR2',type,title,id,flag)
},
choiceZRR3(type, title, id) {
this.$emit('formChoiceZRR3',type,title,id)
},
choiceZRR4(type, title, id) {
this.$emit('formChoiceZRR4',type,title,id)
},
choiceQCDW(type, title, id) { choiceQCDW(type, title, id) {
this.$emit('formChoiceQCDW',type,title,id) this.$emit('formChoiceQCDW',type,title,id)
}, },
@@ -159,12 +159,18 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="关联模块--乘用车VPPS中文名称" title="关联模块--乘用车VPPS中文名称" class="add-form-item form-item-disabled">
<el-input v-model="form.CYCVPPSBMBUSS" :disabled="disabledState"></el-input>
</el-form-item>
<el-form-item label="关联模块--卡车VPPS编码" title="关联模块--卡车VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.KCVPPSBMBUSS" :disabled="disabledState"></el-input>
</el-form-item>
<el-form-item label="模块结构单元变型号" title="模块结构单元变型号" class="add-form-item form-item-disabled">
<el-input v-model="form.DYBXHBUSS" :disabled="disabledState"></el-input>
</el-form-item>
<el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled"> <el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.TXLBBUSS" :disabled="disabledState" clearable></el-input> <el-input v-model="form.TXLBBUSS" :disabled="disabledState" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="模块VPPS编码" title="模块VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSBMBUSS" :disabled="disabledState"></el-input>
</el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled"> <el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled">
@@ -190,8 +196,14 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="模块中文名称" prop="VPPSCNBUSS" class="add-form-item form-item-disabled"> <el-form-item label="关联模块--乘用车vpps中文名称" prop="CYCVPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSCNBUSS" clearable :disabled="true"></el-input> <el-input v-model="form.CYCVPPSCNBUSS" clearable :disabled="true"></el-input>
</el-form-item>
<el-form-item label="关联模块--卡车VPPS编码" prop="KCVPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.KCVPPSCNBUSS" clearable :disabled="true"></el-input>
</el-form-item>
<el-form-item label="模块结构单元名称" prop="DYMCBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.DYMCBUSS" clearable :disabled="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@@ -168,8 +168,14 @@
<el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled"> <el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.TXLBBUSS" :disabled="disabledState" clearable></el-input> <el-input v-model="form.TXLBBUSS" :disabled="disabledState" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="模块VPPS编码" title="模块VPPS编码" class="add-form-item form-item-disabled"> <el-form-item label="关联模块--乘用车VPPS中文名称" title="关联模块--乘用车VPPS中文名称" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSBMBUSS" :disabled="disabledState"></el-input> <el-input v-model="form.CYCVPPSBMBUSS" :disabled="disabledState"></el-input>
</el-form-item>
<el-form-item label="关联模块--卡车VPPS编码" title="关联模块--卡车VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.KCVPPSBMBUSS" :disabled="disabledState"></el-input>
</el-form-item>
<el-form-item label="模块结构单元变型号" title="模块结构单元变型号" class="add-form-item form-item-disabled">
<el-input v-model="form.DYBXHBUSS" :disabled="disabledState"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@@ -196,8 +202,14 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="模块中文名称" prop="VPPSCNBUSS" class="add-form-item form-item-disabled"> <el-form-item label="关联模块--乘用车vpps中文名称" prop="CYCVPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSCNBUSS" clearable :disabled="true"></el-input> <el-input v-model="form.CYCVPPSCNBUSS" clearable :disabled="true"></el-input>
</el-form-item>
<el-form-item label="关联模块--卡车VPPS编码" prop="KCVPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.KCVPPSCNBUSS" clearable :disabled="true"></el-input>
</el-form-item>
<el-form-item label="模块结构单元名称" prop="DYMCBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.DYMCBUSS" clearable :disabled="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@@ -263,12 +263,18 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="关联模块--乘用车VPPS中文名称" title="关联模块--乘用车VPPS中文名称" class="add-form-item form-item-disabled">
<el-input v-model="form.CYCVPPSBMBUSS" readonly="readonly" placeholder="选择VPPS编码" @click.native="choiceZRR2('car', '乘用车VPPS编码', form.CYCVPPSBMBUSS,true)"></el-input>
</el-form-item>
<el-form-item label="关联模块--卡车VPPS编码" title="关联模块--卡车VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.KCVPPSBMBUSS" readonly="readonly" placeholder="选择VPPS编码" @click.native="choiceZRR3('struck', '卡车VPPS编码', form.KCVPPSBMBUSS,false)"></el-input>
</el-form-item>
<el-form-item label="模块结构单元变型号" title="模块结构单元变型号" class="add-form-item form-item-disabled">
<el-input v-model="form.DYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号" @click.native="choiceZRR4('dybxhbuss', '模块结构单元', form.DYBXHBUSS,false)"></el-input>
</el-form-item>
<el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled"> <el-form-item label="体系类别" prop="TXLBBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.TXLBBUSS" placeholder="选择体系类别" clearable @click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input> <el-input v-model="form.TXLBBUSS" placeholder="选择体系类别" clearable @click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="模块VPPS编码" title="模块VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSBMBUSS" placeholder="选择VPPS编码" @click.native="choiceZRR2('VPPSBMBUSS', 'VPPS编码', form.VPPSBMBUSS,false)"></el-input>
</el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled"> <el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled">
@@ -301,8 +307,14 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="模块中文名称" prop="VPPSCNBUSS" class="add-form-item form-item-disabled"> <el-form-item label="关联模块--乘用车vpps中文名称" prop="CYCVPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.VPPSCNBUSS" placeholder="请输入模块中文名称" clearable :disabled="true"></el-input> <el-input v-model="form.CYCVPPSCNBUSS" placeholder="请输入模块中文名称" clearable :disabled="true"></el-input>
</el-form-item>
<el-form-item label="关联模块--卡车VPPS编码" prop="KCVPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.KCVPPSCNBUSS" placeholder="关联模块--卡车VPPS编码" clearable :disabled="true"></el-input>
</el-form-item>
<el-form-item label="模块结构单元名称" prop="DYMCBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.DYMCBUSS" placeholder="模块结构单元名称" clearable :disabled="true"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@@ -981,28 +993,56 @@
:data="standSystemOptions" :data="standSystemOptions"
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys" :defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
:nodeKey="nodeKey" @popoverHide="popoverHide" @popoverHideCancel="popoverHideCancel"></tree-select-new> :nodeKey="nodeKey" @popoverHide="popoverHide" @popoverHideCancel="popoverHideCancel"></tree-select-new>
<tree-select-new <tree-select-new
width = "500" width = "500"
:lazy=true :lazy=true
:multiple="multipleFlag2" :multiple="multipleFlag2"
:check-strictly=true :check-strictly=true
:modalShowFlag="modalShowFlag2" :modalShowFlag="modalShowFlag2"
:drawerTitle="drawerTitle" :drawerTitle="drawerTitle"
:url="url" :type="type"
:urlChild="urlChild" :url="url"
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1" :urlChild="urlChild"
:nodeKey="nodeKeyCode" @popoverHide="popoverHideBusVs" @popoverHideCancel="popoverHideBusVsCancel"></tree-select-new> :defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
:nodeKey="nodeKeyCode" @popoverHide="popoverHideBusVs"
@popoverHideCancel="popoverHideBusVsCancel"></tree-select-new>
<tree-select-new
width="500"
:lazy=true
:multiple=true
:check-strictly=true
:modalShowFlag="modalShowFlag3"
:drawerTitle="drawerTitle"
:url="url"
:type="'truck'"
:urlChild="urlChild"
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
:nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs"
@popoverHideCancel="popoverHideCarVsCancel()"></tree-select-new>
<tree-select-module
width="500"
:lazy=true
:multiple=true
:check-strictly=true
:modalShowFlag="modalShowFlag4"
:drawerTitle="drawerTitle"
:url="url"
:urlChild="urlChild"
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"
@popoverHideCancel="popoverHideModelCancel()"></tree-select-module>
</div> </div>
</template> </template>
<script> <script>
import { onlyOfficeUrl } from '@/sysConfig'
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 {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId} from "api/process"; import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId} from "api/process";
import TreeSelect from '@/components/treeSelect/treeSelect.vue'; import TreeSelect from '@/components/treeSelect/treeSelect.vue';
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue'; import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
import treeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
let Base64 = require('js-base64').Base64; let Base64 = require('js-base64').Base64;
export default { export default {
@@ -1012,7 +1052,8 @@
ProcessFooter, ProcessFooter,
ProcessTitle, ProcessTitle,
TreeSelect, TreeSelect,
TreeSelectNew TreeSelectNew,
treeSelectModule
}, },
data () { data () {
const validateZrUserIdName = (rule, value, callback) => { const validateZrUserIdName = (rule, value, callback) => {
@@ -1120,7 +1161,7 @@
unit: '', unit: '',
esName: '', esName: '',
planStatus: '0,3', planStatus: '0,3',
reviseStatus: '2', reviseStatus: '',
}, },
tableData: { tableData: {
// 标准表格数据 // 标准表格数据
@@ -1266,6 +1307,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -1876,7 +1923,7 @@
this.standardSearchForm.unit = '' this.standardSearchForm.unit = ''
this.standardSearchForm.esName = '' this.standardSearchForm.esName = ''
this.standardSearchForm.planStatus = '0,3' this.standardSearchForm.planStatus = '0,3'
this.standardSearchForm.reviseStatus = '2' this.standardSearchForm.reviseStatus = ''
setTimeout(() => { setTimeout(() => {
this.handleSearchStandard() this.handleSearchStandard()
}, 100) }, 100)
@@ -2050,14 +2097,15 @@
this.modalShowFlag1 = true this.modalShowFlag1 = true
this.key++ this.key++
}, },
choiceZRR2 (type, title, id) { choiceZRR2 (type, title, id,flag) {
this.drawerTitle = title this.drawerTitle = title
this.modalShowFlag2 = true this.modalShowFlag2 = true
this.multipleFlag2 = flag
this.url = '' this.url = ''
this.urlChild = '' this.urlChild = ''
this.type = type
this.url="sarVppsTree/list" this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList" this.urlChild="sarVppsTree/childByList"
this.key1++
}, },
choiceZRR3 (type, title, id) { choiceZRR3 (type, title, id) {
this.drawerTitle = title this.drawerTitle = title
@@ -2066,7 +2114,6 @@
this.urlChild = '' this.urlChild = ''
this.url="sarVppsTree/list" this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList" this.urlChild="sarVppsTree/childByList"
this.key2++
}, },
choiceZRR4 (type, title, id) { choiceZRR4 (type, title, id) {
this.drawerTitle = title this.drawerTitle = title
@@ -2075,7 +2122,6 @@
this.urlChild = '' this.urlChild = ''
this.url="sarModelTree/list" this.url="sarModelTree/list"
this.urlChild="sarModelTree/childByList" this.urlChild="sarModelTree/childByList"
this.key3++
}, },
getTree () { getTree () {
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
@@ -2435,37 +2481,60 @@
} }
}, },
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
if (checkedData && checkedData.length != 0) {
if (checkedData.length > 0) {
this.form.CYCVPPSBMBUSS = checkedData.map(item => item.code).join(",")
this.form.CYCVPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
} else {
this.form.CYCVPPSBMBUSS = checkedData.code
this.form.CYCVPPSCNBUSS = checkedData.chineseName
}
}else {
this.form.CYCVPPSBMBUSS = ''
this.form.CYCVPPSCNBUSS = ''
}
this.modalShowFlag2 = false
this.$forceUpdate()
},
popoverHideBusVsCancel(){ popoverHideBusVsCancel(){
this.modalShowFlag2 = false this.modalShowFlag2 = false
}, },
popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) { popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
if(checkedData && checkedData.length != 0) { if (checkedData && checkedData.length != 0) {
if(checkedData.length > 0){ if (checkedData.length > 0) {
this.form.kccvppsbm = checkedData.map(item => item.code).join(",") this.form.KCVPPSBMBUSS = checkedData.map(item => item.code).join(",")
this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",") this.form.KCVPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
}else { } else {
this.form.kccvppsbm = checkedData.code this.form.KCVPPSBMBUSS = checkedData.code
this.form.kccvppscn = checkedData.chineseName this.form.KCVPPSCNBUSS = checkedData.chineseName
} }
this.modalShowFlag3 = false }else {
this.form.KCVPPSBMBUSS = ''
this.form.KCVPPSCNBUSS = ''
} }
this.modalShowFlag3 = false
this.$forceUpdate()
}, },
popoverHideCarVsCancel(){ popoverHideCarVsCancel(){
this.modalShowFlag3 = false this.modalShowFlag3 = false
}, },
popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) { popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) {
if(checkedData && checkedData.length != 0) { console.log(checkedData)
if(checkedData.length > 0){ if (checkedData && checkedData.length != 0) {
this.form.dybxh = checkedData.map(item => item.model).join(",") if (checkedData.length > 0) {
this.form.dymc = checkedData.map(item => item.name).join(",") this.form.DYBXHBUSS = checkedData.map(item => item.model).join(",")
}else { this.form.DYMCBUSS = checkedData.map(item => item.name).join(",")
this.form.dybxh = checkedData.model } else {
this.form.dymc = checkedData.name this.form.DYBXHBUSS = checkedData.model
this.form.DYMCBUSS = checkedData.name
} }
this.modalShowFlag4 = false }else {
this.form.DYBXHBUSS = ''
this.form.DYMCBUSS = ''
} }
this.modalShowFlag4 = false
this.$forceUpdate()
}, },
popoverHideModelCancel(){ popoverHideModelCancel(){
this.modalShowFlag4 = false this.modalShowFlag4 = false
@@ -839,6 +839,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -838,6 +838,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -823,6 +823,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -829,6 +829,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -34,6 +34,10 @@
@formSelectLawsCancel = "formSelectLawsCancel" @formSelectLawsCancel = "formSelectLawsCancel"
@formChoiceZRRListCancel = "formChoiceZRRListCancel" @formChoiceZRRListCancel = "formChoiceZRRListCancel"
@formChoiceQCDW = "formChoiceQCDW" @formChoiceQCDW = "formChoiceQCDW"
@formChoiceZRR1 = "formChoiceZRR1"
@formChoiceZRR2 = "formChoiceZRR2"
@formChoiceZRR3 = "formChoiceZRR3"
@formChoiceZRR4 = "formChoiceZRR4"
/> />
<ProcessTitle> <ProcessTitle>
<template slot="title">文件汇总</template> <template slot="title">文件汇总</template>
@@ -891,6 +895,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -1122,6 +1132,18 @@
this.drawerTitle = title this.drawerTitle = title
this.modalShowFlagZRBM = true this.modalShowFlagZRBM = true
}, },
formChoiceZRR1(type, title, id){
this.choiceZRR1(type, title, id)
},
formChoiceZRR2(type,title,id,flag){
this.choiceZRR2(type,title,id,flag)
},
formChoiceZRR3(type, title, id){
this.choiceZRR3(type, title, id)
},
formChoiceZRR4(type, title, id){
this.choiceZRR4(type, title, id)
},
formChoiceQCDW(type, title, id){ formChoiceQCDW(type, title, id){
this.choiceQCDW(type, title, id) this.choiceQCDW(type, title, id)
}, },
@@ -1718,14 +1740,15 @@
this.modalShowFlag1 = true this.modalShowFlag1 = true
this.key++ this.key++
}, },
choiceZRR2 (type, title, id) { choiceZRR2 (type, title, id,flag) {
this.drawerTitle = title this.drawerTitle = title
this.modalShowFlag2 = true this.modalShowFlag2 = true
this.multipleFlag2 = flag
this.url = '' this.url = ''
this.urlChild = '' this.urlChild = ''
this.type = type
this.url="sarVppsTree/list" this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList" this.urlChild="sarVppsTree/childByList"
this.key1++
}, },
choiceZRR3 (type, title, id) { choiceZRR3 (type, title, id) {
this.drawerTitle = title this.drawerTitle = title
@@ -1734,7 +1757,6 @@
this.urlChild = '' this.urlChild = ''
this.url="sarVppsTree/list" this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList" this.urlChild="sarVppsTree/childByList"
this.key2++
}, },
choiceZRR4 (type, title, id) { choiceZRR4 (type, title, id) {
this.drawerTitle = title this.drawerTitle = title
@@ -1743,7 +1765,6 @@
this.urlChild = '' this.urlChild = ''
this.url="sarModelTree/list" this.url="sarModelTree/list"
this.urlChild="sarModelTree/childByList" this.urlChild="sarModelTree/childByList"
this.key3++
}, },
getTree () { getTree () {
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
@@ -834,6 +834,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -971,6 +971,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -34,6 +34,10 @@
@formSelectLawsCancel = "formSelectLawsCancel" @formSelectLawsCancel = "formSelectLawsCancel"
@formChoiceZRRListCancel = "formChoiceZRRListCancel" @formChoiceZRRListCancel = "formChoiceZRRListCancel"
@formChoiceQCDW = "formChoiceQCDW" @formChoiceQCDW = "formChoiceQCDW"
@formChoiceZRR1 = "formChoiceZRR1"
@formChoiceZRR2 = "formChoiceZRR2"
@formChoiceZRR3 = "formChoiceZRR3"
@formChoiceZRR4 = "formChoiceZRR4"
/> />
<ProcessTitle> <ProcessTitle>
<template slot="title">意见信息</template> <template slot="title">意见信息</template>
@@ -965,6 +969,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -1206,6 +1216,18 @@
formChoiceQCDW(type, title, id){ formChoiceQCDW(type, title, id){
this.choiceQCDW(type, title, id) this.choiceQCDW(type, title, id)
}, },
formChoiceZRR1(type, title, id){
this.choiceZRR1(type, title, id)
},
formChoiceZRR2(type,title,id,flag){
this.choiceZRR2(type,title,id,flag)
},
formChoiceZRR3(type, title, id){
this.choiceZRR3(type, title, id)
},
formChoiceZRR4(type, title, id){
this.choiceZRR4(type, title, id)
},
formChoiceZRRListCancel(type, title, id){ formChoiceZRRListCancel(type, title, id){
this.choiceZRRList(type, title, id) this.choiceZRRList(type, title, id)
}, },
@@ -1800,14 +1822,15 @@
this.modalShowFlag1 = true this.modalShowFlag1 = true
this.key++ this.key++
}, },
choiceZRR2 (type, title, id) { choiceZRR2 (type, title, id,flag) {
this.drawerTitle = title this.drawerTitle = title
this.modalShowFlag2 = true this.modalShowFlag2 = true
this.multipleFlag2 = flag
this.url = '' this.url = ''
this.urlChild = '' this.urlChild = ''
this.type = type
this.url="sarVppsTree/list" this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList" this.urlChild="sarVppsTree/childByList"
this.key1++
}, },
choiceZRR3 (type, title, id) { choiceZRR3 (type, title, id) {
this.drawerTitle = title this.drawerTitle = title
@@ -1816,7 +1839,6 @@
this.urlChild = '' this.urlChild = ''
this.url="sarVppsTree/list" this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList" this.urlChild="sarVppsTree/childByList"
this.key2++
}, },
choiceZRR4 (type, title, id) { choiceZRR4 (type, title, id) {
this.drawerTitle = title this.drawerTitle = title
@@ -1825,7 +1847,6 @@
this.urlChild = '' this.urlChild = ''
this.url="sarModelTree/list" this.url="sarModelTree/list"
this.urlChild="sarModelTree/childByList" this.urlChild="sarModelTree/childByList"
this.key3++
}, },
getTree () { getTree () {
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
@@ -957,6 +957,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -959,6 +959,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -959,6 +959,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -29,20 +29,25 @@
:disabledState = "disabledState" :disabledState = "disabledState"
:verifySarStandard = "verifySarStandard" :verifySarStandard = "verifySarStandard"
:fileMadelSub = "fileMadel" :fileMadelSub = "fileMadel"
:fbgDown = "false"
@formCancel="formCancel" @formCancel="formCancel"
@formSelectLawsCancel = "formSelectLawsCancel" @formSelectLawsCancel = "formSelectLawsCancel"
@formChoiceZRRListCancel = "formChoiceZRRListCancel" @formChoiceZRRListCancel = "formChoiceZRRListCancel"
@formChoiceQCDW = "formChoiceQCDW" @formChoiceQCDW = "formChoiceQCDW"
@formChoiceZRR1 = "formChoiceZRR1"
@formChoiceZRR2 = "formChoiceZRR2"
@formChoiceZRR3 = "formChoiceZRR3"
@formChoiceZRR4 = "formChoiceZRR4"
/> />
<ProcessTitle> <ProcessTitle>
<template slot="title">文件汇总</template> <template slot="title">文件汇总</template>
</ProcessTitle> </ProcessTitle>
<template> <template>
<div class="prc-content-border" style="height: 66vh;position: relative;"> <div class="prc-content-border" style="height: auto;position: relative;">
<el-table <el-table
ref="selection" ref="selection"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%;margin-bottom: 20px;overflow-y:auto;height:56vh;border-bottom: 1px solid #EBEEF5;" style="width: 100%;margin-bottom: 20px;overflow-y:auto;height:auto;border-bottom: 1px solid #EBEEF5;"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
:data="form.fileModelList" :data="form.fileModelList"
@@ -73,7 +78,7 @@
<div @click="filePreview(scope.row,'onLine')" style="display: inline-block;cursor: pointer;color: #409EFF;"> <div @click="filePreview(scope.row,'onLine')" style="display: inline-block;cursor: pointer;color: #409EFF;">
预览 预览
</div> </div>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="filePreview(scope.row,'down')" style="display: inline-block;cursor: pointer;color: #409EFF;"> <div @click="filePreview(scope.row,'down')" style="display: inline-block;cursor: pointer;color: #409EFF;">
下载 下载
</div> </div>
@@ -890,6 +895,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -1121,6 +1132,18 @@
this.drawerTitle = title this.drawerTitle = title
this.modalShowFlagZRBM = true this.modalShowFlagZRBM = true
}, },
formChoiceZRR1(type, title, id){
this.choiceZRR1(type, title, id)
},
formChoiceZRR2(type,title,id,flag){
this.choiceZRR2(type,title,id,flag)
},
formChoiceZRR3(type, title, id){
this.choiceZRR3(type, title, id)
},
formChoiceZRR4(type, title, id){
this.choiceZRR4(type, title, id)
},
formChoiceQCDW(type, title, id){ formChoiceQCDW(type, title, id){
this.choiceQCDW(type, title, id) this.choiceQCDW(type, title, id)
}, },
@@ -1717,14 +1740,15 @@
this.modalShowFlag1 = true this.modalShowFlag1 = true
this.key++ this.key++
}, },
choiceZRR2 (type, title, id) { choiceZRR2 (type, title, id,flag) {
this.drawerTitle = title this.drawerTitle = title
this.modalShowFlag2 = true this.modalShowFlag2 = true
this.multipleFlag2 = flag
this.url = '' this.url = ''
this.urlChild = '' this.urlChild = ''
this.type = type
this.url="sarVppsTree/list" this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList" this.urlChild="sarVppsTree/childByList"
this.key1++
}, },
choiceZRR3 (type, title, id) { choiceZRR3 (type, title, id) {
this.drawerTitle = title this.drawerTitle = title
@@ -1733,7 +1757,6 @@
this.urlChild = '' this.urlChild = ''
this.url="sarVppsTree/list" this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList" this.urlChild="sarVppsTree/childByList"
this.key2++
}, },
choiceZRR4 (type, title, id) { choiceZRR4 (type, title, id) {
this.drawerTitle = title this.drawerTitle = title
@@ -1742,7 +1765,6 @@
this.urlChild = '' this.urlChild = ''
this.url="sarModelTree/list" this.url="sarModelTree/list"
this.urlChild="sarModelTree/childByList" this.urlChild="sarModelTree/childByList"
this.key3++
}, },
getTree () { getTree () {
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
@@ -1967,7 +1989,7 @@
const attId = file.footFile const attId = file.footFile
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId)
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -1985,7 +2007,7 @@
} }
if (this.preview) { if (this.preview) {
if (attId) { if (attId) {
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId window.open('/api/att/attFile/downloadFileForSar?fileId=' + attId)
} else { } else {
this.$message.warning('文件不存在,下载失败') this.$message.warning('文件不存在,下载失败')
} }
@@ -2247,7 +2269,7 @@
taskInfo: this.taskInfo, taskInfo: this.taskInfo,
form: this.form, form: this.form,
roleForm: this.roleForm, roleForm: this.roleForm,
commentText: this.commentText commentText: this.formTongGuo.commentText
})) }))
saveTaskFirst(_formData).then(res => { saveTaskFirst(_formData).then(res => {
this.saveLoading = false this.saveLoading = false
@@ -2351,7 +2373,7 @@
} }
}, },
handleSubmit() { handleSubmit() {
// this.getRule() 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) {
@@ -2370,7 +2392,7 @@
this.isSubmit = true this.isSubmit = true
this.saveLoading = true this.saveLoading = true
this.form.commentText = this.formTongGuo.commentText this.form.commentText = this.formTongGuo.commentText
// this.form.approvalOpinion = this.formTongGuo.approvalOpinion this.form.approvalOpinion = this.formTongGuo.approvalOpinion
const json = JSON.stringify(this.form); const json = JSON.stringify(this.form);
this.$http.post('lawss/activiti/completeTask', { this.$http.post('lawss/activiti/completeTask', {
taskIds: this.taskIds, taskIds: this.taskIds,
@@ -34,6 +34,10 @@
@formSelectLawsCancel = "formSelectLawsCancel" @formSelectLawsCancel = "formSelectLawsCancel"
@formChoiceZRRListCancel = "formChoiceZRRListCancel" @formChoiceZRRListCancel = "formChoiceZRRListCancel"
@formChoiceQCDW = "formChoiceQCDW" @formChoiceQCDW = "formChoiceQCDW"
@formChoiceZRR1 = "formChoiceZRR1"
@formChoiceZRR2 = "formChoiceZRR2"
@formChoiceZRR3 = "formChoiceZRR3"
@formChoiceZRR4 = "formChoiceZRR4"
/> />
<ProcessTitle> <ProcessTitle>
<template slot="title">意见信息</template> <template slot="title">意见信息</template>
@@ -68,23 +72,49 @@
<el-table-column <el-table-column
prop="commentText" prop="commentText"
label="会签意见" label="会签意见"
min-width="70%" min-width="35%"
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column
prop="commentText"
label="会签意见文件"
min-width="35%"
align="left">
<template slot-scope="scope">
<el-form-item
style="margin-left: 0;margin-bottom:0;"
>
<div v-if="scope.row.summaryList.length>0" v-for="(value,index) in scope.row.summaryList" :title="value.name" :key="index" style="margin-left: -210px;cursor: pointer;color: #00b7ee" @click="downloadFile(value)">
<!-- {{ value.name }} -->
{{value.name | ellipsis}}
</div>
<div v-else>
- -
</div>
</el-form-item>
</template>
</el-table-column>
<el-table-column
label="意见是否采纳"
min-width="15%"
align="center">
<template slot-scope="scope">
<el-form-item
style="margin-left: 0;margin-bottom:0;"
>
<el-select style="margin-left: -223px;" v-model="scope.row.opinionsAdopted" filterable clearable>
<el-option
v-for="item in opinionsAdoptedOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
</template>
</el-table-column>
</el-table> </el-table>
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12">
<el-form-item label="汇总意见是否采纳" prop="opinionsAdopted" class="add-form-item form-item-disabled">
<el-select v-model="form.opinionsAdopted" filterable clearable>
<el-option
v-for="item in opinionsAdoptedOptions"
:key="item.value"
:value="item.value"
:label="item.label"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="汇总评审意见文件" prop="summaryFileName" class="add-form-item form-item-disabled"> <el-form-item label="汇总评审意见文件" prop="summaryFileName" class="add-form-item form-item-disabled">
<el-input <el-input
@@ -678,6 +708,15 @@
TreeSelectNew, TreeSelectNew,
formEditList formEditList
}, },
filters: {
ellipsis (value) {
if (!value) return ''
if (value.length > 35) {
return value.slice(0,35) + '...'
}
return value
}
},
data () { data () {
const validateZrUserIdName = (rule, value, callback) => { const validateZrUserIdName = (rule, value, callback) => {
if(this.FBGBUSSFileList.length === 0){ if(this.FBGBUSSFileList.length === 0){
@@ -930,6 +969,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// 关联信息 // 关联信息
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',
@@ -1171,6 +1216,18 @@
formChoiceQCDW(type, title, id){ formChoiceQCDW(type, title, id){
this.choiceQCDW(type, title, id) this.choiceQCDW(type, title, id)
}, },
formChoiceZRR1(type, title, id){
this.choiceZRR1(type, title, id)
},
formChoiceZRR2(type,title,id,flag){
this.choiceZRR2(type,title,id,flag)
},
formChoiceZRR3(type, title, id){
this.choiceZRR3(type, title, id)
},
formChoiceZRR4(type, title, id){
this.choiceZRR4(type, title, id)
},
formChoiceZRRListCancel(type, title, id){ formChoiceZRRListCancel(type, title, id){
this.choiceZRRList(type, title, id) this.choiceZRRList(type, title, id)
}, },
@@ -1765,14 +1822,15 @@
this.modalShowFlag1 = true this.modalShowFlag1 = true
this.key++ this.key++
}, },
choiceZRR2 (type, title, id) { choiceZRR2 (type, title, id,flag) {
this.drawerTitle = title this.drawerTitle = title
this.modalShowFlag2 = true this.modalShowFlag2 = true
this.multipleFlag2 = flag
this.url = '' this.url = ''
this.urlChild = '' this.urlChild = ''
this.type = type
this.url="sarVppsTree/list" this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList" this.urlChild="sarVppsTree/childByList"
this.key1++
}, },
choiceZRR3 (type, title, id) { choiceZRR3 (type, title, id) {
this.drawerTitle = title this.drawerTitle = title
@@ -1781,7 +1839,6 @@
this.urlChild = '' this.urlChild = ''
this.url="sarVppsTree/list" this.url="sarVppsTree/list"
this.urlChild="sarVppsTree/childByList" this.urlChild="sarVppsTree/childByList"
this.key2++
}, },
choiceZRR4 (type, title, id) { choiceZRR4 (type, title, id) {
this.drawerTitle = title this.drawerTitle = title
@@ -1790,7 +1847,6 @@
this.urlChild = '' this.urlChild = ''
this.url="sarModelTree/list" this.url="sarModelTree/list"
this.urlChild="sarModelTree/childByList" this.urlChild="sarModelTree/childByList"
this.key3++
}, },
getTree () { getTree () {
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
@@ -2305,7 +2361,7 @@
taskInfo: this.taskInfo, taskInfo: this.taskInfo,
form: this.form, form: this.form,
roleForm: this.roleForm, roleForm: this.roleForm,
commentText: this.commentText commentText: this.formTongGuo.commentText
})) }))
saveTaskFirst(_formData).then(res => { saveTaskFirst(_formData).then(res => {
this.saveLoading = false this.saveLoading = false
@@ -820,6 +820,12 @@
TXLBBUSS: '', TXLBBUSS: '',
VPPSBMBUSS: '', VPPSBMBUSS: '',
VPPSCNBUSS: '', VPPSCNBUSS: '',
KCVPPSBMBUSS: '',
KCVPPSCNBUSS: '',
CYCVPPSBMBUSS: '',
CYCVPPSCNBUSS: '',
DYBXHBUSS: '',
DYMCBUSS: '',
// //
DTQBBHBUSS: '', DTQBBHBUSS: '',
BDTQBBHBUSS: '', BDTQBBHBUSS: '',