Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
sgaqgl-vue
Commits
4fcfe316
Commit
4fcfe316
authored
Jan 05, 2023
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产岗位
parent
221e94cb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
12 deletions
+78
-12
edit.vue
src/views/basicData/scgw/edit.vue
+59
-7
index.vue
src/views/basicData/scgw/index.vue
+19
-5
No files found.
src/views/basicData/scgw/edit.vue
View file @
4fcfe316
...
@@ -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
:
{
...
...
src/views/basicData/scgw/index.vue
View file @
4fcfe316
...
@@ -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"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment