Browse Source

fix:[操作日志]致命问题

lkf
15881625488@163.com 2 months ago
parent
commit
9c4c32f982
17 changed files with 26 additions and 3 deletions
  1. +1
    -1
      src/views/business/resource/gyzj/comps/gyzjList.vue
  2. +2
    -0
      src/views/business/study/comp/jhbd/Bj.vue
  3. +1
    -0
      src/views/business/study/comp/jhbd/Fh.vue
  4. +1
    -0
      src/views/business/study/comp/jhbd/Sy.vue
  5. +1
    -0
      src/views/business/study/comp/jhbd/Xq.vue
  6. +2
    -0
      src/views/business/study/comp/sqbd/Bj.vue
  7. +1
    -0
      src/views/business/study/comp/sqbd/Fh.vue
  8. +1
    -0
      src/views/business/study/comp/sqbd/Sh.vue
  9. +1
    -0
      src/views/business/study/comp/sqbd/Sy.vue
  10. +1
    -0
      src/views/business/study/comp/sqbd/Xq.vue
  11. +3
    -1
      src/views/business/study/comp/tbbd/Bj.vue
  12. +1
    -0
      src/views/business/study/comp/tbbd/Fh.vue
  13. +1
    -0
      src/views/business/study/comp/tbbd/Sy.vue
  14. +2
    -1
      src/views/business/study/comp/tbbd/Xq.vue
  15. +5
    -0
      src/views/business/study/comp/ytbd/Bj.vue
  16. +1
    -0
      src/views/business/study/comp/ytbd/Sh.vue
  17. +1
    -0
      src/views/business/study/comp/ytbd/Xq.vue

+ 1
- 1
src/views/business/resource/gyzj/comps/gyzjList.vue View File

@ -414,7 +414,7 @@ export default {
a.href = uri + window.btoa(unescape(encodeURIComponent(exportTemplate))) a.href = uri + window.btoa(unescape(encodeURIComponent(exportTemplate)))
a.click() a.click()
that.$modal.closeLoading() that.$modal.closeLoading()
that.saveSimpleLog({name:'',nameEn:'',jcmc:'给药制剂导出',jcmcEn:'Formulation Export'})
that.saveSimpleLog({name:'',nameEn:'',jcmc:'给药制剂导出',jcmcEn:'Formulation Export'})
}).finally(() => { }).finally(() => {
that.$modal.closeLoading() that.$modal.closeLoading()
}) })

+ 2
- 0
src/views/business/study/comp/jhbd/Bj.vue View File

@ -276,6 +276,7 @@ export default {
studyFormPlan_info({ id: row.id }).then(response => { studyFormPlan_info({ id: row.id }).then(response => {
this.form = response.data this.form = response.data
this.templateData = deepClone(this.form) this.templateData = deepClone(this.form)
this.saveSimpleLog({ jcmc: '计划表单编辑', jcmcEn: 'Plan Table Edit', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.open = true this.open = true
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
@ -284,6 +285,7 @@ export default {
this.showIndex = 1 this.showIndex = 1
this.form = _.merge({}, this.form, row) this.form = _.merge({}, this.form, row)
this.templateData = deepClone(this.form) this.templateData = deepClone(this.form)
this.saveSimpleLog({jcmc:'计划表单新增',jcmcEn:'Create',jcnr:'',jcmcEn:''})
this.open = true this.open = true
} }
}, },

+ 1
- 0
src/views/business/study/comp/jhbd/Fh.vue View File

@ -222,6 +222,7 @@ export default {
this.form = response.data this.form = response.data
this.getQmxxList() this.getQmxxList()
this.getJjcgjList() this.getJjcgjList()
this.saveSimpleLog({ jcmc: '计划表单复核', jcmcEn: 'Plan Table QC', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.open = true this.open = true
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

+ 1
- 0
src/views/business/study/comp/jhbd/Sy.vue View File

@ -178,6 +178,7 @@ export default {
this.form = response.data this.form = response.data
this.getQmxxList() this.getQmxxList()
this.getJjcgjList() this.getJjcgjList()
this.saveSimpleLog({ jcmc: '计划表单审阅', jcmcEn: 'Plan Table Review', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.open = true this.open = true
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

+ 1
- 0
src/views/business/study/comp/jhbd/Xq.vue View File

@ -388,6 +388,7 @@ export default {
this.form = response.data this.form = response.data
this.getQmxxList() this.getQmxxList()
this.getJjcgjList() this.getJjcgjList()
this.saveSimpleLog({ jcmc: '计划表单详情', jcmcEn: 'Plan Table Detail', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.open = true this.open = true
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

+ 2
- 0
src/views/business/study/comp/sqbd/Bj.vue View File

@ -278,6 +278,7 @@ export default {
studyFormApply_info({ id: row.id }).then(response => { studyFormApply_info({ id: row.id }).then(response => {
this.form = _.merge({}, this.form, response.data) this.form = _.merge({}, this.form, response.data)
this.templateData = deepClone(this.form) this.templateData = deepClone(this.form)
this.saveSimpleLog({ jcmc: '领取申请单编辑', jcmcEn: 'Material Application Table Edit', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.open = true this.open = true
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
@ -286,6 +287,7 @@ export default {
this.showIndex = 1 this.showIndex = 1
this.form = _.merge({}, this.form, row) this.form = _.merge({}, this.form, row)
this.templateData = deepClone(this.form) this.templateData = deepClone(this.form)
this.saveSimpleLog({jcmc:'领取申请单新增',nameEn:'Create',jcmc:'',jcmcEn:''})
this.open = true this.open = true
} }
}, },

+ 1
- 0
src/views/business/study/comp/sqbd/Fh.vue View File

@ -224,6 +224,7 @@ export default {
this.form = response.data this.form = response.data
this.getQmxxList() this.getQmxxList()
this.getJjcgjList() this.getJjcgjList()
this.saveSimpleLog({ jcmc: '领取申请单复核', jcmcEn: 'Material Application Table QC', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.open = true this.open = true
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

+ 1
- 0
src/views/business/study/comp/sqbd/Sh.vue View File

@ -198,6 +198,7 @@ export default {
this.form = response.data this.form = response.data
this.getQmxxList() this.getQmxxList()
this.getJjcgjList() this.getJjcgjList()
this.saveSimpleLog({ jcmc: '领取申请单审核', jcmcEn: 'Material Application Table Audit', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.open = true this.open = true
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

+ 1
- 0
src/views/business/study/comp/sqbd/Sy.vue View File

@ -181,6 +181,7 @@ export default {
this.form = response.data this.form = response.data
this.getQmxxList() this.getQmxxList()
this.getJjcgjList() this.getJjcgjList()
this.saveSimpleLog({ jcmc: '领取申请单审核', jcmcEn: 'Material Application Table Review', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.open = true this.open = true
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

+ 1
- 0
src/views/business/study/comp/sqbd/Xq.vue View File

@ -390,6 +390,7 @@ export default {
this.getQmxxList() this.getQmxxList()
this.getJjcgjList() this.getJjcgjList()
this.open = true this.open = true
this.saveSimpleLog({ jcmc: '领取申请单详情', jcmcEn: 'Material Application Table Detail', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
}) })

+ 3
- 1
src/views/business/study/comp/tbbd/Bj.vue View File

@ -597,6 +597,7 @@ export default {
this.templateData = deepClone(this.form) this.templateData = deepClone(this.form)
const obj = Object.assign({}, this.$route, { title: this.form.bdmc }) const obj = Object.assign({}, this.$route, { title: this.form.bdmc })
this.$tab.updatePage(obj); this.$tab.updatePage(obj);
this.saveSimpleLog({ jcmc: '填报表单编辑', jcmcEn: 'Record Edit', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.$modal.closeLoading() this.$modal.closeLoading()
}) })
} else { } else {
@ -605,8 +606,9 @@ export default {
study_info({ id: params.studyId }).then(response => { study_info({ id: params.studyId }).then(response => {
this.form = _.merge({}, this.form, { stydyId: params.studyId, resourceStudy: response.data.resource, sftb: 1 }) this.form = _.merge({}, this.form, { stydyId: params.studyId, resourceStudy: response.data.resource, sftb: 1 })
this.templateData = deepClone(this.form) this.templateData = deepClone(this.form)
const obj = Object.assign({}, this.$route, { title: this.form.bdmc })
const obj = Object.assign({}, this.$route, { title: this.$t('page.business.study.studyFormFill.xzbd') })
this.$tab.updatePage(obj); this.$tab.updatePage(obj);
this.saveSimpleLog({jcmc:'填报表单新增',jcmcEn:'Create',name:'',nameEn:''})
this.$modal.closeLoading() this.$modal.closeLoading()
}) })
} }

+ 1
- 0
src/views/business/study/comp/tbbd/Fh.vue View File

@ -224,6 +224,7 @@ export default {
this.form = response.data this.form = response.data
this.getQmxxList() this.getQmxxList()
this.getJjcgjList() this.getJjcgjList()
this.saveSimpleLog({ jcmc: '填报表单复核', jcmcEn: 'Record QC', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.open = true this.open = true
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

+ 1
- 0
src/views/business/study/comp/tbbd/Sy.vue View File

@ -181,6 +181,7 @@ export default {
this.getQmxxList() this.getQmxxList()
this.getJjcgjList() this.getJjcgjList()
this.open = true this.open = true
this.saveSimpleLog({ jcmc: '填报表单审阅', jcmcEn: 'Record Review', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
}) })

+ 2
- 1
src/views/business/study/comp/tbbd/Xq.vue View File

@ -305,7 +305,7 @@ export default {
ctx.save() ctx.save()
ctx.translate(canvas.width / 2, canvas.height / 2) ctx.translate(canvas.width / 2, canvas.height / 2)
ctx.rotate(-Math.PI / 4) // 45 ctx.rotate(-Math.PI / 4) // 45
let time=moment().format("YYYY-MM-DD HH:mm:ss")
let time = moment().format("YYYY-MM-DD HH:mm:ss")
for (let x = -canvas.width; x < canvas.width * 2; x += stepX) { for (let x = -canvas.width; x < canvas.width * 2; x += stepX) {
for (let y = -canvas.height; y < canvas.height * 2; y += stepY) { for (let y = -canvas.height; y < canvas.height * 2; y += stepY) {
// //
@ -395,6 +395,7 @@ export default {
this.getQmxxList() this.getQmxxList()
this.getJjcgjList() this.getJjcgjList()
this.open = true this.open = true
this.saveSimpleLog({ jcmc: '填报详情', jcmcEn: 'Record Detail', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
}) })

+ 5
- 0
src/views/business/study/comp/ytbd/Bj.vue View File

@ -277,6 +277,7 @@ export default {
this.form.qmyy = this.$t('page.business.study.studyFormPre.zztjyzbd') this.form.qmyy = this.$t('page.business.study.studyFormPre.zztjyzbd')
this.templateData = deepClone(this.form) this.templateData = deepClone(this.form)
this.open = true this.open = true
this.saveSimpleLog({ jcmc: '预填表单编辑', jcmcEn: 'Preset Edit', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.$modal.closeLoading() this.$modal.closeLoading()
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
@ -284,7 +285,11 @@ export default {
} else { } else {
this.showIndex = 1 this.showIndex = 1
this.form = _.merge({}, this.form, row) this.form = _.merge({}, this.form, row)
this.saveSimpleLog({name:this.form.bdbh,nameEn:this.form.bdbh,jcmc:'新增表单',jcmcEn:'Create'})
this.templateData = deepClone(this.form) this.templateData = deepClone(this.form)
const obj = Object.assign({}, this.$route, { title: this.$t('page.business.study.studyFormFill.xzbd') })
this.$tab.updatePage(obj);
this.saveSimpleLog({jcmc:'预填表单新增',jcmcEn:'Create',name:'',jcmcEn:''})
this.open = true this.open = true
} }
}, },

+ 1
- 0
src/views/business/study/comp/ytbd/Sh.vue View File

@ -200,6 +200,7 @@ export default {
studyFormPre_info({ id: row.id }).then(response => { studyFormPre_info({ id: row.id }).then(response => {
this.form = response.data this.form = response.data
this.open = true this.open = true
this.saveSimpleLog({ jcmc: '预填表单审核', jcmcEn: 'Preset Audit', name: this.form.bdmc + '(' + this.form.bdbh + ')', nameEn: this.form.bdmc + '(' + this.form.bdbh + ')' })
this.$modal.closeLoading() this.$modal.closeLoading()
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()

+ 1
- 0
src/views/business/study/comp/ytbd/Xq.vue View File

@ -227,6 +227,7 @@ export default {
this.getJjcgjList() this.getJjcgjList()
this.getIsMatchSubject() this.getIsMatchSubject()
this.open = true this.open = true
this.saveSimpleLog({jcmc:'预填详情',jcmcEn:'Preset Detail',name:this.form.bdmc+'('+this.form.bdbh+')',nameEn:this.form.bdmc+'('+this.form.bdbh+')'})
}).finally(() => { }).finally(() => {
this.$modal.closeLoading() this.$modal.closeLoading()
}) })

Loading…
Cancel
Save