| | |
| | | background-color: #fff; |
| | | border-radius: 3px; |
| | | padding: 20px; |
| | | overflow: auto; |
| | | } |
| | | |
| | | .center-box { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | flex-wrap: wrap; |
| | | width: 100%; |
| | | /* overflow-x: hidden; */ |
| | | overflow-x: scroll; |
| | | } |
| | | |
| | | .tables { |
| | | margin-bottom: 16px; |
| | | table-layout:fixed; |
| | | margin: 5px 5px 16px; |
| | | } |
| | | |
| | | .tables td { |
| | |
| | | |
| | | .content { |
| | | display: flex; |
| | | width: 100%; |
| | | width: 100px; |
| | | height: 100%; |
| | | align-items: center; |
| | | justify-content: left; |
| | |
| | | <div class="center"> |
| | | <div class="center-box"> |
| | | <table border="1" class="tables" cellpadding="10" v-for="(item,index) in tableList" :key="index"> |
| | | <tbody> |
| | | <tr v-for="(m,i) in item.arr" :key="i"> |
| | | <tbody style="overflow: auto;"> |
| | | <tr v-for="(m,i) in item.arr" :key="i" style="overflow: auto;"> |
| | | <!-- v-if="n.v.mc==undefined || n.v.mc.rs!=undefined" :colspan="n.v.mc&&n.v.mc.cs?n.v.mc.cs:1" :rowspan="n.v.mc&&n.v.mc.rs?n.v.mc.rs:1" --> |
| | | <td :id='item.templateId+"-"+n.i+"-"+n.r+"-"+n.c' v-for="(n,j) in m" :key="j" |
| | | :style="`background:${n.v.bg};color:${n.v.fc};font-size:${n.v.fs}px;width:${item.style.columnlen[n.c]}px;height:${item.style.rowlen[n.r]}px;font-wight:${n.v.bl?'bold':''};`"> |
| | | <div class="content" :class="`content-h-${n.v.ht} content-v-${n.v.vt}`"> |
| | | :style="`background:${n.v.bg};color:${n.v.fc};font-size:${n.v.fs}px;width:${item.style.columnlen[n.c]}px !important;height:${item.style.rowlen[n.r]}px;font-wight:${n.v.bl?'bold':''};`"> |
| | | <div class="content" :class="`content-h-${n.v.ht} content-v-${n.v.vt}`" :style="`width:${item.style.columnlen[n.c]}px !important;`"> |
| | | <template v-if="n.v.ps!=undefined && n.v.ps.value==='检验值'"> |
| | | <el-input v-if="getInspectionValueType(n.i) == 1" class="table_input" v-model="n.v.v" |
| | | :disabled="getInspectionItemType(n.i) == 1 || (n.u != userId && n.u != undefined && n.u != '')||state>1" |
| | |
| | | // 批量删除 |
| | | batchDelete(){ |
| | | if(this.multipleSelection&&this.multipleSelection.length>0){ |
| | | // this.delUrl |
| | | this.$confirm('是否删除选中的数据?', "警告", { |
| | | confirmButtonText: "确定", |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }).then(() => { |
| | | this.$axios.post(this.delUrl, { |
| | | id: this.multipleSelection.map(item => item.id).join(',') |
| | | ids: JSON.stringify(this.multipleSelection.map(item => item.id)) |
| | | }).then(res => { |
| | | if (res.code === 201) { |
| | | return |
| | |
| | | </div> |
| | | </el-image> |
| | | <div class="table-item-right" style="flex: 1;font-size: 12px;color: #666666;"> |
| | | <p style="line-height: 30px;">资质名称:<span style="color: #3A7BFA;">{{ m.name }}</span></p> |
| | | <p style="line-height: 30px;">有效时间:{{m.expireTime}}</p> |
| | | <p style="line-height: 26px;">资质名称:<span style="color: #3A7BFA;">{{ m.name }}</span></p> |
| | | <p style="line-height: 26px;">颁发时间:{{m.recentlyTime}}</p> |
| | | <p style="line-height: 26px;">到期时间:{{m.expireTime}}</p> |
| | | <p> |
| | | <span>状态:</span> |
| | | <el-tag :type="m.state==0?'danger':'success'" size="small">{{ m.state==0?'失效':'有效' }}</el-tag> |
| | |
| | | itemParameterData: { |
| | | entity: { |
| | | name: null, |
| | | orderBy: { |
| | | field: 'id', |
| | | order: 'asc' |
| | | } |
| | | // orderBy: { |
| | | // field: 'id', |
| | | // order: 'asc' |
| | | // } |
| | | }, |
| | | isIndex: false, |
| | | showSelect: true, |
| | |
| | | finishLoding: false, // 加载完成,显示已经没有更多了 |
| | | entity:{ |
| | | name: null, |
| | | orderBy: {field: "id", order: "asc"} |
| | | // orderBy: {field: "id", order: "asc"} |
| | | }, |
| | | currentPage: 1, // 当前页 |
| | | pageSize: 16, // 一页16条 |