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
747ea5b2
Commit
747ea5b2
authored
Nov 08, 2022
by
zhoumaotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加目录
parent
f1690c9d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
706 additions
and
18 deletions
+706
-18
wxdwsb.js
src/api/outsourcingDirector/wxdwsb.js
+42
-2
index.js
src/router/index.js
+30
-16
edit.vue
src/views/outsourcingDirector/approve/edit.vue
+153
-0
index.vue
src/views/outsourcingDirector/approve/index.vue
+481
-0
No files found.
src/api/outsourcingDirector/wxdwsb.js
View file @
747ea5b2
import
request
from
'common/src/utils/request'
/*
角色管理
query */
/*
外协单位申报
query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/wxgl/wxdwsb/query'
,
...
...
@@ -8,7 +8,7 @@ method: 'post',
data
:
query
||
{}
})
}
/*
角色管理
更新 */
/*
外协单位申报
更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/wxgl/wxdwsb/update'
,
...
...
@@ -16,6 +16,7 @@ method: 'post',
data
:
query
||
{}
})
}
/* 外协单位申报新增 */
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/wxgl/wxdwsb/add'
,
...
...
@@ -23,6 +24,8 @@ method: 'post',
data
:
query
||
{}
})
}
/* 外协单位申报删除 */
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/wxgl/wxdwsb/delete'
,
...
...
@@ -58,7 +61,44 @@ export function initSwlx(query) {
}
/* 外协单位审批查询 */
export
function
doQuerySp
(
query
)
{
return
request
({
url
:
'/aqgl/wxgl/wxdwsp/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 隐患记录查询 */
export
function
yhjl
(
query
)
{
return
request
({
url
:
'/aqgl/wxgl/wxdwsp/yhjl/query'
,
method
:
'post'
,
data
:
query
||
{
"zrdwid"
:
""
,
"fzrid"
:
""
}
})
}
/* 教育培训记录查询 */
export
function
pxjl
(
query
)
{
return
request
({
url
:
'/aqgl/wxgl/wxdwsp/pxjl/query'
,
method
:
'post'
,
data
:
query
||
{
"zrdwid"
:
""
,
"fzrid"
:
""
}
})
}
/* 三违记录查询 */
export
function
swjl
(
query
)
{
return
request
({
url
:
'/aqgl/wxgl/wxdwsp/swjl/query'
,
method
:
'post'
,
data
:
query
||
{
"zrdwid"
:
""
,
"fzrid"
:
""
}
})
}
src/router/index.js
View file @
747ea5b2
...
...
@@ -978,20 +978,6 @@ export const constantRoutes = [
redirect
:
'outsourcingDirector'
,
meta
:
{
title
:
"外协管理"
,
icon
:
"fa-cog"
,
noCache
:
false
,
link
:
null
,
mkid
:
105000000
},
children
:
[
{
commonComponent
:
'archives'
,
component
:()
=>
import
(
"@/views/outsourcingDirector/archives/index"
),
hidden
:
false
,
meta
:{
"title"
:
"外协单位档案管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
101001300
,
},
name
:
'archives'
,
path
:
"archives"
},
{
commonComponent
:
'declare'
,
component
:()
=>
import
(
"@/views/outsourcingDirector/declare/index"
),
...
...
@@ -1001,11 +987,25 @@ export const constantRoutes = [
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1010013
00
,
"mkid"
:
9090002
00
,
},
name
:
'declare'
,
path
:
"declare"
},
{
commonComponent
:
'process'
,
component
:()
=>
import
(
"@/views/outsourcingDirector/approve/index"
),
hidden
:
false
,
meta
:{
"title"
:
"外协单位准入审批"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
909000400
,
},
name
:
'approve'
,
path
:
"approve"
},
{
commonComponent
:
'process'
,
component
:()
=>
import
(
"@/views/outsourcingDirector/process/index"
),
...
...
@@ -1015,10 +1015,24 @@ export const constantRoutes = [
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
1010013
00
,
"mkid"
:
9090006
00
,
},
name
:
'process'
,
path
:
"process"
},
{
commonComponent
:
'archives'
,
component
:()
=>
import
(
"@/views/outsourcingDirector/archives/index"
),
hidden
:
false
,
meta
:{
"title"
:
"外协单位档案管理"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
909000900
,
},
name
:
'archives'
,
path
:
"archives"
}
]
},
...
...
src/views/outsourcingDirector/approve/edit.vue
0 → 100644
View file @
747ea5b2
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
class=
"table-form-border"
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"档案编号"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-toUpperCase
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"名称"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"单位类型"
prop=
"type"
>
<el-input
:readonly=
"readonly"
v-toUpperCase
v-model=
"form.type"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"管理责任单位"
prop=
"glzrdw"
>
<el-input
:readonly=
"readonly"
v-model=
"form.glzrdw"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"负责人"
prop=
"fzr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.fzr"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"单位地址"
prop=
"dwdz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.dwdz"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"电子信箱"
prop=
"mail"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mail"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"联系电话"
prop=
"phone"
>
<el-input
:readonly=
"readonly"
v-model=
"form.phone"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"联系人"
prop=
"lxr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.lxr"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"备注"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<!-- 按钮重写, -->
<!--
<div
slot=
"reFooter"
>
<span
slot=
"footer"
>
重写按钮写在这里,根据需要重写 slot(reFooter,foorer) 节点样式 重写方法需要在此页重新定义
</span>
</div>
-->
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
'roleManagementEdit'
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
roleid
:
''
,
rolename
:
''
,
bz
:
""
,
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
roleid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
rolename
:
[{
required
:
true
,
trigger
:
'blur'
},
]
}
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
$color-border-grey
:
#c0c4cc
;
.table-form-border
{
.el-form
{
border-top
:
1px
solid
$color-border-grey
;
border-right
:
1px
solid
$color-border-grey
;
}
.el-row
.el-form-item
{
border-bottom
:
1px
solid
$color-border-grey
;
margin-bottom
:
0
;
::v-deep
.el-form-item__label
{
border-right
:
1px
solid
$color-border-grey
;
border-left
:
1px
solid
$color-border-grey
;
padding
:
0
;
text-align
:
center
;
background
:
#eee
;
}
::v-deep
.el-input__inner
{
border
:none
}
}
.el-row
.el-col
:nth-child
(
2n
+
1
)
{
padding-right
:
0
!
important
}
.el-row
.el-col
:nth-child
(
2n
)
{
padding-left
:
0
!
important
}
.el-row
:last-child
.el-col
,
.el-row
:first-child
.el-col
{
padding-right
:
10px
!
important
;
padding-left
:
10px
!
important
}
}
</
style
>
src/views/outsourcingDirector/approve/index.vue
0 → 100644
View file @
747ea5b2
This diff is collapsed.
Click to expand it.
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