上报库 查看参数说明

This commit is contained in:
zyx.net
2022-09-30 15:07:52 +08:00
parent d0b93b1b7a
commit 96cb1bd2b0
@@ -24,7 +24,10 @@
<span style='padding-right: 20px'>{{ item.db_field_txt }} </span>
<a-button @click='onClickSee(item)'>{{$t('See')}}</a-button>
</div>
<span slot="ParameterDescription" slot-scope="text,record" :title="text">
<a-button @click='onClickTitle(record)'>{{$t('See')}}</a-button>
</span>
<!-- <span slot="operationbtn" slot-scope="record">-->
<!-- <span v-if='currentPersonRole === "homo"'>-->
<!--&lt;!&ndash; 认证工程师 &ndash;&gt;-->
@@ -130,6 +133,17 @@
</div>
</div>
</a-modal>
<!-- 参数说明--->
<a-modal v-model="seeVisibleView" :title="$t('ParameterDescription')" width='550px' :footer="null">
<div class="content-text">
<div class="textfield">
<span class="textfield-left" :title="$t('ParameterDescription')">{{$t('ParameterDescription')}}:</span>
<span class="textfield-right"
:title="this.description"
>{{this.description}}</span>
</div>
</div>
</a-modal>
</div>
</template>
@@ -232,6 +246,7 @@
sdt: 0, // 工程接口人
dre: 0, // 填写人
areaVisible: false,
seeVisibleView:false,
form: {},
rules: {
querySdt: [
@@ -278,6 +293,12 @@
return 'rowClassRed'
}
},
onClickTitle(val){
console.log(val)
this.description = val.description
this.seeVisibleView = true
},
pageOnChange(page, pageSize) {
this.pageNo = page
// this.$emit('handlePreservation')
@@ -492,6 +513,11 @@
customRender: 'operationbtn'
}
}
if(res.click2){
this.columns[index].scopedSlots = {
customRender: 'ParameterDescription'
}
}
}
})
this.columns = [...this.columns]