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
00026475
Commit
00026475
authored
Dec 02, 2022
by
zhoumaotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加部门字段
parent
56217ac4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
edit.vue
src/views/threeViolations/enterTV/edit.vue
+14
-4
index.vue
src/views/threeViolations/enterTV/index.vue
+2
-1
No files found.
src/views/threeViolations/enterTV/edit.vue
View file @
00026475
...
...
@@ -18,8 +18,8 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"所在公司"
ref=
"
bmid"
prop=
"bm
id"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'jcsj/common/bm/queryGs'
:match=
"
{value:'id',label:'bmmc'}" v-model='form.
bm
id' >
</RelSelect>
<el-form-item
label=
"所在公司"
ref=
"
gsid"
prop=
"gs
id"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'jcsj/common/bm/queryGs'
:match=
"
{value:'id',label:'bmmc'}" v-model='form.
gs
id' >
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -31,6 +31,11 @@
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"所在部门"
ref=
"bmid"
prop=
"bmid"
>
<RelSelect
hasValue
:optionsData=
'optionsData'
style=
"width: 100%;"
:params=
"
{}" src='/kzzx/bm/query' clearable :match="{value:'id',label:'bmmc'}" v-model='form.bmid' >
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"违章日期"
ref=
"wzrq"
prop=
"wzrq"
>
<el-date-picker
value-format=
"timestamp"
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
...
...
@@ -288,10 +293,14 @@
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
bmid
:
[{
/*
bmid: [{
required: true,
trigger: 'blur'
}, ],
gsid: [{
required: true,
trigger: 'blur'
}, ],
bzid: [{
required: true,
trigger: 'blur'
...
...
@@ -303,7 +312,7 @@
wzrq: [{
required: true,
trigger: 'blur'
},
]
}, ]
*/
}
}
},
...
...
@@ -311,6 +320,7 @@
wgrSelected
(
row
){
this
.
form
.
userid
=
row
.
id
this
.
form
.
phone
=
row
.
phone
||
''
this
.
form
.
bmid
=
row
.
bmid
||
''
}
}
}
...
...
src/views/threeViolations/enterTV/index.vue
View file @
00026475
...
...
@@ -79,7 +79,8 @@
//{label: "状态", prop: "ztName", fieldType: "ftString",width:90},
{
label
:
"工号"
,
prop
:
"wzrcode"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"姓名"
,
prop
:
"wzr"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在公司"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在部门"
,
prop
:
"bmName"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在公司"
,
prop
:
"gsName"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"所在班组"
,
prop
:
"bzName"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"联系手机"
,
prop
:
"phone"
,
fieldType
:
"ftString"
,
width
:
120
},
{
label
:
"违章日期"
,
prop
:
"wzrq"
,
fieldType
:
"ftDate"
},
...
...
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