diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
index d4a1a258a..be0700a43 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
@@ -159,8 +159,20 @@
:visible.sync="modalshowflag2"
:wrapperClosable="false"
size="800px">
+
+
+
+
+
+
+
+ 导入中...
+
+
+
+
+
+
+
+ 导入中...
{
+ this.treeData1 = res.data
+ this.treeLoading = false
+ })
+ } else {
+ this.open1 = true
+ }
+ },
+ filterText2 (val) {
+ if (val.length) {
+ this.open2 = false
+ this.treeLoading = true
+ this.$http.get('SarInstitution/institution/institutionAndUser', {
+ userName: val
+ }, {}, res => {
+ this.treeData2 = res.data
+ this.treeLoading = false
+ })
+ } else {
+ this.open2 = true
+ }
+ },
+ },
methods: {
+ loadNode(node, resolve) {
+ if (node.level === 0) {
+ return resolve(this.treeData);
+ }
+ this.getChildren(node, resolve)
+ },
+ getChildren (node, resolve) {
+ this.$http.get('SarInstitution/institution/getNext', {
+ institutionId: node.key
+ }, {}, res => {
+ resolve(res)
+ })
+ },
choiceZRRS () {
this.nodeList2 = []
if ( this.roleForm.dockUserList.length > 0) {
this.nodeList2 = this.roleForm.dockUserList.split(',')
}
+ this.filterText2 = ''
this.modalshowflag2 = true
},
saveUserInfo2 () {
@@ -410,11 +520,14 @@ export default {
this.nodeList.push(id)
this.type = type
this.drawerTitle = title
+ this.filterText1 = ''
this.modalshowflag = true
},
getTree () {
- this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> {
- this.treeData = res.data
+ this.treeLoading = true
+ this.$http.get('SarInstitution/institution/getFirstInstitution', {}, {}, res=> {
+ this.treeData = res
+ this.treeLoading = false
})
},
handleTabs(name) {
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
index b505cde78..9906b3846 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue
@@ -87,7 +87,7 @@
label="国家/地区"
align="center">
-
+
{{ scope.row.countryArea }}
{{ countryAreaMap[scope.row.countryArea] }}
@@ -138,7 +138,7 @@
label="更新时间"
align="center">
- {{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD hh:mm:ss') : scope.row.updateTime }}
+ {{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime }}
点击上传
@@ -225,17 +226,26 @@
prop="issueTime"
sortable
label="发布日期">
+
+ {{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.zccssrqgj ? $moment(scope.row.zccssrqgj).format('YYYY-MM-DD') : '' }}
+
+
+ {{ scope.row.xcxssrqgj ? $moment(scope.row.xcxssrqgj).format('YYYY-MM-DD') : '' }}
+
{
this.sarAccessInfoSearchList = res.data.list
+ this.sarAccessInfoSearchList.forEach(item => {
+ this.$set(item, 'zccssrqgj', item.attrInfoMap.ZCCSSRQGJ)
+ this.$set(item, 'xcxssrqgj', item.attrInfoMap.XCXSSRQGJ)
+ this.$set(item, 'sycpx', item.attrInfoMap.SYCPX)
+ this.$set(item, 'typeApplicable', item.attrInfoMap.CLLX)
+ this.$set(item, 'nylx', item.attrInfoMap.NYLX)
+ this.$set(item, 'zrbm', item.attrInfoMap.ZRBM)
+ this.$set(item, 'cycvppsbm', item.attrInfoMap.CYCVPPSBM)
+ this.$set(item, 'cycvppscn', item.attrInfoMap.CYCVPPSCN)
+ this.$set(item, 'kccvppsbm', item.attrInfoMap.KCCVPPSBM)
+ this.$set(item, 'kccvppscn', item.attrInfoMap.KCCVPPSCN)
+ })
+ console.log(this.sarAccessInfoSearchList)
}, e => {
})
},
@@ -1714,6 +1752,7 @@ export default {
_this: this
}, res => {
this.sarAccessInfoList = res.data
+ console.log(res.data)
}, e => {
})
},
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
index 6c2af2375..28e717fee 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/otherAddEit.vue
@@ -55,6 +55,7 @@
:on-remove="delFileInfo"
:on-success="uploadBackSuccess"
:before-upload="beforeUpload"
+ :on-preview="handleOnPreview"
>
点击上传
@@ -1716,7 +1717,14 @@ export default {
this.$set(this.zrbmMap, item.value, item.label)
this.$set(this.sycpxMap, item.value, item.label)
})
- }
+ },
+ // 点击上传的文件进行下载
+ handleOnPreview(file) {
+ let attId = file.id
+ if (attId != null && attId !== "") {
+ window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
+ }
+ },
},
watch: {
// 监听 清单类型
diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
index ecf20717b..db97c6e44 100644
--- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
+++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/projectAddEit.vue
@@ -55,6 +55,7 @@
:on-remove="delFileInfo"
:on-success="uploadBackSuccess"
:before-upload="beforeUpload"
+ :on-preview="handleOnPreview"
>
点击上传
@@ -1716,7 +1717,14 @@ export default {
this.$set(this.zrbmMap, item.value, item.label)
this.$set(this.sycpxMap, item.value, item.label)
})
- }
+ },
+ // 点击上传的文件进行下载
+ handleOnPreview(file) {
+ let attId = file.id
+ if (attId != null && attId !== "") {
+ window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
+ }
+ },
},
watch: {
// 监听 清单类型