Commit e5f626e6 authored by 黄自鹏's avatar 黄自鹏

调整

parent 27221567
...@@ -14,7 +14,8 @@ ...@@ -14,7 +14,8 @@
<!-- 公司,班组--> <!-- 公司,班组-->
<el-col :span="24"> <el-col :span="24">
<el-form-item label="公司" ref="gsid" prop="gsid"> <el-form-item label="公司" ref="gsid" prop="gsid">
<RelSelect style="width: 100%;" :readonly="readonly" src='jcsj/common/bm/queryGs' :match="{value:'id',label:'bmmc'}" v-model='form.gsid' ></RelSelect> <RelSelect style="width: 100%;" :readonly="readonly" src='jcsj/common/bm/queryGs'
:match="{value:'id',label:'bmmc'}" v-model='form.gsid'></RelSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="12"> <!-- <el-col :span="12">
...@@ -24,12 +25,14 @@ ...@@ -24,12 +25,14 @@
</el-col> --> </el-col> -->
<el-col :span="12"> <el-col :span="12">
<el-form-item label="三违等级" ref="swdj" prop="swdj"> <el-form-item label="三违等级" ref="swdj" prop="swdj">
<RelSelect style="width: 100%;" src='/aqgl/swgl/swcfbz/init/swdj' clearable :match="{value:'id',label:'name'}" v-model='form.swdj' ></RelSelect> <RelSelect style="width: 100%;" src='/aqgl/swgl/swcfbz/init/swdj' clearable
:match="{value:'id',label:'name'}" v-model='form.swdj'></RelSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="三违类型" ref="wglx" prop="wglx"> <el-form-item label="三违类型" ref="wglx" prop="wglx">
<RelSelect style="width: 100%;" src='/aqgl/swgl/swcfbz/init/wglx' clearable :match="{value:'id',label:'name'}" v-model='form.wglx' ></RelSelect> <RelSelect style="width: 100%;" src='/aqgl/swgl/swcfbz/init/wglx' clearable
:match="{value:'id',label:'name'}" v-model='form.wglx'></RelSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -37,19 +40,19 @@ ...@@ -37,19 +40,19 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="罚款金额(元)" ref="fkje" prop="fkje"> <el-form-item label="罚款金额(元)" ref="fkje" prop="fkje">
<el-input type='number' :readonly="readonly" v-model="form.fkje" ></el-input> <el-input type='number' :readonly="readonly" v-model="form.fkje"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="考核分数" ref="khfs" prop="khfs"> <el-form-item label="考核分数" ref="khfs" prop="khfs">
<el-input type='number' :readonly="readonly" v-model="form.khfs" ></el-input> <el-input type='number' :readonly="readonly" v-model="form.khfs"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="备注" ref="bz" prop="bz"> <el-form-item label="备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input> <el-input :readonly="readonly" v-model="form.bz"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -58,6 +61,7 @@ ...@@ -58,6 +61,7 @@
</template> </template>
<script> <script>
import {editMixin} from 'common' import {editMixin} from 'common'
export default { export default {
mixins: [editMixin], mixins: [editMixin],
/* 存放index页面传递的额外参数*/ /* 存放index页面传递的额外参数*/
...@@ -78,40 +82,44 @@ ...@@ -78,40 +82,44 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/ /* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: { form: {
gsid:'', gsid: '',
//ID //ID
id:'', id: '',
//序号 //序号
xh:'', xh: '',
//三违内容 //三违内容
content:'', content: '',
//类型 //类型
wglx:'', wglx: '',
//考核分数 //考核分数
khfs:'', khfs: '',
//罚款金额 //罚款金额
fkje:'', fkje: '',
//罚款金额下限 //罚款金额下限
fkjexx:'', fkjexx: '',
//罚款金额上限 //罚款金额上限
fkjesx:'', fkjesx: '',
//备注 //备注
bz:'' bz: ''
}, },
/* form提交时的规则,具体规则参考官网*/ /* form提交时的规则,具体规则参考官网*/
rules: { rules: {
xh: [{ xh: [{
required: true, required: true,
trigger: 'blur' trigger: 'blur'
}, ], },],
swdj: [{ swdj: [{
required: true, required: true,
trigger: 'blur' trigger: 'blur'
}, ], },],
wglx: [{ wglx: [{
required: true, required: true,
trigger: 'blur' trigger: 'blur'
}, ] },],
gsid: [{
required: true,
trigger: 'blur'
},],
} }
} }
}, },
......
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