feat: There is no way the, bug #52314
This commit is contained in:
@@ -270,8 +270,8 @@
|
|||||||
></el-option>
|
></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="关联模块--乘用车VPPS编码" title="关联模块--乘用车VPPSVPPS编码" 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.CYCVPPSBMBUSS" readonly="readonly" placeholder="选择关联模块--乘用车VPPS编码" @click.native="choiceZRR2('car', '关联模块--乘用车VPPSVPPS编码', form.CYCVPPSBMBUSS,true)"></el-input>
|
<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>
|
||||||
<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.KCVPPSBMBUSS" readonly="readonly" placeholder="选择关联模块--卡车VPPS编码" @click.native="choiceZRR3('struck', '关联模块--卡车VPPS编码', form.KCVPPSBMBUSS,false)"></el-input>
|
<el-input v-model="form.KCVPPSBMBUSS" readonly="readonly" placeholder="选择关联模块--卡车VPPS编码" @click.native="choiceZRR3('struck', '关联模块--卡车VPPS编码', form.KCVPPSBMBUSS,false)"></el-input>
|
||||||
|
|||||||
@@ -164,6 +164,7 @@
|
|||||||
@formChoiceZRR2 = "formChoiceZRR2"
|
@formChoiceZRR2 = "formChoiceZRR2"
|
||||||
@formChoiceZRR3 = "formChoiceZRR3"
|
@formChoiceZRR3 = "formChoiceZRR3"
|
||||||
@formChoiceZRR4 = "formChoiceZRR4"
|
@formChoiceZRR4 = "formChoiceZRR4"
|
||||||
|
@formChoiceZRR5 = "formChoiceZRR5"
|
||||||
/>
|
/>
|
||||||
<div>
|
<div>
|
||||||
<el-collapse accordion v-model="activeName">
|
<el-collapse accordion v-model="activeName">
|
||||||
@@ -690,7 +691,7 @@
|
|||||||
width = "500"
|
width = "500"
|
||||||
:data="standSystemOptions"
|
:data="standSystemOptions"
|
||||||
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
|
||||||
:nodeKey="nodeKey" @popoverHide="popoverHide"></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
|
||||||
@@ -698,10 +699,50 @@
|
|||||||
:check-strictly=true
|
:check-strictly=true
|
||||||
:modalShowFlag="modalShowFlag2"
|
:modalShowFlag="modalShowFlag2"
|
||||||
:drawerTitle="drawerTitle"
|
:drawerTitle="drawerTitle"
|
||||||
|
:type="type"
|
||||||
:url="url"
|
:url="url"
|
||||||
:urlChild="urlChild"
|
:urlChild="urlChild"
|
||||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys1"
|
||||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideBusVs"></tree-select-new>
|
: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>
|
||||||
|
<tree-select-module
|
||||||
|
width="500"
|
||||||
|
:lazy=true
|
||||||
|
:multiple=true
|
||||||
|
:check-strictly=true
|
||||||
|
:modalShowFlag="modalShowFlag5"
|
||||||
|
:drawerTitle="drawerTitle"
|
||||||
|
:url="url"
|
||||||
|
:type="modelType"
|
||||||
|
:urlChild="urlChild"
|
||||||
|
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys4"
|
||||||
|
:nodeKey="nodeKeyModel" @popoverHide="popoverCarHideModel"
|
||||||
|
@popoverHideCancel="popoverCarHideModelCancel()"></tree-select-module>
|
||||||
<loading :loading="dataLoading">正在加载数据</loading>
|
<loading :loading="dataLoading">正在加载数据</loading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -714,6 +755,7 @@
|
|||||||
import {saveTaskForPub,changeAssigneeNew,saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,taskDel,inboundLiaisonDetail,processCreateBuss,evaluationHisList,evaluationHisListRepSum,evaluationHisListRep} from "api/process";
|
import {saveTaskForPub,changeAssigneeNew,saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,taskDel,inboundLiaisonDetail,processCreateBuss,evaluationHisList,evaluationHisListRepSum,evaluationHisListRep} 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 {
|
||||||
@@ -724,7 +766,8 @@
|
|||||||
ProcessFooter,
|
ProcessFooter,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
TreeSelect,
|
TreeSelect,
|
||||||
TreeSelectNew
|
TreeSelectNew,
|
||||||
|
TreeSelectModule
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
const validateZrUserIdName = (rule, value, callback) => {
|
const validateZrUserIdName = (rule, value, callback) => {
|
||||||
@@ -916,10 +959,12 @@
|
|||||||
modalShowFlag2: false, // drawer开关
|
modalShowFlag2: false, // drawer开关
|
||||||
modalShowFlag3: false, // drawer开关
|
modalShowFlag3: false, // drawer开关
|
||||||
modalShowFlag4: false, // drawer开关
|
modalShowFlag4: false, // drawer开关
|
||||||
|
modalShowFlag5: false, // drawer开关
|
||||||
drawerTitle1:'',
|
drawerTitle1:'',
|
||||||
multipleFlag2:'',
|
multipleFlag2:'',
|
||||||
url:'',
|
url:'',
|
||||||
urlChild:'',
|
urlChild:'',
|
||||||
|
modelType: '',
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
drawerTitle: '', //drawer标题
|
drawerTitle: '', //drawer标题
|
||||||
showCheckBox: true, // 树形控件是否展示多选框
|
showCheckBox: true, // 树形控件是否展示多选框
|
||||||
@@ -930,6 +975,7 @@
|
|||||||
defaultCheckedKeys1: [],
|
defaultCheckedKeys1: [],
|
||||||
defaultCheckedKeys2: [],
|
defaultCheckedKeys2: [],
|
||||||
defaultCheckedKeys3: [],
|
defaultCheckedKeys3: [],
|
||||||
|
defaultCheckedKeys4: [],
|
||||||
fileUrl: 'api/att/attFile/upload',
|
fileUrl: 'api/att/attFile/upload',
|
||||||
fileMadel: false,
|
fileMadel: false,
|
||||||
fileType: '',
|
fileType: '',
|
||||||
@@ -987,6 +1033,8 @@
|
|||||||
CYCVPPSCNBUSS: '',
|
CYCVPPSCNBUSS: '',
|
||||||
DYBXHBUSS: '',
|
DYBXHBUSS: '',
|
||||||
DYMCBUSS: '',
|
DYMCBUSS: '',
|
||||||
|
CYCDYBXHBUSS: '',
|
||||||
|
CYCDYMCBUSS: '',
|
||||||
// 关联信息
|
// 关联信息
|
||||||
DTQBBHBUSS: '',
|
DTQBBHBUSS: '',
|
||||||
BDTQBBHBUSS: '',
|
BDTQBBHBUSS: '',
|
||||||
@@ -1404,6 +1452,9 @@
|
|||||||
formChoiceZRR4(type, title, id){
|
formChoiceZRR4(type, title, id){
|
||||||
this.choiceZRR4(type, title, id)
|
this.choiceZRR4(type, title, id)
|
||||||
},
|
},
|
||||||
|
formChoiceZRR5(type, title, id){
|
||||||
|
this.choiceZRR5(type, title, id)
|
||||||
|
},
|
||||||
formChoiceQCDW(type, title, id){
|
formChoiceQCDW(type, title, id){
|
||||||
this.choiceQCDW(type, title, id)
|
this.choiceQCDW(type, title, id)
|
||||||
},
|
},
|
||||||
@@ -2023,9 +2074,19 @@
|
|||||||
this.modalShowFlag4 = true
|
this.modalShowFlag4 = true
|
||||||
this.url = ''
|
this.url = ''
|
||||||
this.urlChild = ''
|
this.urlChild = ''
|
||||||
|
this.modelType = type
|
||||||
this.url="sarModelTree/list"
|
this.url="sarModelTree/list"
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild="sarModelTree/childByList"
|
||||||
},
|
},
|
||||||
|
choiceZRR5(type, title, id) {
|
||||||
|
this.drawerTitle = title
|
||||||
|
this.modalShowFlag5 = true
|
||||||
|
this.url = ''
|
||||||
|
this.urlChild = ''
|
||||||
|
this.modelType = type
|
||||||
|
this.url = "sarModelTree/listByType"
|
||||||
|
this.urlChild = "sarModelTree/childByList"
|
||||||
|
},
|
||||||
getTree () {
|
getTree () {
|
||||||
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
|
this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
|
||||||
|
|
||||||
@@ -2380,19 +2441,6 @@
|
|||||||
default : ;
|
default : ;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
|
||||||
if(checkedData) {
|
|
||||||
if(checkedData.length > 0){
|
|
||||||
this.form.VPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
|
||||||
this.form.VPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
|
||||||
}else {
|
|
||||||
this.form.VPPSBMBUSS = checkedData.code
|
|
||||||
this.form.VPPSCNBUSS = checkedData.chineseName
|
|
||||||
}
|
|
||||||
}
|
|
||||||
this.modalShowFlag2 = false
|
|
||||||
this.$forceUpdate()
|
|
||||||
},
|
|
||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
@@ -2408,53 +2456,81 @@
|
|||||||
this.modalShowFlag1 = false
|
this.modalShowFlag1 = false
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData && checkedData.length != 0) {
|
if (checkedData && checkedData.length !== 0) {
|
||||||
if(checkedData.length > 0 && checkedData.length != 0){
|
if (checkedData.length > 0) {
|
||||||
this.form.cycvppsbm = checkedData.map(item => item.code).join(",")
|
this.form.CYCVPPSBMBUSS = checkedData.map(item => item.code).join(",")
|
||||||
this.form.cycvppscn = checkedData.map(item => item.chineseName).join(",")
|
this.form.CYCVPPSCNBUSS = checkedData.map(item => item.chineseName).join(",")
|
||||||
}else {
|
} else {
|
||||||
this.form.cycvppsbm = checkedData.code
|
this.form.CYCVPPSBMBUSS = checkedData.code
|
||||||
this.form.cycvppscn = checkedData.chineseName
|
this.form.CYCVPPSCNBUSS = checkedData.chineseName
|
||||||
}
|
}
|
||||||
this.modalShowFlag2 = false
|
}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) {
|
if (checkedData && checkedData.length !== 0) {
|
||||||
if(checkedData.length > 0){
|
if (checkedData.length > 0) {
|
||||||
this.form.dybxh = checkedData.map(item => item.model).join(",")
|
this.form.DYBXHBUSS = checkedData.map(item => item.model).join(",")
|
||||||
this.form.dymc = checkedData.map(item => item.name).join(",")
|
this.form.DYMCBUSS = checkedData.map(item => item.name).join(",")
|
||||||
}else {
|
} else {
|
||||||
this.form.dybxh = checkedData.model
|
this.form.DYBXHBUSS = checkedData.model
|
||||||
this.form.dymc = checkedData.name
|
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
|
||||||
},
|
},
|
||||||
|
popoverCarHideModel(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||||
|
if (checkedData && checkedData.length !== 0) {
|
||||||
|
if (checkedData.length > 0) {
|
||||||
|
this.form.CYCDYBXHBUSS = checkedData.map(item => item.model).join(",")
|
||||||
|
this.form.CYCDYMCBUSS = checkedData.map(item => item.name).join(",")
|
||||||
|
} else {
|
||||||
|
this.form.CYCDYBXHBUSS = checkedData.model
|
||||||
|
this.form.CYCDYMCBUSS = checkedData.name
|
||||||
|
}
|
||||||
|
this.modalShowFlag5 = false
|
||||||
|
}else {
|
||||||
|
this.form.CYCDYBXHBUSS = ''
|
||||||
|
this.form.CYCDYMCBUSS = ''
|
||||||
|
}
|
||||||
|
this.$forceUpdate()
|
||||||
|
},
|
||||||
|
popoverCarHideModelCancel() {
|
||||||
|
this.modalShowFlag5 = false
|
||||||
|
},
|
||||||
closeDrawer() {
|
closeDrawer() {
|
||||||
this.ListModel = false
|
this.ListModel = false
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user