Commit 4fcfe316 authored by dingyoujian's avatar dingyoujian

生产岗位

parent 221e94cb
...@@ -41,12 +41,54 @@ ...@@ -41,12 +41,54 @@
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-checkbox-group v-model="checkList"> <el-col :span="6">
<el-checkbox label="曝光亮相关"></el-checkbox> <el-form-item label="曝光负责岗" label-width="100px" ref="bglxg" prop="bglxg">
<el-checkbox label="安全补课关"></el-checkbox> <el-select v-model="form.bglxg" placeholder="请选择">
<el-checkbox label="领导谈话关"></el-checkbox> <el-option
<el-checkbox label="反思检查关"></el-checkbox> v-for="item in options"
</el-checkbox-group> :key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="补课负责岗" label-width="100px" ref="anbkg" prop="anbkg">
<el-select v-model="form.anbkg" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="谈话负责岗" label-width="100px" ref="ldthg" prop="ldthg">
<el-select v-model="form.ldthg" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="反思负责岗" label-width="100px" ref="fsjcg" prop="fsjcg">
<el-select v-model="form.fsjcg" placeholder="请选择">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
...@@ -76,8 +118,14 @@ ...@@ -76,8 +118,14 @@
/* 额外初始化,根据需求*/ /* 额外初始化,根据需求*/
systemType: [], systemType: [],
options: [{
value: 'Y',
label: '是'
}, {
value: 'N',
label: '否'
}],
bmList: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/ /* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: { form: {
...@@ -107,6 +155,10 @@ ...@@ -107,6 +155,10 @@
cjsj:new Date().getTime(), cjsj:new Date().getTime(),
//系统版本 //系统版本
sysversion:'', sysversion:'',
bglxg:'',
anbkg:'',
ldthg:'',
fsjcg:''
}, },
/* form提交时的规则,具体规则参考官网*/ /* form提交时的规则,具体规则参考官网*/
rules: { rules: {
......
...@@ -101,10 +101,24 @@ ...@@ -101,10 +101,24 @@
{label: "所属部门", prop: "bmName", fieldType: "ftString",width:300}, {label: "所属部门", prop: "bmName", fieldType: "ftString",width:300},
// {label: "负责人编码", prop: "fzrid", fieldType: "ftString",width:192}, // {label: "负责人编码", prop: "fzrid", fieldType: "ftString",width:192},
{label: "负责人", prop: "fzrName", fieldType: "ftString",width:192}, {label: "负责人", prop: "fzrName", fieldType: "ftString",width:192},
{label: "曝光亮相关", prop: "bglxg", fieldType: "ftString",width:10}, {label: "曝光负责岗", prop: "bglxg", fieldType: "ftString",width:120,formatter(a,b,c){
{label: "安全补课关", prop: "anbkg", fieldType: "ftString",width:10}, let options= {'Y':'是','N':'否'}
{label: "领导谈话关", prop: "ldthg", fieldType: "ftString",width:10}, return options[c]
{label: "反思检查关", prop: "fsjcg", fieldType: "ftString",width:10}, },width:200},
{label: "补课负责岗", prop: "anbkg", fieldType: "ftString",width:120,formatter(a,b,c){
let options= {'Y':'是','N':'否'}
return options[c]
},width:200},
{label: "谈话负责岗", prop: "ldthg", fieldType: "ftString",width:120,formatter(a,b,c){
let options= {'Y':'是','N':'否'}
return options[c]
},width:200},
{label: "反思负责岗", prop: "fsjcg", fieldType: "ftString",width:120,formatter(a,b,c){
let options= {'Y':'是','N':'否'}
return options[c]
},width:200},
{label: "备注", prop: "bz", fieldType: "ftString",width:300}, {label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"}, {label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"} {label: "维护时间", prop: "whsj", fieldType: "ftDateTime"}
......
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