Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dxgaqgl-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
李苏
dxgaqgl-vue
Commits
06d08f9e
Commit
06d08f9e
authored
Sep 14, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资质证照调整
parent
f379fbbc
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
863 additions
and
514 deletions
+863
-514
edit.vue
src/views/daily/aqglry/edit.vue
+246
-177
index.vue
src/views/daily/aqglry/index.vue
+9
-0
edit.vue
src/views/daily/duty/edit.vue
+1
-1
edit.vue
src/views/daily/holdCertificate/edit.vue
+247
-179
index.vue
src/views/daily/holdCertificate/index.vue
+244
-142
edit.vue
src/views/daily/tzzyry/edit.vue
+49
-7
index.vue
src/views/daily/tzzyry/index.vue
+9
-0
edit.vue
src/views/daily/zyfzr/edit.vue
+49
-8
index.vue
src/views/daily/zyfzr/index.vue
+9
-0
No files found.
src/views/daily/aqglry/edit.vue
View file @
06d08f9e
...
...
@@ -6,12 +6,12 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"职工"
ref=
"userid"
prop=
"userid"
>
<!--
<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-col>
<el-col
:span=
"12"
>
<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-col>
<!--
<el-col
:span=
"8"
>
...
...
@@ -23,26 +23,28 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"证书名称"
ref=
"name"
prop=
"name"
>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"发证单位"
ref=
"fzdw"
prop=
"fzdw"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fzdw"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.fzdw"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"作业类别"
ref=
"flid"
prop=
"flid"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/rcgl/uaqglry/init/zsfl'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/rcgl/uaqglry/init/zsfl'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.flid'>
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"适用范围"
ref=
"syfw"
prop=
"syfw"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/rcgl/uaqglry/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.syfw' >
</RelSelect>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/rcgl/uaqglry/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.syfw'>
</RelSelect>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -56,7 +58,7 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"有效期(年)"
ref=
"yxq"
prop=
"yxq"
>
<el-input
type=
"number"
:readonly=
"readonly"
v-model=
"form.yxq"
></el-input>
<el-input
type=
"number"
:readonly=
"readonly"
v-model=
"form.yxq"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"9"
>
...
...
@@ -68,13 +70,25 @@
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12
"
>
<el-col
:span=
"8
"
>
<el-form-item
label=
"复审日期1"
ref=
"fsrq1"
prop=
"fsrq1"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
v-model=
"form.fsrq1"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"提醒周期(天)"
ref=
"txzq"
prop=
"txzq"
>
<el-input
:readonly=
"readonly"
v-model=
"form.txzq"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"提醒日期"
ref=
"txrq"
prop=
"txrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"true"
type=
"date"
value-format=
"timestamp"
v-model=
"form.txrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"实际复审日期1"
ref=
"sjfsrq1"
prop=
"sjfsrq1"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
...
...
@@ -104,7 +118,9 @@
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
...
...
@@ -112,8 +128,31 @@
},
/* 组件名称*/
name
:
"aqgl/rcglYgczxxEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
computed
:
{
txzq
()
{
return
(
this
.
form
.
txzq
)
},
fsrq1
()
{
return
(
this
.
form
.
fsrq1
)
}
},
/* 组件名称*/
watch
:{
txzq
(
val
){
if
(
this
.
form
.
fsrq1
){
this
.
form
.
txrq
=
this
.
form
.
fsrq1
-
val
*
24
*
60
*
60
*
1000
}
},
fsrq1
(
val
){
if
(
this
.
form
.
txzq
){
this
.
form
.
txrq
=
this
.
form
.
fsrq1
-
this
.
form
.
txzq
*
24
*
60
*
60
*
1000
}
}
},
data
()
{
return
{
...
...
@@ -125,70 +164,100 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
gsid
:
''
,
userName
:
''
,
txzq
:
''
,
txrq
:
''
,
gsid
:
''
,
userName
:
''
,
//ID
id
:
''
,
id
:
''
,
//用户编码
userid
:
''
,
userid
:
''
,
//证书编号
code
:
''
,
code
:
''
,
//证书名称
name
:
''
,
flid
:
''
,
name
:
''
,
flid
:
''
,
//发证日期
fzrq
:
''
,
fzrq
:
''
,
//有效期
yxq
:
''
,
yxq
:
''
,
//截止日期
jzrq
:
''
,
jzrq
:
''
,
//状态
zt
:
''
,
zt
:
''
,
//复审日期1
fsrq1
:
''
,
fsrq1
:
''
,
//复审日期2
fsrq2
:
''
,
fsrq2
:
''
,
//实际复审日期1
sjfsrq1
:
''
,
sjfsrq1
:
''
,
//实际复审日期2
sjfsrq2
:
''
,
sjfsrq2
:
''
,
//备注
bz
:
''
,
bz
:
''
,
//维护人编码
whrid
:
''
,
whrid
:
''
,
//维护人
whr
:
''
,
whr
:
''
,
//维护时间
whsj
:
new
Date
().
getTime
(),
whsj
:
new
Date
().
getTime
(),
//创建人编码
cjrid
:
''
,
cjrid
:
''
,
//创建人
cjr
:
''
,
cjr
:
''
,
//创建时间
cjsj
:
new
Date
().
getTime
(),
cjsj
:
new
Date
().
getTime
(),
//系统版本
sysversion
:
''
,
sysversion
:
''
,
//发证单位
fzdw
:
''
,
fzdw
:
''
,
//适用范围
syfw
:
''
,
syfw
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
gsid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
userid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fzdw
:
[{
required
:
true
,
trigger
:
'blur'
},],
fzrq
:
[{
required
:
true
,
trigger
:
'blur'
},
],
code
:
[{
required
:
true
,
trigger
:
'blur'
},
],
name
:
[{
required
:
true
,
trigger
:
'blur'
},
],
flid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
syfw
:
[{
required
:
true
,
trigger
:
'blur'
},
],
gsid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
userid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fzdw
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fzrq
:
[{
required
:
true
,
trigger
:
'blur'
},
],
code
:
[{
required
:
true
,
trigger
:
'blur'
},
],
name
:
[{
required
:
true
,
trigger
:
'blur'
},
],
flid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
syfw
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fsrq1
:
[{
required
:
true
,
trigger
:
'blur'
},
],
}
}
},
methods
:
{
userSelected
(
row
)
{
this
.
form
.
userid
=
row
.
id
userSelected
(
row
)
{
this
.
form
.
userid
=
row
.
id
}
}
}
...
...
src/views/daily/aqglry/index.vue
View file @
06d08f9e
...
...
@@ -115,6 +115,15 @@ import {
{
label
:
"作业类别"
,
prop
:
"zsflName"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"发证日期"
,
prop
:
"fzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"有效期"
,
prop
:
"yxq"
,
fieldType
:
"float"
},
{
label
:
"提醒周期(天)"
,
prop
:
"txzq"
},
{
label
:
"提醒日期"
,
prop
:
"txrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"截止日期"
,
prop
:
"jzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复审日期1"
,
prop
:
"fsrq1"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复审日期2"
,
prop
:
"fsrq2"
,
fieldType
:
"ftDateTime"
},
...
...
src/views/daily/duty/edit.vue
View file @
06d08f9e
...
...
@@ -22,7 +22,7 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"履职内容"
ref=
"content"
prop=
"content"
>
<RelSelect
linkage
:linkParams=
"
{flid:form.flid}" :readonly="readonly" style="width: 100%;" src='/aqgl/rcgl/lzbz/query' filterable clearable :match="{value:'content',label:'content'}" v-model='form.content' >
</RelSelec
t>
<el-input
:readonly=
"readonly"
v-model=
"form.content"
></el-inpu
t>
</el-form-item>
</el-col>
</el-row>
...
...
src/views/daily/holdCertificate/edit.vue
View file @
06d08f9e
...
...
@@ -6,12 +6,12 @@
<el-col
:span=
"12"
>
<el-form-item
label=
"职工"
ref=
"userid"
prop=
"userid"
>
<!--
<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-col>
<el-col
:span=
"12"
>
<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-col>
<!--
<el-col
:span=
"8"
>
...
...
@@ -23,26 +23,28 @@
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"证书名称"
ref=
"name"
prop=
"name"
>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"发证单位"
ref=
"fzdw"
prop=
"fzdw"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fzdw"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.fzdw"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<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-col>
<el-col
:span=
"12"
>
<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-col>
</el-row>
...
...
@@ -56,7 +58,7 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"有效期(年)"
ref=
"yxq"
prop=
"yxq"
>
<el-input
type=
"number"
:readonly=
"readonly"
v-model=
"form.yxq"
></el-input>
<el-input
type=
"number"
:readonly=
"readonly"
v-model=
"form.yxq"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"9"
>
...
...
@@ -68,13 +70,25 @@
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12
"
>
<el-col
:span=
"8
"
>
<el-form-item
label=
"复审日期1"
ref=
"fsrq1"
prop=
"fsrq1"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
v-model=
"form.fsrq1"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"提醒周期(天)"
ref=
"txzq"
prop=
"txzq"
>
<el-input
:readonly=
"readonly"
v-model=
"form.txzq"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"提醒日期"
ref=
"txrq"
prop=
"txrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"true"
type=
"date"
value-format=
"timestamp"
v-model=
"form.txrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"实际复审日期1"
ref=
"sjfsrq1"
prop=
"sjfsrq1"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
...
...
@@ -104,7 +118,9 @@
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
...
...
@@ -113,8 +129,30 @@
},
/* 组件名称*/
name
:
"aqgl/rcglYgczxxEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
computed
:
{
txzq
()
{
return
(
this
.
form
.
txzq
)
},
fsrq1
()
{
return
(
this
.
form
.
fsrq1
)
}
},
watch
:
{
txzq
(
val
)
{
if
(
this
.
form
.
fsrq1
)
{
this
.
form
.
txrq
=
this
.
form
.
fsrq1
-
val
*
24
*
60
*
60
*
1000
}
},
fsrq1
(
val
)
{
if
(
this
.
form
.
txzq
)
{
this
.
form
.
txrq
=
this
.
form
.
fsrq1
-
this
.
form
.
txzq
*
24
*
60
*
60
*
1000
}
}
},
data
()
{
return
{
...
...
@@ -125,70 +163,100 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
gsid
:
''
,
userName
:
''
,
txzq
:
''
,
txrq
:
''
,
gsid
:
''
,
userName
:
''
,
//ID
id
:
''
,
id
:
''
,
//用户编码
userid
:
''
,
userid
:
''
,
//证书编号
code
:
''
,
code
:
''
,
//证书名称
name
:
''
,
flid
:
''
,
name
:
''
,
flid
:
''
,
//发证日期
fzrq
:
''
,
fzrq
:
''
,
//有效期
yxq
:
''
,
yxq
:
''
,
//截止日期
jzrq
:
''
,
jzrq
:
''
,
//状态
zt
:
''
,
zt
:
''
,
//复审日期1
fsrq1
:
''
,
fsrq1
:
''
,
//复审日期2
fsrq2
:
''
,
fsrq2
:
''
,
//实际复审日期1
sjfsrq1
:
''
,
sjfsrq1
:
''
,
//实际复审日期2
sjfsrq2
:
''
,
sjfsrq2
:
''
,
//备注
bz
:
''
,
bz
:
''
,
//维护人编码
whrid
:
''
,
whrid
:
''
,
//维护人
whr
:
''
,
whr
:
''
,
//维护时间
whsj
:
new
Date
().
getTime
(),
whsj
:
new
Date
().
getTime
(),
//创建人编码
cjrid
:
''
,
cjrid
:
''
,
//创建人
cjr
:
''
,
cjr
:
''
,
//创建时间
cjsj
:
new
Date
().
getTime
(),
cjsj
:
new
Date
().
getTime
(),
//系统版本
sysversion
:
''
,
sysversion
:
''
,
//发证单位
fzdw
:
''
,
fzdw
:
''
,
//适用范围
syfw
:
''
,
syfw
:
''
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
gsid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
userid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fzdw
:
[{
required
:
true
,
trigger
:
'blur'
},],
fzrq
:
[{
required
:
true
,
trigger
:
'blur'
},
],
code
:
[{
required
:
true
,
trigger
:
'blur'
},
],
name
:
[{
required
:
true
,
trigger
:
'blur'
},
],
flid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
syfw
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fsrq1
:
[{
required
:
true
,
trigger
:
'blur'
},
],
gsid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
userid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fzdw
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fzrq
:
[{
required
:
true
,
trigger
:
'blur'
},
],
code
:
[{
required
:
true
,
trigger
:
'blur'
},
],
name
:
[{
required
:
true
,
trigger
:
'blur'
},
],
flid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
syfw
:
[{
required
:
true
,
trigger
:
'blur'
},
],
}
}
},
methods
:
{
userSelected
(
row
)
{
this
.
form
.
userid
=
row
.
id
userSelected
(
row
)
{
this
.
form
.
userid
=
row
.
id
}
}
}
...
...
src/views/daily/holdCertificate/index.vue
View file @
06d08f9e
...
...
@@ -26,13 +26,15 @@
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
证书状态:
</span>
<RelSelect
src=
'aqgl/rcgl/ygczxx/init/zt'
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.zt' >
</RelSelect>
<RelSelect
src=
'aqgl/rcgl/ygczxx/init/zt'
clearable
:match=
"
{value:'id',label:'name'}"
v-model='queryParams.zt'>
</RelSelect>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
适用范围:
</span>
<RelSelect
src=
'aqgl/rcgl/ygczxx/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.syfw' >
</RelSelect>
<RelSelect
src=
'aqgl/rcgl/ygczxx/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}"
v-model='queryParams.syfw'>
</RelSelect>
</div>
</el-col>
</el-row>
...
...
@@ -44,7 +46,7 @@
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
...
...
@@ -65,7 +67,7 @@
<
script
>
/* 引入需要的接口*/
import
{
import
{
doQuery
,
doAdd
,
doUpdate
,
...
...
@@ -97,37 +99,137 @@ import {
baseUrl
:
'/aqgl/rcgl/ygczxx'
,
/* 查询参数*/
queryParams
:
{
gsid
:
''
,
code
:
''
,
user
:
''
,
syfw
:
''
,
zt
:
''
gsid
:
''
,
code
:
''
,
user
:
''
,
syfw
:
''
,
zt
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
// {label: "公司", prop: "gsName", fieldType: "ftString",width:100},
{
label
:
"状态"
,
prop
:
"ztName"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"职工工号"
,
prop
:
"usercode"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"职工姓名"
,
prop
:
"username"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"证书编号"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"证书名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"作业类别"
,
prop
:
"zsflName"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"发证日期"
,
prop
:
"fzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"有效期"
,
prop
:
"yxq"
,
fieldType
:
"float"
},
{
label
:
"截止日期"
,
prop
:
"jzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复审日期1"
,
prop
:
"fsrq1"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复审日期2"
,
prop
:
"fsrq2"
,
fieldType
:
"ftDateTime"
},
{
label
:
"实际复审日期1"
,
prop
:
"sjfsrq1"
,
fieldType
:
"ftDateTime"
},
{
label
:
"实际复审日期2"
,
prop
:
"sjfsrq2"
,
fieldType
:
"ftDateTime"
},
{
label
:
"发证单位"
,
prop
:
"fzdw"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"状态"
,
prop
:
"ztName"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"职工工号"
,
prop
:
"usercode"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"职工姓名"
,
prop
:
"username"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"证书编号"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"证书名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"作业类别"
,
prop
:
"zsflName"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"发证日期"
,
prop
:
"fzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"提醒周期(天)"
,
prop
:
"txzq"
},
{
label
:
"提醒日期"
,
prop
:
"txrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"有效期"
,
prop
:
"yxq"
,
fieldType
:
"float"
},
{
label
:
"截止日期"
,
prop
:
"jzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复审日期1"
,
prop
:
"fsrq1"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复审日期2"
,
prop
:
"fsrq2"
,
fieldType
:
"ftDateTime"
},
{
label
:
"实际复审日期1"
,
prop
:
"sjfsrq1"
,
fieldType
:
"ftDateTime"
},
{
label
:
"实际复审日期2"
,
prop
:
"sjfsrq2"
,
fieldType
:
"ftDateTime"
},
{
label
:
"发证单位"
,
prop
:
"fzdw"
,
fieldType
:
"ftString"
,
width
:
300
},
// {label: "适用范围", prop: "syfw", fieldType: "ftString",width:60},
{
label
:
"适用范围"
,
prop
:
"syfwName"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
,
show
:
false
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
,
show
:
false
}
{
label
:
"适用范围"
,
prop
:
"syfwName"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
,
show
:
false
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
,
show
:
false
}
]
}
...
...
src/views/daily/tzzyry/edit.vue
View file @
06d08f9e
...
...
@@ -68,13 +68,25 @@
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
8
"
>
<el-form-item
label=
"复审日期1"
ref=
"fsrq1"
prop=
"fsrq1"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
v-model=
"form.fsrq1"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"提醒周期(天)"
ref=
"txzq"
prop=
"txzq"
>
<el-input
:readonly=
"readonly"
v-model=
"form.txzq"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"提醒日期"
ref=
"txrq"
prop=
"txrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"true"
type=
"date"
value-format=
"timestamp"
v-model=
"form.txrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"实际复审日期1"
ref=
"sjfsrq1"
prop=
"sjfsrq1"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
...
...
@@ -112,7 +124,31 @@
},
/* 组件名称*/
name
:
"aqgl/rcglYgczxxEdit"
,
computed
:
{
txzq
()
{
return
(
this
.
form
.
txzq
)
},
fsrq1
()
{
return
(
this
.
form
.
fsrq1
)
}
},
/* 组件名称*/
watch
:{
txzq
(
val
){
if
(
this
.
form
.
fsrq1
){
this
.
form
.
txrq
=
this
.
form
.
fsrq1
-
val
*
24
*
60
*
60
*
1000
}
},
fsrq1
(
val
){
if
(
this
.
form
.
txzq
){
this
.
form
.
txrq
=
this
.
form
.
fsrq1
-
this
.
form
.
txzq
*
24
*
60
*
60
*
1000
}
}
},
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
...
...
@@ -125,6 +161,8 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
txzq
:
''
,
txrq
:
''
,
gsid
:
''
,
userName
:
''
,
//ID
...
...
@@ -183,6 +221,10 @@
name
:
[{
required
:
true
,
trigger
:
'blur'
},
],
flid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
syfw
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fsrq1
:
[{
required
:
true
,
trigger
:
'blur'
},
],
}
}
},
...
...
src/views/daily/tzzyry/index.vue
View file @
06d08f9e
...
...
@@ -115,6 +115,15 @@ import {
{
label
:
"作业类别"
,
prop
:
"zsflName"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"发证日期"
,
prop
:
"fzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"有效期"
,
prop
:
"yxq"
,
fieldType
:
"float"
},
{
label
:
"提醒周期(天)"
,
prop
:
"txzq"
},
{
label
:
"提醒日期"
,
prop
:
"txrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"截止日期"
,
prop
:
"jzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复审日期1"
,
prop
:
"fsrq1"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复审日期2"
,
prop
:
"fsrq2"
,
fieldType
:
"ftDateTime"
},
...
...
src/views/daily/zyfzr/edit.vue
View file @
06d08f9e
...
...
@@ -68,13 +68,25 @@
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
8
"
>
<el-form-item
label=
"复审日期1"
ref=
"fsrq1"
prop=
"fsrq1"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
v-model=
"form.fsrq1"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"提醒周期(天)"
ref=
"txzq"
prop=
"txzq"
>
<el-input
:readonly=
"readonly"
v-model=
"form.txzq"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"提醒日期"
ref=
"txrq"
prop=
"txrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"true"
type=
"date"
value-format=
"timestamp"
v-model=
"form.txrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"实际复审日期1"
ref=
"sjfsrq1"
prop=
"sjfsrq1"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
...
...
@@ -112,8 +124,31 @@
},
/* 组件名称*/
name
:
"aqgl/rcglYgczxxEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
computed
:
{
txzq
()
{
return
(
this
.
form
.
txzq
)
},
fsrq1
()
{
return
(
this
.
form
.
fsrq1
)
}
},
/* 组件名称*/
watch
:{
txzq
(
val
){
if
(
this
.
form
.
fsrq1
){
this
.
form
.
txrq
=
this
.
form
.
fsrq1
-
val
*
24
*
60
*
60
*
1000
}
},
fsrq1
(
val
){
if
(
this
.
form
.
txzq
){
this
.
form
.
txrq
=
this
.
form
.
fsrq1
-
this
.
form
.
txzq
*
24
*
60
*
60
*
1000
}
}
},
data
()
{
return
{
...
...
@@ -125,6 +160,8 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
txzq
:
''
,
txrq
:
''
,
gsid
:
''
,
userName
:
''
,
//ID
...
...
@@ -183,6 +220,10 @@
name
:
[{
required
:
true
,
trigger
:
'blur'
},
],
flid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
syfw
:
[{
required
:
true
,
trigger
:
'blur'
},
],
fsrq1
:
[{
required
:
true
,
trigger
:
'blur'
},
],
}
}
},
...
...
src/views/daily/zyfzr/index.vue
View file @
06d08f9e
...
...
@@ -115,6 +115,15 @@ import {
{
label
:
"作业类别"
,
prop
:
"zsflName"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"发证日期"
,
prop
:
"fzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"有效期"
,
prop
:
"yxq"
,
fieldType
:
"float"
},
{
label
:
"提醒周期(天)"
,
prop
:
"txzq"
},
{
label
:
"提醒日期"
,
prop
:
"txrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"截止日期"
,
prop
:
"jzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复审日期1"
,
prop
:
"fsrq1"
,
fieldType
:
"ftDateTime"
},
{
label
:
"复审日期2"
,
prop
:
"fsrq2"
,
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