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
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
<
template
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"20"
class=
"search-row-1"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
档案编号:
</span>
<el-input
v-model=
"queryParams.xh"
></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.dwmc"
></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
单位类型:
</span>
<el-select
v-model=
"queryParams.type"
placeholder=
"请选择"
>
<el-option
v-for=
"(item,index) in options"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</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>
<workFlowButton
:app=
'app'
></workFlowButton>
<!-- 额外按钮-->
</el-row>
<!-- 表格-->
<el-row
class=
"full"
>
<el-col
:span=
"12"
class=
"full-h"
>
<div
class=
"tablePagers full"
style=
"border-right:1px solid #eee"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
:delButton=
"false"
:isFontPage=
"true"
:allData=
"allData"
@
getRow=
'getRow'
>
<template
slot=
"tabCustom"
>
</
template
>
</TablePager>
</div>
</el-col>
<el-col
:span=
"12"
class=
"full-h"
>
<div
class=
"tablePagers full table-form-border"
>
<h5
style=
"text-align:center"
>
外协单位准入申报
</h5>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"120px"
>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"档案编号"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
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"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"备注"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></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=
"sbrq"
>
<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"
class=
"padding-right-sm padding-left-sm"
>
<div
class=
""
style=
"line-height:36px;font-size:14px;text-align:center"
>
审批
</div>
</el-col>
</el-row>
</el-form>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"120px"
class=
"declare-table-right"
>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"物业所在单位"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"申报人"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"物业所在单位"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"申报人"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"物业所在单位"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"申报人"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"物业所在单位"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"申报人"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"物业所在单位"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"申报人"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"物业所在单位"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"申报人"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"物业所在单位"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"申报人"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"物业所在单位"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"申报人"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"物业所在单位"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"申报人"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
class=
""
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"物业所在单位"
ref=
"xh"
prop=
"xh"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
class=
"padding-right-sm padding-left-sm"
>
<el-form-item
label=
"申报人"
prop=
"mc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.mc"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
</el-col>
</el-row>
</div>
</template>
<
script
>
/* 引入需要的接口*/
import
{
QueryKzzxRole
,
QueryApptype
,
AddKzzxRole
,
DeleteKzzxRole
,
UpdateKzzxRole
,
QtKzzxRole
}
from
"common/src/api/system/dmgSystem.js"
;
/* edit页面*/
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
export
default
{
mixins
:
[
tableMixin
],
name
:
'appVersion'
,
/* 初始额外赋值*/
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
data
()
{
return
{
allData
:[{
xh
:
"1"
}],
/*需要的额外参数 */
showDialog
:
false
,
DialogName
:
''
,
type
:
''
,
DialogTitle
:
''
,
readonly
:
true
,
powerList
:
[{
name
:
'分配'
},
{
name
:
'复制'
},
{
name
:
'查看'
}],
/* 基础url*/
baseUrl
:
'kzzx/role'
,
/* 查询参数*/
queryParams
:
{
xh
:
''
,
dwmc
:
''
,
type
:
''
},
options
:
[{
value
:
'all'
,
label
:
'(空)'
},
{
value
:
'A'
,
label
:
'A类'
},
{
value
:
'B'
,
label
:
'B类'
},
{
value
:
'C'
,
label
:
'C类'
},
{
value
:
'D'
,
label
:
'D类'
}],
/* 表格标题对应参数*/
tableTitle
:
[{
prop
:
'xh'
,
label
:
'档案编号'
,
width
:
'120'
},
{
prop
:
'mc'
,
label
:
'名称'
,
width
:
'160'
},
{
prop
:
'dwlx'
,
label
:
'单位类型'
,
width
:
'160'
},
{
prop
:
'rolename'
,
label
:
'管理责任单位'
,
width
:
'160'
},
{
prop
:
'rolename'
,
label
:
'负责人'
,
width
:
'160'
},
{
prop
:
'rolename'
,
label
:
'单位地址'
,
width
:
'160'
},
{
prop
:
'rolename'
,
label
:
'电子邮箱'
,
width
:
'160'
},
{
prop
:
'telephone'
,
label
:
'联系电话'
,
width
:
'120'
,
},
{
prop
:
'bz'
,
label
:
'备注'
,
}
],
form
:{
}
}
},
methods
:
{
/* 基础查询*/
query
:
QueryKzzxRole
,
/* 基础增*/
/* 初始化赋值操作*/
init
()
{
},
},
components
:
{
Edit
,
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.full
{
width
:
100%
;
height
:
100%
;
}
.full-h
{
height
:
100%
;
}
.marin-top-10
{
margin-top
:
10px
}
.padding-left-sm
{
padding-left
:
10px
!
important
}
.padding-right-sm
{
padding-right
:
10px
!
important
;
}
.declare-table-right
{
height
:
calc
(
100%
-
420px
);
overflow-y
:
auto
;
overflow-x
:
hidden
}
$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
+
1
)
.padding-right-sm
{
padding-right
:
10px
!
important
}
.el-row
.el-col
:nth-child
(
2n
)
{
padding-left
:
0
!
important
}
}
</
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