|
|
@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<div> |
|
|
<div> |
|
|
<!-- 发放弹窗 --> |
|
|
<!-- 发放弹窗 --> |
|
|
<el-dialog :title="$t('page.business.resource.mjy.fafang')" :visible.sync="open" width="1200px" append-to-body |
|
|
|
|
|
|
|
|
<el-dialog :title="$t('page.business.resource.mjy.fafang')" :visible.sync="open" width="80%" append-to-body |
|
|
:close-on-click-modal="false"> |
|
|
:close-on-click-modal="false"> |
|
|
<el-form ref="form" :model="form" :rules="rules" :label-width="$i18n.locale === 'zh_CN' ? '120px' : '170px'" |
|
|
<el-form ref="form" :model="form" :rules="rules" :label-width="$i18n.locale === 'zh_CN' ? '120px' : '170px'" |
|
|
v-if="open"> |
|
|
v-if="open"> |
|
|
@ -319,7 +319,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
selectStudyChangeBatch(val) { |
|
|
selectStudyChangeBatch(val) { |
|
|
if (val && val.id && val.id !== '') { |
|
|
if (val && val.id && val.id !== '') { |
|
|
const _index = _.findIndex(this.selectList, function (o) { return o.id + '' === val.key }) |
|
|
|
|
|
|
|
|
let _index = _.findIndex(this.selectList, function (o) { return o.id + '' === val.key }) |
|
|
if (_index > -1) { |
|
|
if (_index > -1) { |
|
|
this.selectList[_index].mdMcs = val.name |
|
|
this.selectList[_index].mdMcs = val.name |
|
|
this.selectList[_index].mdOther = val.mdOther |
|
|
this.selectList[_index].mdOther = val.mdOther |
|
|
@ -338,8 +338,10 @@ export default { |
|
|
}, |
|
|
}, |
|
|
tpChange(val) { |
|
|
tpChange(val) { |
|
|
let that = this |
|
|
let that = this |
|
|
|
|
|
debugger |
|
|
if (val) { |
|
|
if (val) { |
|
|
const _index = _.findIndex(that.selectList, function (o) { return o.id + '' === val.key }) |
|
|
|
|
|
|
|
|
let _index = _.findIndex(that.selectList, function (o) { return o.id + '' === val.key }) |
|
|
|
|
|
debugger |
|
|
if (_index > -1) { |
|
|
if (_index > -1) { |
|
|
that.selectList[_index].ckmz = val.tpz |
|
|
that.selectList[_index].ckmz = val.tpz |
|
|
that.selectList[_index].ckmzdw = val.dw |
|
|
that.selectList[_index].ckmzdw = val.dw |
|
|
@ -351,7 +353,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
handleSc(row) { |
|
|
handleSc(row) { |
|
|
this.$modal.confirm(this.$t('form.confirmDelete')).then(() => { |
|
|
this.$modal.confirm(this.$t('form.confirmDelete')).then(() => { |
|
|
const _index = _.findIndex(this.selectList, function (o) { return o.id === row.id }) |
|
|
|
|
|
|
|
|
let _index = _.findIndex(this.selectList, function (o) { return o.id === row.id }) |
|
|
if (_index > -1) { |
|
|
if (_index > -1) { |
|
|
this.selectList.splice(_index, 1) |
|
|
this.selectList.splice(_index, 1) |
|
|
this.form.ids = this.selectList.map(item => item.id) |
|
|
this.form.ids = this.selectList.map(item => item.id) |
|
|
|