shaogen1995 3 лет назад
Родитель
Сommit
1ad640aa37

+ 2 - 2
src/views/holding/holding0_DiaEdit.vue

@@ -422,7 +422,7 @@ export default {
       },
       // 上传图片和文件
       fileList: [],
-      affixVal: 'video',
+      affixVal: 'img',
       affix: [
         { label: '高清图片', value: 'img' },
         { label: '视频文件', value: 'video' },
@@ -598,7 +598,7 @@ export default {
     cancel () {
       // 把附件变成video
       // console.log(9999999999, this.ruleForm)
-      this.affixVal = 'video'
+      this.affixVal = 'img'
       this.$emit('update:dialogFormVisible', false)
     }
   },

+ 2 - 2
src/views/holding/holding0_Dialog.vue

@@ -426,7 +426,7 @@ export default {
       },
       // 上传图片和文件
       fileList: [],
-      affixVal: 'video',
+      affixVal: 'img',
       affix: [
         { label: '高清图片', value: 'img' },
         { label: '视频文件', value: 'video' },
@@ -613,7 +613,7 @@ export default {
     // 点击取消
     cancel () {
       // 把附件变成video
-      this.affixVal = 'video'
+      this.affixVal = 'img'
       this.$emit('update:dialogFormVisible', false)
     }
   },

+ 1 - 1
src/views/holding/holding0_add.vue

@@ -224,7 +224,7 @@ export default {
     // 点击编辑
     edit (id) {
       this.$refs.myDia.detailsById(id)
-      this.$refs.myDia.getFileList(id, 'video')
+      this.$refs.myDia.getFileList(id, 'img')
       this.fujianId = id
       // 把单个id给弹窗,用来回显附件数据
       this.isShowED = true

+ 1 - 1
src/views/holding/holding0_audit.vue

@@ -266,7 +266,7 @@ export default {
       else if (obj.textureType === 1) obj.textureType = '复合质地' // 修改质地类型
       this.myObj = obj
       // 调用子组件的方法,获取附件信息
-      this.$refs.mylook.getFileList(val.id, 'video')
+      this.$refs.mylook.getFileList(val.id, 'img')
       this.isShow = true
     },
     // 通过id获取藏品列表

+ 2 - 2
src/views/holding/holding0_audit_Dia.vue

@@ -151,7 +151,7 @@ export default {
       options: [],
       baseURL: '',
       index: 0,
-      select: 'video',
+      select: 'img',
       // 表格数据
       tableData: [],
       affix: [
@@ -194,7 +194,7 @@ export default {
     // 点击确定
     btnOK () {
       this.$emit('update:dialogFormVisible', false)
-      this.select = 'video'
+      this.select = 'img'
     }
   },
   // 生命周期 - 创建完成(可以访问当前this实例)

+ 1 - 1
src/views/holding/holding0_result.vue

@@ -188,7 +188,7 @@ export default {
 
       this.myObj = obj
       // 调用子组件的方法,获取附件信息
-      this.$refs.mylook.getFileList(val.id, 'video')
+      this.$refs.mylook.getFileList(val.id, 'img')
       this.isShow = true
     }
   },

+ 2 - 2
src/views/holding/holding3_DiaEdit.vue

@@ -422,7 +422,7 @@ export default {
       },
       // 上传图片和文件
       fileList: [],
-      affixVal: 'video',
+      affixVal: 'img',
       affix: [
         { label: '高清图片', value: 'img' },
         { label: '视频文件', value: 'video' },
@@ -622,7 +622,7 @@ export default {
     // 点击取消
     cancel () {
       // 把附件变成video
-      this.affixVal = 'video'
+      this.affixVal = 'img'
       this.$emit('update:dialogFormVisible', false)
     }
   },

+ 1 - 1
src/views/holding/holding3_look.vue

@@ -789,7 +789,7 @@ export default {
     // 点击申请编辑
     begEdit () {
       this.$refs.myDia.detailsById(this.myObj.id)
-      this.$refs.myDia.getFileList(this.myObj.id, 'video')
+      this.$refs.myDia.getFileList(this.myObj.id, 'img')
       this.isShowED = true
     },
     // 点击导出

+ 2 - 2
src/views/holding/holding4_audit_Dia.vue

@@ -152,7 +152,7 @@ export default {
       options: [],
       baseURL: '',
       index: 0,
-      select: 'video',
+      select: 'img',
       // 表格数据
       tableData: [],
       tableDataObj: {
@@ -196,7 +196,7 @@ export default {
     // 点击确定
     btnOK () {
       this.$emit('update:dialogFormVisible', false)
-      this.select = 'video'
+      this.select = 'img'
     }
   },
   // 生命周期 - 创建完成(可以访问当前this实例)

+ 1 - 1
src/views/holding/holding5_add.vue

@@ -157,7 +157,7 @@ export default {
       else if (obj.amountType === 1) obj.amountType = '一套多件'// 修改数量类型
       this.myObj = obj
       // 调用子组件的方法,获取附件信息
-      this.$refs.mylook.getFileList(val.id, 'video')
+      this.$refs.mylook.getFileList(val.id, 'img')
       this.isShow = true
     },
     // 从子组件哪里拿到选中的数据

+ 1 - 1
src/views/holding/holding5_audit.vue

@@ -175,7 +175,7 @@ export default {
       else if (obj.amountType === 1) obj.amountType = '一套多件'// 修改数量类型
       this.myObj = obj
       // 调用子组件的方法,获取附件信息
-      this.$refs.mylook.getFileList(val.id, 'video')
+      this.$refs.mylook.getFileList(val.id, 'img')
       this.isShow = true
     },
     // 点击提交

+ 1 - 1
src/views/holding/holding5_look.vue

@@ -161,7 +161,7 @@ export default {
       else if (obj.amountType === 1) obj.amountType = '一套多件'// 修改数量类型
       this.myObj = obj
       // 调用子组件的方法,获取附件信息
-      this.$refs.mylook.getFileList(val.id, 'video')
+      this.$refs.mylook.getFileList(val.id, 'img')
       this.isShow = true
     },
     myStatus (id) {

+ 1 - 1
src/views/statistics/statistics2_look.vue

@@ -142,7 +142,7 @@ export default {
       obj.repair = this.mySave(obj.repair)// 保存状态
       this.myObjLook = obj
       // 调用子组件的方法,获取附件信息
-      this.$refs.mylook.getFileList(obj.id, 'video')
+      this.$refs.mylook.getFileList(obj.id, 'img')
       this.isShow = true
     }
   },