|
|
|
@ -139,16 +139,18 @@ |
|
|
|
<div style="display: flex;justify-content: space-between;"> |
|
|
|
<div style="display: flex;"> |
|
|
|
<div style="display: flex;"> |
|
|
|
<div> 存储条件:</div> |
|
|
|
<div> 存储位置:</div> |
|
|
|
<div> |
|
|
|
<BusinessSelect v-model="citem.cctj" dictType="business_cctj" style="width: 200px;"> |
|
|
|
</BusinessSelect> |
|
|
|
<el-select v-model="citem.ccwz" :placeholder="$t('form.placeholderSelect')" |
|
|
|
@change="ccwzChange(cindex)" filterable> |
|
|
|
<el-option v-for="item in ccwzlist" :key="item.id" :label="item.bh" :value="item.id" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="display: flex; margin-left: 10px;"> |
|
|
|
<div> 存储位置:</div> |
|
|
|
<div> 存储条件:</div> |
|
|
|
<div> |
|
|
|
<BusinessSelect v-model="citem.ccwz" dictType="business_ccwz" style="width: 200px;"> |
|
|
|
<BusinessSelect v-model="citem.cctj" dictType="business_cctj" style="width: 200px;"> |
|
|
|
</BusinessSelect> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -248,8 +250,10 @@ |
|
|
|
<div style="display: flex;"> |
|
|
|
<div> 存储位置:</div> |
|
|
|
<div> |
|
|
|
<BusinessSelect v-model="citem.ccwz" dictType="business_ccwz" style="width: 200px;"> |
|
|
|
</BusinessSelect> |
|
|
|
<el-select v-model="citem.ccwz" :placeholder="$t('form.placeholderSelect')" |
|
|
|
@change="ccwzYjChange(cindex)" filterable> |
|
|
|
<el-option v-for="item in ccwzlist" :key="item.id" :label="item.bh" :value="item.id" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="display: flex; margin-left: 10px;"> |
|
|
|
@ -365,6 +369,7 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import { listData } from "@/api/system/dict/data" |
|
|
|
import { studyFormFill_bc, studyFormFill_yjccFilter, studyFormFill_yjcc, studyFormFill_bcOnly, studyFormFill_updateBdnr, studyFormFill_tj, studyFormFill_info, studyFormFill_updateFhyjjl } from "@/api/business/study/studyFormFill" |
|
|
|
import { study_info } from "@/api/business/study/study" |
|
|
|
import { mapGetters } from 'vuex' |
|
|
|
@ -417,7 +422,7 @@ export default { |
|
|
|
bdnr: '', |
|
|
|
resource: '', |
|
|
|
yqResource: '', |
|
|
|
jcbList:'', |
|
|
|
jcbList: '', |
|
|
|
qmrmm: '', |
|
|
|
sfcz: false, |
|
|
|
czfs: '', |
|
|
|
@ -446,7 +451,7 @@ export default { |
|
|
|
resourceYj: [], |
|
|
|
resource: [], |
|
|
|
yqResource: [], |
|
|
|
jcbList:[], |
|
|
|
jcbList: [], |
|
|
|
bdmbTitle: this.$t('page.business.form.bdmb'), |
|
|
|
rulesApprove: { |
|
|
|
qmrmm: [{ |
|
|
|
@ -471,7 +476,8 @@ export default { |
|
|
|
}, |
|
|
|
templateData: {}, |
|
|
|
studyType: null, |
|
|
|
studyFormType: null |
|
|
|
studyFormType: null, |
|
|
|
ccwzlist: [], |
|
|
|
} |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
@ -481,11 +487,32 @@ export default { |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getInfo() |
|
|
|
this.getCcwz() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
yjccCcwzChange(cindex,val){ |
|
|
|
debugger |
|
|
|
this.cclistYj[cindex].cctj=val.wc |
|
|
|
getCcwz() { |
|
|
|
listData({ |
|
|
|
pageNum: 1, |
|
|
|
pageSize: 999999, |
|
|
|
dictType: 'business_ccwz', |
|
|
|
status: 0 |
|
|
|
}).then(response => { |
|
|
|
this.ccwzlist = response.rows |
|
|
|
}) |
|
|
|
}, |
|
|
|
ccwzChange(cindex) { |
|
|
|
let that = this |
|
|
|
let _index = _.findIndex(this.ccwzlist, function (item) { |
|
|
|
return item.id == that.cclist[cindex].ccwz |
|
|
|
}) |
|
|
|
that.cclist[cindex].cctj = that.ccwzlist[_index].wc |
|
|
|
}, |
|
|
|
ccwzYjChange(cindex) { |
|
|
|
let that = this |
|
|
|
let _index = _.findIndex(this.ccwzlist, function (item) { |
|
|
|
return item.id == that.cclistYj[cindex].ccwz |
|
|
|
}) |
|
|
|
that.cclistYj[cindex].cctj = that.ccwzlist[_index].wc |
|
|
|
}, |
|
|
|
onFillCallback(data) { |
|
|
|
console.log("data:" + JSON.stringify(data)) |
|
|
|
|