|
@@ -30,7 +30,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
<template v-if="col.type==='input'">
|
|
<template v-if="col.type==='input'">
|
|
|
<span class="col-item">
|
|
<span class="col-item">
|
|
|
- <el-input v-if="!readonly" v-model="col.value" size="mini" style="width:120px" />
|
|
|
|
|
|
|
+ <el-input v-if="!readonly" v-model="col.value" size="mini" style="width:186px" />
|
|
|
<template v-else>{{ col.value }}</template>
|
|
<template v-else>{{ col.value }}</template>
|
|
|
</span>
|
|
</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -90,6 +90,23 @@ export default {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ 'formData.xuanZeWangQi': {
|
|
|
|
|
+ async handler (val) {
|
|
|
|
|
+ if (val) {
|
|
|
|
|
+ const sql = `select * from t_PCRjygzrzxqb where parent_id_='${val}' order by pei_zhi_id_`
|
|
|
|
|
+ const { variables: { data = [] } = {}} = await this.$common.request('sql', sql)
|
|
|
|
|
+ // console.log('data', data)
|
|
|
|
|
+ const arr = data.map(item => ({
|
|
|
|
|
+ quYuMing: item.qu_yu_ming_,
|
|
|
|
|
+ lieBiaoShuJu: JSON.parse(item.lie_biao_shu_ju_),
|
|
|
|
|
+ peiZhiId: item.pei_zhi_id_,
|
|
|
|
|
+ bianZhiRen: item.bian_zhi_ren_,
|
|
|
|
|
+ lieBiaoWenBen: item.lie_biao_wen_ben_
|
|
|
|
|
+ }))
|
|
|
|
|
+ this.tableList = arr
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
tableList: {
|
|
tableList: {
|
|
|
async handler (val) {
|
|
async handler (val) {
|
|
|
// console.log('tableList', val)
|
|
// console.log('tableList', val)
|