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
942b45b0
Commit
942b45b0
authored
Nov 30, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
安全文档改结构传bmid为pid
parent
8195726b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
8 deletions
+37
-8
index.vue
src/views/basicData/securityDocumentManagement/index.vue
+31
-3
mainEdit.vue
src/views/basicData/securityDocumentManagement/mainEdit.vue
+6
-5
No files found.
src/views/basicData/securityDocumentManagement/index.vue
View file @
942b45b0
<
template
>
<
template
>
<div
class=
"min_full"
style=
"overflow: auto;height: 140vh;"
>
<div
style=
"display: flex;"
>
<MainIndex
:vMain=
'this'
ref=
"mainIndex"
></MainIndex>
<div
class=
"min_full"
style=
"width: 200px;border-right: 0px;height: 140vh;"
>
<TreeBase
:app=
'this'
@
selected=
'selectedTree'
></TreeBase>
</div>
<div
class=
"min_full"
style=
"overflow: auto;height: 140vh;width: calc(100% - 200px)"
>
<MainIndex
:vMain=
'this'
ref=
"mainIndex"
></MainIndex>
<LessIndex
:vMain=
'this'
ref=
"lessIndex"
></LessIndex>
<LessIndex
:vMain=
'this'
ref=
"lessIndex"
></LessIndex>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
QueryUser
,
QueryApptype
,
AddUser
,
DeleteUser
,
UpdateUser
,
QtUser
,
QueryBm
,
Setcanlogin
,
ResetPassword
}
from
"common/src/api/system/dmgSystem.js"
;
import
MainIndex
from
'./mainIndex.vue'
import
MainIndex
from
'./mainIndex.vue'
import
LessIndex
from
'./lessIndex.vue'
import
LessIndex
from
'./lessIndex.vue'
export
default
{
export
default
{
...
@@ -16,8 +32,20 @@
...
@@ -16,8 +32,20 @@
},
},
data
()
{
data
()
{
return
{
return
{
treeTitle
:
'部门列表'
,
treeDefaultProps
:
{
children
:
'children'
,
label
:
'bmmc'
},
}
}
},
methods
:{
selectedTree
(
val
){
this
.
$refs
.
mainIndex
.
queryParams
.
pid
=
val
.
id
this
.
$refs
.
mainIndex
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
},
apiTreeQuery
:
QueryBm
,
}
}
}
}
...
...
src/views/basicData/securityDocumentManagement/mainEdit.vue
View file @
942b45b0
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
<!-- 填写表单内容,slot=form必写-->
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<
!--
<el-col
:span=
"12
"
>
<
el-col
:span=
"24
"
>
<el-form-item
label=
"
序号"
ref=
"xh"
prop=
"xh
"
>
<el-form-item
label=
"
组织"
ref=
"pid"
prop=
"pid
"
>
<el-input
:readonly=
"readonly"
v-model=
"form.xh"
fieldType=
'int'
></el-inpu
t>
<RelSelect
:readonly=
"readonly"
filterable
clearable
style=
"width: 100%;"
src=
'kzzx/bm/query'
:match=
"
{value:'id',label:'bmmc'}" v-model='form.pid' >
</RelSelec
t>
</el-form-item>
</el-form-item>
</el-col>
-->
</el-col>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"名称"
ref=
"name"
prop=
"name"
>
<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>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
mixins
:
[
editMixin
],
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
/* 存放index页面传递的额外参数*/
mounted
()
{
mounted
()
{
this
.
systemType
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
app
.
systemType
))
this
.
form
.
pid
=
this
.
app
.
queryParams
.
pid
},
},
/* 组件名称*/
/* 组件名称*/
name
:
'mainEdit'
,
name
:
'mainEdit'
,
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
form
:
{
pid
:
''
,
xh
:
''
,
xh
:
''
,
name
:
''
,
name
:
''
,
bz
:
""
bz
:
""
...
...
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