Browse Source

过程检验弹出框

master
han\hanst 4 months ago
parent
commit
c50711cb2a
  1. 18
      src/views/modules/yieldReport/com_process_inspection.vue

18
src/views/modules/yieldReport/com_process_inspection.vue

@ -47,6 +47,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
v-for="(item,index) in columnList1" :key="index" v-for="(item,index) in columnList1" :key="index"
v-if="!item.columnHidden"
:sortable="item.columnSortable" :sortable="item.columnSortable"
:prop="item.columnProp" :prop="item.columnProp"
:header-align="item.headerAlign" :header-align="item.headerAlign"
@ -56,7 +57,7 @@
:min-width="item.columnWidth" :min-width="item.columnWidth"
:label="item.columnLabel"> :label="item.columnLabel">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span>
<span v-if="!item.columnImage"> {{ scope.row[item.columnProp] }}</span>
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span> <span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" style="width: 100px; height: 80px"/></span>
</template> </template>
</el-table-column> </el-table-column>
@ -960,12 +961,11 @@ export default {
methods: { methods: {
// //
init() { init() {
this.getDataList()
this.getSiteAndBuByUserName2() this.getSiteAndBuByUserName2()
this.getUmList() this.getUmList()
this.getDataList()
// //
this.queryController() this.queryController()
this.getTableDefaultListLanguage()
}, },
// //
@ -1003,18 +1003,6 @@ export default {
}) })
}, },
//
getTableDefaultListLanguage() {
let tempData = {
functionId: 'C10000002',
tableId: 'IPQCResultEntry'
}
getTableDefaultListLanguage(tempData).then(({data}) => {
if (data && data.code === 0) {
this.columnList1 = data.rows
}
})
},
// //
getDataList() { getDataList() {

Loading…
Cancel
Save