master
李劲龙 12 months ago
parent e8f69d122b
commit 63c8cf5d2f

@ -117,14 +117,7 @@ export default {
<style lang="scss"> <style lang="scss">
@import "@/assets/styles/utils.scss"; @import "@/assets/styles/utils.scss";
::-webkit-scrollbar {
width: 0 !important;
}
::-webkit-scrollbar {
width: 0 !important;
height: 0;
}
.el-table__empty-text { .el-table__empty-text {
font-size: vb(16); font-size: vb(16);
@ -165,15 +158,9 @@ export default {
color: #000 !important; color: #000 !important;
} }
.el-table--scrollable-y .el-table__body-wrapper { .el-table__body-wrapper::-webkit-scrollbar {
overflow-y: auto; width: 25px !important;
}
.el-table {
&::-webkit-scrollbar {
width: 4px !important;
height: 4px !important; height: 4px !important;
border-radius: 4px !important; border-radius: 4px !important;
} }
}
</style> </style>

@ -18,10 +18,10 @@ axios.defaults.headers["Content-Type"] = "application/json;charset=utf-8";
const service = axios.create({ const service = axios.create({
// axios中请求配置有baseURL选项表示请求URL公共部分 // axios中请求配置有baseURL选项表示请求URL公共部分
// !本地使用 // !本地使用
baseURL: process.env.VUE_APP_BASE_API, // baseURL: process.env.VUE_APP_BASE_API,
// !外地使用 // !外地使用
// baseURL: location.origin + process.env.VUE_APP_URL, baseURL: location.origin + process.env.VUE_APP_URL,
// 超时 // 超时
timeout: 60000, timeout: 60000,
}); });

@ -31,7 +31,7 @@
</div> --> </div> -->
<block-header title="查询结果"> <block-header title="查询结果">
<div class="tables"> <div class="tables">
<el-table :data="tableData" height="430" :cell-style="columnStyle" v-loading="loading" border > <el-table :data="tableData" height="380" :cell-style="columnStyle" v-loading="loading" border>
<el-table-column type="index" header-align="center" label="序号" width="80"> <el-table-column type="index" header-align="center" label="序号" width="80">
</el-table-column> </el-table-column>
<el-table-column prop="sampleType" header-align="center" label="抽样级别"> <el-table-column prop="sampleType" header-align="center" label="抽样级别">
@ -66,8 +66,9 @@
class="pagination" class="pagination"
:class="transinformation.b == '1' ? 'paginationTwo' : ''" :class="transinformation.b == '1' ? 'paginationTwo' : ''"
> --> > -->
<!-- <pagination v-show="total > 0" :total="total" :page="form1.current" :limit="form1.size" @pagination="getPagination"> <pagination v-show="total > 0" :total="total" :page="form1.pageNum" :limit="form1.pageSize"
</pagination> --> @pagination="getPagination">
</pagination>
<!-- </div> --> <!-- </div> -->
</block-header> </block-header>
<!-- 国抽 --> <!-- 国抽 -->
@ -142,7 +143,7 @@ export default {
label: "合格", label: "合格",
}, },
], ],
tableData: [{}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}, {}], tableData: [],
loading: false, loading: false,
action: 1, action: 1,
currentComponent: "basicInfo", currentComponent: "basicInfo",
@ -152,8 +153,8 @@ export default {
total: 0, total: 0,
// //
form1: { form1: {
// size: 10, pageSize: 20,
// current: 1, pageNum: 1,
// //
// cybh: "", // cybh: "",
// // // //
@ -511,22 +512,26 @@ export default {
}, },
reset() { reset() {
this.form1 = { this.form1 = {
size: 10, pageSize: 20,
current: 1, pageNum: 1,
// //
cybh: "", // cybh: "",
// // //
yppzwh: '', // yppzwh: '',
zzjyjl: "" // zzjyjl:"",
//
approvalNumber: "",//
type: "" //
} }
this.name = ""; this.name = "";
this.value = ""; this.value = "";
this.listyp(); this.listyp();
}, },
getPagination(e) { getPagination(e) {
this.form1.current = e.page; console.log(e);
this.form1.size = e.limit; this.form1.pageNum = e.page;
this.listyp(); this.form1.pageSize = e.limit;
this.getDAList();
}, },
filterLevel(e) { filterLevel(e) {
if (e == "1") { if (e == "1") {
@ -548,10 +553,10 @@ export default {
if (this.urlA.type == 1) this.form1.type = 2 if (this.urlA.type == 1) this.form1.type = 2
this.loading = true; this.loading = true;
let msg1 = await this.$api.frimCenter.productFileInspect(this.form1); let msg1 = await this.$api.frimCenter.productFileInspect(this.form1);
this.tableData = msg1.result; this.tableData = msg1.result.list;
// this.total = msg1.result.total; this.total = msg1.result.total - 0;
// this.form1.size = msg1.result.size; this.form1.pageNum = msg1.result.pageNum;
// this.form1.current = msg1.result.current; this.form1.pageSize = msg1.result.pageSize;
this.loading = false; this.loading = false;
}, },
// //
@ -915,4 +920,5 @@ export default {
} }
</style> </style>

Loading…
Cancel
Save