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
d67a74a2
Commit
d67a74a2
authored
Dec 15, 2022
by
黄自鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工持证增加公司
parent
82d4af61
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
6 deletions
+21
-6
edit.vue
src/views/daily/holdCertificate/edit.vue
+12
-5
index.vue
src/views/daily/holdCertificate/index.vue
+9
-1
No files found.
src/views/daily/holdCertificate/edit.vue
View file @
d67a74a2
...
@@ -3,17 +3,22 @@
...
@@ -3,17 +3,22 @@
<!-- 填写表单内容,slot=form必写-->
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
8
"
>
<el-form-item
label=
"职工"
ref=
"userid"
prop=
"userid"
>
<el-form-item
label=
"职工"
ref=
"userid"
prop=
"userid"
>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.userid"
></el-input>
-->
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.userid"
></el-input>
-->
<personSelector
:label=
"form.username||form.userid||'暂无'"
@
selected=
'userSelected'
></personSelector>
<personSelector
:label=
"form.username||form.userid||'暂无'"
@
selected=
'userSelected'
></personSelector>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
8
"
>
<el-form-item
label=
"证书编号"
ref=
"code"
prop=
"code"
>
<el-form-item
label=
"证书编号"
ref=
"code"
prop=
"code"
>
<el-input
:readonly=
"readonly"
v-model=
"form.code"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.code"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"所属公司"
ref=
"gsid"
prop=
"gsid"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='form.gsid' >
</RelSelect>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
...
@@ -34,12 +39,12 @@
...
@@ -34,12 +39,12 @@
<el-form-item
label=
"作业类别"
ref=
"flid"
prop=
"flid"
>
<el-form-item
label=
"作业类别"
ref=
"flid"
prop=
"flid"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/rcgl/ygczxx/init/zsfl'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/rcgl/ygczxx/init/zsfl'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"适用范围"
ref=
"syfw"
prop=
"syfw"
>
<el-form-item
label=
"适用范围"
ref=
"syfw"
prop=
"syfw"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/rcgl/ygczxx/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.syfw' >
</RelSelect>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/rcgl/ygczxx/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.syfw' >
</RelSelect>
</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=
"9"
>
<el-col
:span=
"9"
>
...
@@ -77,7 +82,7 @@
...
@@ -77,7 +82,7 @@
</el-date-picker>
</el-date-picker>
</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=
"12"
>
<el-col
:span=
"12"
>
...
@@ -120,6 +125,7 @@
...
@@ -120,6 +125,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
form
:
{
gsid
:
''
,
userName
:
''
,
userName
:
''
,
//ID
//ID
id
:
''
,
id
:
''
,
...
@@ -169,6 +175,7 @@
...
@@ -169,6 +175,7 @@
},
},
/* form提交时的规则,具体规则参考官网*/
/* form提交时的规则,具体规则参考官网*/
rules
:
{
rules
:
{
gsid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
userid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
userid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fzdw
:
[{
required
:
true
,
trigger
:
'blur'
},],
fzdw
:
[{
required
:
true
,
trigger
:
'blur'
},],
fzrq
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fzrq
:
[{
required
:
true
,
trigger
:
'blur'
},
],
...
...
src/views/daily/holdCertificate/index.vue
View file @
d67a74a2
...
@@ -4,7 +4,13 @@
...
@@ -4,7 +4,13 @@
<!-- 查询条件-->
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"24"
class=
"search-row-1"
>
<el-row
:gutter=
"30"
class=
"search-row-1"
>
<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"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
证书编号:
</span>
<span
class=
"search-span"
>
证书编号:
</span>
...
@@ -91,6 +97,7 @@ import {
...
@@ -91,6 +97,7 @@ import {
baseUrl
:
'/aqgl/rcgl/ygczxx'
,
baseUrl
:
'/aqgl/rcgl/ygczxx'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
gsid
:
''
,
code
:
''
,
code
:
''
,
user
:
''
,
user
:
''
,
syfw
:
''
,
syfw
:
''
,
...
@@ -99,6 +106,7 @@ import {
...
@@ -99,6 +106,7 @@ import {
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
label
:
"公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"状态"
,
prop
:
"ztName"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"状态"
,
prop
:
"ztName"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"职工工号"
,
prop
:
"usercode"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"职工工号"
,
prop
:
"usercode"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"职工姓名"
,
prop
:
"username"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"职工姓名"
,
prop
:
"username"
,
fieldType
:
"ftString"
,
width
:
160
},
...
...
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