Commit 8195726b authored by 李苏's avatar 李苏 💬

添加

parent e5cb6b96
......@@ -5,12 +5,24 @@
<Gwrygl :app='this' v-if='showDialog' ></Gwrygl>
<SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col">
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">名称:</span>
<el-input v-model="queryParams.info"></el-input>
</div>
</el-col>
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">公司:</span>
<RelSelect style="width: 100%;" src='jcsj/common/bm/queryGs' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.gsid' ></RelSelect>
</div>
</el-col>
<el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">班组:</span>
<RelSelect linkage :linkParams="{pid:queryParams.gsid}" style="width: 100%;" src='jcsj/common/bm/queryBz' filterable clearable :match="{value:'id',label:'bmmc'}" v-model='queryParams.bmid' ></RelSelect>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
......@@ -78,7 +90,9 @@
baseUrl: '/aqgl/jcsj/scgw',
/* 查询参数*/
queryParams: {
info: ''
info: '',
gsid:'',
bmid:''
},
/* 表格标题对应参数*/
tableTitle: [
......
......@@ -28,6 +28,11 @@
<!-- <el-input :readonly="readonly" v-model="form.gwid" ></el-input> -->
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="检查人" ref="jcr" prop="jcr">
<RelSelect linkage :linkParams="{gwid:form.gwid}" filterable style="width: 100%;" clearable :readonly="readonly" src='kzzx/user/query' :match="{value:'id',label:'username'}" v-model='form.jcr' ></RelSelect>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
......@@ -48,57 +53,6 @@
</el-form-item>
</el-col>
<!-- 重写-->
<!-- -->
<!-- <el-col v-show="form.jldw&&form.jldw=='year'" :span="4">
<el-form-item label="每几年" ref="year" prop="year">
<el-input v-model="form.year" type="number"></el-input>
</el-form-item>
</el-col>
<el-col v-show="form.jldw&&(form.jldw=='month'||form.jldw=='year')" :span="4">
<el-form-item label="月份" ref="month" prop="month">
<el-select style="width: 100%;" v-model="form.month" placeholder="请选择">
<el-option
v-for="item in 12"
:key="item"
:label="item"
:value="item">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col v-show="form.jldw&&form.jldw=='week'" :span="12">
<el-form-item label="周" ref="week" prop="week">
<el-input v-model="form.week" type="number"></el-input>
</el-form-item>
</el-col>
<el-col :span="4" v-show="form.jldw&&(form.jldw=='month'||form.jldw=='year'||form.jldw=='week'||form.jldw=='day')" >
<el-form-item label="日" ref="day" prop="day">
<el-select :readonly="readonly" style="width: 100%;" v-model="form.day" placeholder="请选择">
<el-option
v-for="item in days"
:key="item"
:label="item"
:value="item">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col v-show="form.jldw&&(form.jldw=='month'||form.jldw=='year'||form.jldw=='week'||form.jldw=='hour'||form.jldw=='day')" :span="4">
<el-form-item label="时" ref="hour" prop="hour">
<el-input v-model="form.hour" type="number"></el-input>
</el-form-item>
</el-col>
<el-col v-show="form.jldw&&(form.jldw=='month'||form.jldw=='year'||form.jldw=='week'||form.jldw=='minute'||form.jldw=='day')" :span="4">
<el-form-item label="分" ref="minute" prop="minute">
<el-input v-model="form.minute" type="number"></el-input>
</el-form-item>
</el-col>
<el-col v-show="form.jldw&&(form.jldw=='month'||form.jldw=='year'||form.jldw=='week'||form.jldw=='second'||form.jldw=='day')" :span="4">
<el-form-item label="秒" ref="second" prop="second">
<el-input v-model="form.second" type="number"></el-input>
</el-form-item>
</el-col> -->
</el-row>
<el-row :gutter="20" style="height: 60px;padding-left: 100px;" >
<el-col :span="24" style="display: flex;line-height: 30px;"><span v-show="form.jldw&&form.jldw!='once'" ></span>
......@@ -213,6 +167,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: {
jcr:'',
table:'FXSZMX',
gwid:'',
// sjjcsj:'',
......
......@@ -28,6 +28,7 @@
import Subject from './subject'
export default{
mounted() {
this.getRemain()
/* 获取*/
},
......@@ -220,38 +221,53 @@
</script>
<style lang="scss">
$f:flex;
$mini:800px;
%normarflex{
display: $f;
}
%normal{
padding-left: 11rem;
padding-right: 11rem;
}
%mini{
padding-left: 2rem;
padding-right: 2rem;
}
@mixin normaltext($lintheight,$textalign,$fontweight:500,$fontsize:12px){
line-height:$lintheight;
text-align: $textalign;
font-weight: $fontweight;
font-size:$fontsize
}
.testpaper{
.info{
display: flex;
line-height: 80px;
font-size: 13px;
font-weight: 700;
text-align: center;
@extend %normarflex;
@include normaltext(80px,center,700,13px);
.infoItem{
width: 25%;
width: 25%
}
}
.title{
line-height: 30px;
text-align: center;
width: 100%;
font-size: 18px;
font-weight: 800;
@include normaltext(30px,center,800,18px);
width: 100%
}
@media screen and (min-width: 800px) {
@media screen and (min-width: $mini) {
& {
--mode:'normal';
padding-left: 11rem;
padding-right: 11rem;
@extent %normal;
--mode:'normal';
padding-left: 11rem;
padding-right: 11rem;
}
}
@media screen and (max-width: 800px) {
@media screen and (max-width: $mini) {
& {
@extent %mini;
--mode:'mini';
padding-left: 2rem;
padding-right: 2rem;
.info{
display: none;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment