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
c6738a6c
Commit
c6738a6c
authored
Sep 14, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
8166f311
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
499 additions
and
71 deletions
+499
-71
index.js
src/router/index.js
+79
-67
index.vue
src/views/outsourcingDirector/wxdwgljg/index.vue
+5
-4
aqglry.js
src/views/outsourcingDirector/wxdwryzz/aqglry.js
+53
-0
edit.vue
src/views/outsourcingDirector/wxdwryzz/edit.vue
+199
-0
index.vue
src/views/outsourcingDirector/wxdwryzz/index.vue
+163
-0
No files found.
src/router/index.js
View file @
c6738a6c
...
...
@@ -796,7 +796,7 @@ export const powerRoutes = [{
path
:
"securityDocumentManagement"
},
/* 目录维护 */
{
{
component
:
'basicData/bzwdmlwh/index'
,
hidden
:
false
,
meta
:
{
...
...
@@ -2380,20 +2380,32 @@ export const powerRoutes = [{
link
:
null
,
mkid
:
909000000
},
children
:
[
children
:
[{
component
:
'outsourcingDirector/wxdwgljg/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"外协单位管理架构"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
909000100
,
},
name
:
'wxdwgljg'
,
path
:
"wxdwgljg"
},
{
component
:
'outsourcingDirector/wxdwgljg/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"外协单位管理架构"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
909000100
,
},
name
:
'wxdwgljg'
,
path
:
"wxdwgljg"
component
:
'outsourcingDirector/wxdwryzz/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"外协单位人员证照"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
909000200
,
},
name
:
'wxdwryzz'
,
path
:
"wxdwryzz"
},
{
component
:
'outsourcingDirector/declare/index'
,
hidden
:
false
,
...
...
@@ -2402,7 +2414,7 @@ export const powerRoutes = [{
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
909000
2
00
,
"mkid"
:
909000
3
00
,
},
name
:
'declare'
,
path
:
"declare"
...
...
@@ -2463,57 +2475,57 @@ export const powerRoutes = [{
mkid
:
905000000
},
children
:
[{
component
:
'spaceOperations/declare/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"外协单位准入申报"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905002000
,
},
name
:
'declare'
,
path
:
"declare"
},
{
component
:
'spaceOperations/aqcslx/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"安全措施类型"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905005000
,
},
name
:
'aqcslx'
,
path
:
"aqcslx"
},
{
component
:
'spaceOperations/whbslx/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"危害辨识类型"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905004000
,
},
name
:
'whbslx'
,
path
:
"whbslx"
},
{
component
:
'spaceOperations/aqxkz/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"安全许可证"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905003000
,
},
name
:
'aqxkz'
,
path
:
"aqxkz"
}
component
:
'spaceOperations/declare/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"外协单位准入申报"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905002000
,
},
name
:
'declare'
,
path
:
"declare"
},
{
component
:
'spaceOperations/aqcslx/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"安全措施类型"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905005000
,
},
name
:
'aqcslx'
,
path
:
"aqcslx"
},
{
component
:
'spaceOperations/whbslx/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"危害辨识类型"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905004000
,
},
name
:
'whbslx'
,
path
:
"whbslx"
},
{
component
:
'spaceOperations/aqxkz/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"安全许可证"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
905003000
,
},
name
:
'aqxkz'
,
path
:
"aqxkz"
}
]
},
{
...
...
@@ -2551,7 +2563,7 @@ export const powerRoutes = [{
"link"
:
null
,
"mkid"
:
'913000200'
,
},
path
:
'http://192.168.20.251'
,
path
:
'http://192.168.20.251'
,
},
{
hidden
:
false
,
...
...
@@ -2562,7 +2574,7 @@ export const powerRoutes = [{
"link"
:
null
,
"mkid"
:
'913000300'
,
},
path
:
'http://192.168.20.4/doc/page/login.asp'
,
path
:
'http://192.168.20.4/doc/page/login.asp'
,
}
]
...
...
src/views/outsourcingDirector/wxdwgljg/index.vue
View file @
c6738a6c
...
...
@@ -54,11 +54,11 @@
},
data
()
{
return
{
rowKey
:
'
bm
id'
,
rowKey
:
'id'
,
/*需要的额外参数 */
typeMap
:
[],
systemType
:
[],
baseUrl
:
'jcsj/u
bm
'
,
baseUrl
:
'jcsj/u
wxdwgljg
'
,
/* 查询参数*/
queryParams
:
{},
/* 表格标题对应参数*/
...
...
@@ -94,10 +94,11 @@
getTreeMethod
(
that
,
list
)
{
let
treeData
=
list
treeData
=
that
.
dgData
(
treeData
,
'root'
)
console
.
log
(
treeData
,
'treeData'
)
that
.
tableData
=
[{
/* 具体mc需要确定后传过来 */
id
:
false
,
code
:
'root'
,
code
:
'root'
,
id
:
'root'
,
name
:
'根目录'
,
children
:
treeData
,
...
...
src/views/outsourcingDirector/wxdwryzz/aqglry.js
0 → 100644
View file @
c6738a6c
import
request
from
'common/src/utils/request'
/*query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/uaqglry/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/*更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/uaqglry/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/uaqglry/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/uaqglry/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doInitSyfw
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/uaqglry/init/syfw'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
initZt
(
query
)
{
return
request
({
url
:
'/aqgl/rcgl/uaqglry/init/zt'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/views/outsourcingDirector/wxdwryzz/edit.vue
0 → 100644
View file @
c6738a6c
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<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>
</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-form-item>
</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
: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-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-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>
</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>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"9"
>
<el-form-item
label=
"发证日期"
ref=
"fzrq"
prop=
"fzrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
v-model=
"form.fzrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</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-form-item>
</el-col>
<el-col
:span=
"9"
>
<el-form-item
label=
"截止日期"
ref=
"jzrq"
prop=
"jzrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
v-model=
"form.jzrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<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=
"12"
>
<el-form-item
label=
"实际复审日期1"
ref=
"sjfsrq1"
prop=
"sjfsrq1"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
v-model=
"form.sjfsrq1"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"复审日期2"
ref=
"fsrq2"
prop=
"fsrq2"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
v-model=
"form.fsrq2"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"实际复审日期2"
ref=
"sjfsrq2"
prop=
"sjfsrq2"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
value-format=
"timestamp"
v-model=
"form.sjfsrq2"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqgl/rcglYgczxxEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
gsid
:
''
,
userName
:
''
,
//ID
id
:
''
,
//用户编码
userid
:
''
,
//证书编号
code
:
''
,
//证书名称
name
:
''
,
flid
:
''
,
//发证日期
fzrq
:
''
,
//有效期
yxq
:
''
,
//截止日期
jzrq
:
''
,
//状态
zt
:
''
,
//复审日期1
fsrq1
:
''
,
//复审日期2
fsrq2
:
''
,
//实际复审日期1
sjfsrq1
:
''
,
//实际复审日期2
sjfsrq2
:
''
,
//备注
bz
:
''
,
//维护人编码
whrid
:
''
,
//维护人
whr
:
''
,
//维护时间
whsj
:
new
Date
().
getTime
(),
//创建人编码
cjrid
:
''
,
//创建人
cjr
:
''
,
//创建时间
cjsj
:
new
Date
().
getTime
(),
//系统版本
sysversion
:
''
,
//发证单位
fzdw
:
''
,
//适用范围
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'
},
],
}
}
},
methods
:
{
userSelected
(
row
){
this
.
form
.
userid
=
row
.
id
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/outsourcingDirector/wxdwryzz/index.vue
0 → 100644
View file @
c6738a6c
<
template
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<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"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
证书编号:
</span>
<el-input
v-model=
"queryParams.code"
></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
职工工号:
</span>
<el-input
v-model=
"queryParams.user"
></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
证书状态:
</span>
<RelSelect
src=
'aqgl/rcgl/uaqglry/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/uaqglry/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.syfw' >
</RelSelect>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
</TablePager>
</div>
</div>
</
template
>
<
script
>
/* 引入需要的接口*/
import
{
doQuery
,
doAdd
,
doUpdate
,
doDelete
,
doInitSyfw
}
from
'./aqglry.js'
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'appVersion'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
/* 基础url*/
baseUrl
:
'/aqgl/uwxdwryzz'
,
/* 查询参数*/
queryParams
:
{
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: "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
}
]
}
},
methods
:
{
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
},
/* 启用停用*/
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
>
</
style
>
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