Browse Source

质量分析页面样式

master
zhang_li 12 months ago
parent
commit
99ef0fb27c
  1. 18
      src/views/tjanalysis/zlanalysis/index.vue

18
src/views/tjanalysis/zlanalysis/index.vue

@ -8,7 +8,7 @@
style="margin-bottom: -17px" style="margin-bottom: -17px"
label-width="100px" label-width="100px"
> >
<el-form-item label="项目" style="width: calc(20% - 32px)"> <el-form-item label="项目" style="width: calc(20% - 10px)">
<el-select <el-select
v-model="queryParams.proCode" v-model="queryParams.proCode"
placeholder="请选择项目" placeholder="请选择项目"
@ -19,7 +19,7 @@
<el-option v-for=" (item) in projectList" :key="item" :label="item.name" :value="item.code" /> <el-option v-for=" (item) in projectList" :key="item" :label="item.name" :value="item.code" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="物料" style="width: calc(20% - 32px)"> <el-form-item label="物料" style="width: calc(20% - 10px)">
<el-select <el-select
v-model="queryParams.itemCode" v-model="queryParams.itemCode"
placeholder="请选择物料" placeholder="请选择物料"
@ -30,10 +30,10 @@
<el-option v-for=" (item) in itemList" :key="item" :label="item.name" :value="item.code" /> <el-option v-for=" (item) in itemList" :key="item" :label="item.name" :value="item.code" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="物料类型" style="width: calc(20% - 32px)"> <el-form-item label="检测模板类型" style="width: calc(20% - 10px)">
<el-select <el-select
v-model="queryParams.detectionType" v-model="queryParams.detectionType"
placeholder="请选择检测类型" placeholder="请选择检测模板类型"
clearable clearable
style="width: 100%" style="width: 100%"
@change="detectionItemChange" @change="detectionItemChange"
@ -41,7 +41,7 @@
<el-option v-for="dict in getIntDictOptions(DICT_TYPE.ITEMBASIC_TYPE)" :key="dict.value" :label="dict.label" :value="dict.value" /> <el-option v-for="dict in getIntDictOptions(DICT_TYPE.ITEMBASIC_TYPE)" :key="dict.value" :label="dict.label" :value="dict.value" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="检测项" style="width: calc(20% - 32px)"> <el-form-item label="检测项" style="width: calc(20% - 10px)">
<el-select <el-select
v-model="queryParams.detectionItemContentId" v-model="queryParams.detectionItemContentId"
placeholder="请选择检测项" placeholder="请选择检测项"
@ -53,7 +53,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="行号" style="width: calc(20% - 32px)" v-if="isShow"> <el-form-item label="行号" style="width: calc(20% - 10px)" v-if="isShow">
<el-select <el-select
v-model="queryParams.lineNumber" v-model="queryParams.lineNumber"
placeholder="请选择行号类型" placeholder="请选择行号类型"
@ -64,7 +64,7 @@
<el-option v-for="lines in lineNumberList" :key="lines.lineNumber" :label="lines.name" :value="lines.lineNumber" /> <el-option v-for="lines in lineNumberList" :key="lines.lineNumber" :label="lines.name" :value="lines.lineNumber" />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="检测日期" style="width: calc(35% - 32px)"> <el-form-item label="检测日期" style="width: calc(35% - 10px)">
<el-date-picker <el-date-picker
v-model="queryParams.detectionDate" v-model="queryParams.detectionDate"
type="daterange" type="daterange"
@ -632,8 +632,10 @@ onMounted(async () => {
.search { .search {
background: white; background: white;
} }
::v-deep.el-form--inline .el-form-item{
margin-right:10px!important ;
}
::v-deep.el-form-item--default .el-form-item__label { ::v-deep.el-form-item--default .el-form-item__label {
padding: 0px 20px !important;
background: rgb(53, 158, 256) !important; background: rgb(53, 158, 256) !important;
color: white !important; color: white !important;
} }

Loading…
Cancel
Save