标准详情->关联模块 弹出框无法取消问题 同上一个问题
This commit is contained in:
@@ -1083,7 +1083,7 @@
|
||||
:url="url"
|
||||
:urlChild="urlChild"
|
||||
: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
|
||||
@@ -1094,7 +1094,7 @@
|
||||
:url="url"
|
||||
:urlChild="urlChild"
|
||||
:defaultProps="defaultCodeProps" :checkedKeys="defaultCheckedKeys2"
|
||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs"></tree-select-new>
|
||||
:nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs" @popoverHideCancel="popoverHideCarVsCancel()" ></tree-select-new>
|
||||
<tree-select-new
|
||||
width="500"
|
||||
:lazy=true
|
||||
@@ -1105,7 +1105,7 @@
|
||||
:url="url"
|
||||
:urlChild="urlChild"
|
||||
:defaultProps="defaultModelProps" :checkedKeys="defaultCheckedKeys3"
|
||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"></tree-select-new>
|
||||
:nodeKey="nodeKeyModel" @popoverHide="popoverHideModel" @popoverHideCancel="popoverHideModelCancel()"></tree-select-new>
|
||||
<!-- 导入失败-->
|
||||
<el-dialog :visible.sync="importFailed" :close-on-click-modal="false" width="400px">
|
||||
<p slot="title" style="color:#f60">
|
||||
@@ -2407,7 +2407,7 @@ export default {
|
||||
this.$forceUpdate()
|
||||
},
|
||||
popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||
if (checkedData) {
|
||||
if (checkedData && checkedData.length != 0) {
|
||||
if (checkedData.length > 0) {
|
||||
this.sarStandardsInfoEO.CYCVPPSBM = checkedData.map(item => item.code).join(",")
|
||||
this.sarStandardsInfoEO.CYCVPPSCN = checkedData.map(item => item.chineseName).join(",")
|
||||
@@ -2415,12 +2415,16 @@ export default {
|
||||
this.sarStandardsInfoEO.CYCVPPSBM = checkedData.code
|
||||
this.sarStandardsInfoEO.CYCVPPSCN = checkedData.chineseName
|
||||
}
|
||||
this.modalShowFlag2 = false
|
||||
}
|
||||
this.modalShowFlag2 = false
|
||||
|
||||
this.$forceUpdate()
|
||||
},
|
||||
popoverHideBusVsCancel(){
|
||||
this.modalShowFlag2 = false
|
||||
},
|
||||
popoverHideCarVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||
if (checkedData) {
|
||||
if (checkedData && checkedData.length != 0) {
|
||||
if (checkedData.length > 0) {
|
||||
this.sarStandardsInfoEO.KCCVPPSBM = checkedData.map(item => item.code).join(",")
|
||||
this.sarStandardsInfoEO.KCCVPPSCN = checkedData.map(item => item.chineseName).join(",")
|
||||
@@ -2428,12 +2432,16 @@ export default {
|
||||
this.sarStandardsInfoEO.KCCVPPSBM = checkedData.code
|
||||
this.sarStandardsInfoEO.KCCVPPSCN = checkedData.chineseName
|
||||
}
|
||||
this.modalShowFlag3 = false
|
||||
}
|
||||
this.modalShowFlag3 = false
|
||||
|
||||
this.$forceUpdate()
|
||||
},
|
||||
popoverHideCarVsCancel(){
|
||||
this.modalShowFlag3 = false
|
||||
},
|
||||
popoverHideModel(checkedIds, checkedData, isShow, isLoadChild, topId) {
|
||||
if (checkedData) {
|
||||
if (checkedData && checkedData.length != 0) {
|
||||
if (checkedData.length > 0) {
|
||||
this.sarStandardsInfoEO.DYBXH = checkedData.map(item => item.model).join(",")
|
||||
this.sarStandardsInfoEO.DYMC = checkedData.map(item => item.name).join(",")
|
||||
@@ -2441,10 +2449,13 @@ export default {
|
||||
this.sarStandardsInfoEO.DYBXH = checkedData.model
|
||||
this.sarStandardsInfoEO.DYMC = checkedData.name
|
||||
}
|
||||
this.modalShowFlag4 = false
|
||||
}
|
||||
this.modalShowFlag4 = false
|
||||
this.$forceUpdate()
|
||||
},
|
||||
popoverHideModelCancel(){
|
||||
this.modalShowFlag4 = false
|
||||
},
|
||||
busVsFunc() {
|
||||
this.$http.get('sarVppsTree/list', '', {
|
||||
_this: this
|
||||
|
||||
Reference in New Issue
Block a user