-
-
-
- 收藏
-
-
- 取消收藏
-
- 编辑
-
-
- 删除
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2633,15 +2647,18 @@
if (type === '0') {
text = 'OCR识别'
this.OCRTitle = '选择OCR实别文件'
- } else {
+ } else if(type === '1') {
text = '拆分'
this.OCRTitle = '选择拆分文件'
+ }else if(type === '2') {
+ text = '编辑'
+ this.OCRTitle = '选择编辑文件'
}
- if (this.ocrList.length > 1) {
+ if (this.ocrList.length > 1 && (type === '0' || type === '1' || type === '2')) {
this.$message.warning('仅能选择一条数据进行' + text)
- } else if (this.ocrList.length === 0) {
+ } else if (this.ocrList.length === 0 && (type === '0' || type === '1' || type === '2')) {
this.$message.warning('请选择一条数据进行' + text)
- } else {
+ } else if (this.ocrList.length === 1 && (type === '0' || type === '1')) {
this.OCRModel = true
this.OCRLoading = true
this.$http.get('lawss/sarStandFile/queryFileInfoNew', {
@@ -2660,6 +2677,8 @@
}
}
})
+ } else if (this.ocrList.length === 1 && type === '2'){
+ this.selectStandardPro(this.ocrList[0], 'edit')
}
},
// 左右拖动事件
@@ -5574,6 +5593,21 @@
overflow: hidden;
display: flex;
flex-direction: column;
+ .collection-btn {
+ padding: 0;
+ border: none;
+ color: #4788c0;
+ font-size: 18px;
+ width: 18px;
+ height: 18px;
+ background-color: transparent;
+ /*background: rgba(244, 162, 39, 0.1);*/
+
+ //.icon-collection {
+ // background-image: url("~assets/images/shangqi/standardDetails/collection.png");
+ //}
+
+ }
}
.pagination {
diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
index 2c55be7df..c3db04114 100644
--- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
+++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue
@@ -248,12 +248,13 @@
-
+