diff --git a/public/static/onlyOffice/editor.html b/public/static/onlyOffice/editor.html index d8200d73f..3de05e8c2 100644 --- a/public/static/onlyOffice/editor.html +++ b/public/static/onlyOffice/editor.html @@ -19,7 +19,6 @@
diff --git a/src/components/mechanismTree/index.vue b/src/components/mechanismTree/index.vue index d295a0504..b45be5511 100644 --- a/src/components/mechanismTree/index.vue +++ b/src/components/mechanismTree/index.vue @@ -23,6 +23,7 @@ class="filter-tree tree-line" :data="treeData" :props="defaultProps" + :check-strictly="true" :current-node-key="nodeKeyId" node-key="id" :filter-node-method="filterNode" diff --git a/src/components/treeSelect/treeSelectModule.vue b/src/components/treeSelect/treeSelectModule.vue new file mode 100644 index 000000000..4f5a0142d --- /dev/null +++ b/src/components/treeSelect/treeSelectModule.vue @@ -0,0 +1,332 @@ + +
@@ -1819,6 +1823,12 @@
@confirm="isTreeOk"
>
')
@@ -5315,6 +5351,33 @@ export default {
this.$set(this.textStatusMap, item.value, item.label)
})
},
+ choiceZRRS (type, title, id) {
+ console.log('2077',title)
+ this.nodeList = []
+ this.nodeList.push(id)
+ this.userType = type
+ this.drawerTitle = title
+ this.modalShowRoleFlag = true
+ },
+ checkedRole2 (data) {
+ console.log('1712',this.drawerTitle)
+ let idList = ''
+ let nameList = ''
+ data.forEach( item => {
+ if (nameList.length > 0) {
+ nameList += ','
+ idList += ','
+ }
+ idList += item.id
+ nameList += item.name
+ })
+ if (this.drawerTitle === '选择我司署名人'){
+ this.sarStandardsInfoEO['WSSMR'] = nameList
+ }else if (this.drawerTitle === '选择责任工程师'){
+ this.sarStandardsInfoEO['ZRGCS'] = nameList
+ }
+
+ },
choiceRole(type, title, id) {
this.nodeList = []
this.nodeList.push(id)
@@ -5347,18 +5410,18 @@ export default {
},
drawerCheckZRBM(data) {
- console.log("data", data);
+ console.log("5389", data);
let idList = ''
let nameList = ''
data.forEach(item => {
- if (item.hasChild === '0') {
+ // if (item.hasChild === '0') {
if (nameList.length > 0) {
nameList += ','
idList += ','
}
idList += item.id
nameList += item.name
- }
+ // }
})
this.sarStandardsInfoEO.ZRBMId = idList;
diff --git a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
index ab4011a92..1985cb69a 100644
--- a/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
+++ b/src/pages/regulatoryRepository/foreignStandardsAndRegulations/index.vue
@@ -1093,14 +1093,16 @@
class="add-form-item"
>
责任工程师
-