Browse Source

人文关怀、难点堵点详情修改

shibei_master
jiangyy 4 years ago
parent
commit
055097960d
  1. 5
      src/views/modules/secretaryLog/difficulty/difficultyForm.vue
  2. 6
      src/views/modules/secretaryLog/difficulty/difficultyList.vue
  3. 5
      src/views/modules/secretaryLog/humanisticCare/careForm.vue
  4. 6
      src/views/modules/secretaryLog/humanisticCare/careList.vue

5
src/views/modules/secretaryLog/difficulty/difficultyForm.vue

@ -6,6 +6,7 @@
:inline="true"
:model="formData"
:rules="dataRule"
:disabled="formType==='detail'"
class="form">
<el-form-item label="内容"
@ -295,9 +296,9 @@ export default {
var a = document.createElement('a');
var event = new MouseEvent('click');
a.download = file.name;
a.download = file.fileName;
console.log(a)
a.href = file.url;
a.href = file.attachmentUrl;
a.dispatchEvent(event);

6
src/views/modules/secretaryLog/difficulty/difficultyList.vue

@ -282,10 +282,12 @@ export default {
handleDetail (row) {
this.detailShow = true
// this.detailShow = true
this.formShow = true
this.formTitle = '详情'
this.$nextTick(() => {
this.$refs.ref_detail.initForm(row)
this.$refs.ref_form.initForm('detail', row.id)
// this.$refs.ref_detail.initForm(row)
})
},

5
src/views/modules/secretaryLog/humanisticCare/careForm.vue

@ -6,6 +6,7 @@
:inline="true"
:model="formData"
:rules="dataRule"
:disabled="formType==='detail'"
class="form">
<el-form-item label="关怀类型"
@ -348,9 +349,9 @@ export default {
var a = document.createElement('a');
var event = new MouseEvent('click');
a.download = file.name;
a.download = file.fileName;
console.log(a)
a.href = file.url;
a.href = file.attachmentUrl;
a.dispatchEvent(event);

6
src/views/modules/secretaryLog/humanisticCare/careList.vue

@ -352,10 +352,12 @@ export default {
handleDetail (row) {
this.detailShow = true
// this.detailShow = true
this.formShow = true
this.formTitle = '详情'
this.$nextTick(() => {
this.$refs.ref_detail.initForm(row)
// this.$refs.ref_detail.initForm(row)
this.$refs.ref_form.initForm('detail', row.id)
})
},

Loading…
Cancel
Save