上报库 查看参数说明
This commit is contained in:
@@ -24,7 +24,10 @@
|
|||||||
<span style='padding-right: 20px'>{{ item.db_field_txt }} </span>
|
<span style='padding-right: 20px'>{{ item.db_field_txt }} </span>
|
||||||
<a-button @click='onClickSee(item)'>{{$t('See')}}</a-button>
|
<a-button @click='onClickSee(item)'>{{$t('See')}}</a-button>
|
||||||
</div>
|
</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 slot="operationbtn" slot-scope="record">-->
|
||||||
<!-- <span v-if='currentPersonRole === "homo"'>-->
|
<!-- <span v-if='currentPersonRole === "homo"'>-->
|
||||||
<!--<!– 认证工程师 –>-->
|
<!--<!– 认证工程师 –>-->
|
||||||
@@ -130,6 +133,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</a-modal>
|
</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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -232,6 +246,7 @@
|
|||||||
sdt: 0, // 工程接口人
|
sdt: 0, // 工程接口人
|
||||||
dre: 0, // 填写人
|
dre: 0, // 填写人
|
||||||
areaVisible: false,
|
areaVisible: false,
|
||||||
|
seeVisibleView:false,
|
||||||
form: {},
|
form: {},
|
||||||
rules: {
|
rules: {
|
||||||
querySdt: [
|
querySdt: [
|
||||||
@@ -278,6 +293,12 @@
|
|||||||
return 'rowClassRed'
|
return 'rowClassRed'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onClickTitle(val){
|
||||||
|
console.log(val)
|
||||||
|
this.description = val.description
|
||||||
|
this.seeVisibleView = true
|
||||||
|
|
||||||
|
},
|
||||||
pageOnChange(page, pageSize) {
|
pageOnChange(page, pageSize) {
|
||||||
this.pageNo = page
|
this.pageNo = page
|
||||||
// this.$emit('handlePreservation')
|
// this.$emit('handlePreservation')
|
||||||
@@ -492,6 +513,11 @@
|
|||||||
customRender: 'operationbtn'
|
customRender: 'operationbtn'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(res.click2){
|
||||||
|
this.columns[index].scopedSlots = {
|
||||||
|
customRender: 'ParameterDescription'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.columns = [...this.columns]
|
this.columns = [...this.columns]
|
||||||
|
|||||||
Reference in New Issue
Block a user