From 35026e230ea8d9cd7d9a350936064127a2f7bbb5 Mon Sep 17 00:00:00 2001
From: xuhuajiao <13476289682@163.com>
Date: Tue, 5 Jul 2022 17:27:38 +0800
Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E7=AE=A1=E7=90=86-=E7=BB=91?=
=?UTF-8?q?=E5=AE=9A=E6=A0=87=E7=AD=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../archivesList/archivesDetail.vue | 11 +-
.../archivesManage/archivesList/index.vue | 4 -
.../module/archivesAnjuan/index.vue | 31 +--
.../archivesList/module/data.json | 27 --
.../archivesList/module/packing/index.vue | 2 -
.../archivesList/module/partPacking/index.vue | 160 ------------
.../archivesList/module/table/index.vue | 230 ------------------
src/views/components/category/PreviewForm.vue | 1 -
8 files changed, 13 insertions(+), 453 deletions(-)
delete mode 100644 src/views/archivesManage/archivesList/module/data.json
delete mode 100644 src/views/archivesManage/archivesList/module/partPacking/index.vue
delete mode 100644 src/views/archivesManage/archivesList/module/table/index.vue
diff --git a/src/views/archivesManage/archivesList/archivesDetail.vue b/src/views/archivesManage/archivesList/archivesDetail.vue
index 20c2290..75caea1 100644
--- a/src/views/archivesManage/archivesList/archivesDetail.vue
+++ b/src/views/archivesManage/archivesList/archivesDetail.vue
@@ -39,7 +39,7 @@
装盒
- 分卷装盒
+ 分卷装盒
借阅
@@ -140,8 +140,6 @@
-
-
@@ -173,12 +171,11 @@ import PreviewForm from '@/views/components/category/PreviewForm'
import UploadFile from './module/uploadFile/index'
import ArchivesInfo from './module/archivesInfo/index'
import Packing from './module/packing/index'
-import PartPacking from './module/partPacking/index'
import Binding from './module/binding/index'
export default {
name: 'ArchivesDetail',
- components: { crudOperation, rrOperation, pagination, PreviewForm, UploadFile, ArchivesInfo, Packing, Binding, PartPacking },
+ components: { crudOperation, rrOperation, pagination, PreviewForm, UploadFile, ArchivesInfo, Packing, Binding },
mixins: [
presenter(),
header(),
@@ -450,10 +447,6 @@ export default {
// 装盒
handlePacking(data) {
this.$refs.packing.packingVisible = true
- },
- // 分卷装盒
- handlePartPacking(data) {
- this.$refs.partPacking.partPackingVisible = true
}
}
}
diff --git a/src/views/archivesManage/archivesList/index.vue b/src/views/archivesManage/archivesList/index.vue
index 57dd7df..20cd9e1 100644
--- a/src/views/archivesManage/archivesList/index.vue
+++ b/src/views/archivesManage/archivesList/index.vue
@@ -28,7 +28,6 @@
隐藏固定状态栏
-
借阅
- 绑定标签
+ 绑定标签
@@ -173,10 +173,9 @@
-
-
-
+
+
@@ -215,13 +214,12 @@ import { exportFile } from '@/utils/index'
import PreviewForm from '@/views/components/category/PreviewForm'
import ArchivesInfo from '../archivesInfo/index'
import Packing from '../packing/index'
-import PartPacking from '../partPacking/index'
-import Binding from '../binding/index'
+import BindingTagDlg from '@/views/components/BindingTagDlg'
import UploadFile from '../uploadFile/index'
export default {
name: 'ArchivesAnjuan',
- components: { PreviewForm, ArchivesInfo, Packing, Binding, PartPacking, UploadFile },
+ components: { PreviewForm, ArchivesInfo, Packing, BindingTagDlg, UploadFile },
mixins: [
header(),
form({})
@@ -605,16 +603,13 @@ export default {
this.crud.refresh()
})
},
- // 绑定
- handleBinding(data) {
- this.$refs.bind.bindingVisible = true
- if (data.tid == null) {
- this.isBinding = false
- this.$refs.bind.bindingTitle = '绑定标签'
- } else {
- this.isBinding = true
- this.$refs.bind.bindingTitle = '重新绑定'
+ // 绑定标签
+ bindingTag(data) {
+ if (data[0].tid) {
+ this.$refs.bindingTag.isBinding = true
+ this.$refs.bindingTag.tidCode = data[0].tid
}
+ this.$refs.bindingTag.bindingVisible = true
},
// 装盒
handlePacking(data, type) {
@@ -634,10 +629,6 @@ export default {
this.$refs.packing.archivesTable = this.recycleMain.$refs.file.junneiData
}
this.getTotalSumAll()
- },
- // 分卷装盒
- handlePartPacking(data) {
- this.$refs.partPacking.partPackingVisible = true
}
}
}
diff --git a/src/views/archivesManage/archivesList/module/data.json b/src/views/archivesManage/archivesList/module/data.json
deleted file mode 100644
index 4c947b0..0000000
--- a/src/views/archivesManage/archivesList/module/data.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "code": 200,
- "message": "操作成功",
- "data": [{
- "fileName": "附件标题",
- "fileFormat":"xls",
- "fileSize":"76kb",
- "fileDpi":"1920*1080",
- "fileCover":"https://qiniu.aiyxlib.com/yuekan-5-h5bg.jpg",
- "create_date":"2022-5-27 08:00"
- },{
- "fileName": "附件标题2",
- "fileFormat":"xls",
- "fileSize":"76kb",
- "fileDpi":"1920*1080",
- "fileCover":"",
- "create_date":"2022-5-27 08:00"
- },{
- "fileName": "附件标题3",
- "fileFormat":"xls",
- "fileSize":"76kb",
- "fileDpi":"1920*1080",
- "fileCover":"",
- "create_date":"2022-5-27 08:00"
- }
- ]
-}
\ No newline at end of file
diff --git a/src/views/archivesManage/archivesList/module/packing/index.vue b/src/views/archivesManage/archivesList/module/packing/index.vue
index 560e040..64e8d4d 100644
--- a/src/views/archivesManage/archivesList/module/packing/index.vue
+++ b/src/views/archivesManage/archivesList/module/packing/index.vue
@@ -158,7 +158,6 @@
-
-
diff --git a/src/views/archivesManage/archivesList/module/table/index.vue b/src/views/archivesManage/archivesList/module/table/index.vue
deleted file mode 100644
index 5027e49..0000000
--- a/src/views/archivesManage/archivesList/module/table/index.vue
+++ /dev/null
@@ -1,230 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row[field.fieldName] }}
-
-
-
-
-
-
- {{ scope.row.case_no ? '已装': '未装' }}
-
-
-
-
-
- 未入
-
-
-
-
-
- —
-
-
-
-
-
- {{ scope.row.tid ? '已绑': '未绑' }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/components/category/PreviewForm.vue b/src/views/components/category/PreviewForm.vue
index b5825e7..5f271b8 100644
--- a/src/views/components/category/PreviewForm.vue
+++ b/src/views/components/category/PreviewForm.vue
@@ -284,7 +284,6 @@ export default {
}
}
delete this.addOrUpdateForm.id
- console.log(this.addOrUpdateForm)
this.$refs[formName].validate((valid) => {
if (valid) {
const params = {