- 基本信息
-
-
- 0){
+ let _this = this
+ this.$confirm({
+ content: '确认删除?',
+ onOk() {
+ deleteAction(_this.url.deleteBatch, { ids: _this.idList.join(',') }).then((res) => {
+ if (res.success) {
+ _this.$message.success(res.message)
+ _this.idList = []
+ eventBUs.$emit('searchReset')
+ } else {
+ this.$message.warning(res.message)
+ }
+ })
+ }
+ })
+ }else{
+ this.$message.warning('请选择需要删除的数据')
+ }
},
handleCompare() {
@@ -146,7 +167,6 @@
})
}
})
-
},
//收藏按钮
Collection(val) {
@@ -157,7 +177,13 @@
console.log('val222', val)
},
onSelectChange(value){
-
+ this.idList = value
+ },
+ detailClick(item){
+ this.$router.push({
+ path:'/docManage/library/detail',
+ query:item
+ })
},
}
}
- 标注实施日期
- 编号
- GB 27999-8019
+
+
@@ -84,8 +80,12 @@
},
methods: {
getInfoById() {
- getAction(this.url.getInfo, { id: '559594408e50406b867dc6fa1b0a515c' }).then((res) => {
-
+ getAction(this.url.getInfo, { id: this.$route.query.id }).then((res) => {
+ if (res.success) {
+ this.detailList = res.result
+ } else {
+ this.detailList = []
+ }
})
}
}
diff --git a/jero-web/src/views/documentManage/library/index.vue b/jero-web/src/views/documentManage/library/index.vue
index f2f146656..24d840830 100644
--- a/jero-web/src/views/documentManage/library/index.vue
+++ b/jero-web/src/views/documentManage/library/index.vue
@@ -29,6 +29,7 @@
@Collection="Collection"
@subscribe="subscribe"
@onSelectChange="onSelectChange"
+ @detailClick="detailClick"
/>
+
-
+ {{val}}
-
- 文本信息
-
-
-
+
+
+
+ {{ol.db_field_txt}}
+ {{ol.value ? ol.value : '--'}}
+
+
+
-
- 测试程序
+ {{ol.db_field_txt}}
-
- 123456.pdf
-
-
-
- 下载
-
-
-
- 文本信息
-
-
-
+
-
- 测试程序
-
-
- 123456.pdf
-
-
+
+ {{ol.value ? ol.value.fileName : '--'}}
+
+
下载
+
+
+
+
+ {{ol.db_field_txt}}
+
+
+ {{ol.value ? ol.value.fileName : '--'}}
+
+
+
+ 下载
+
+
+