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
6507c7db
Commit
6507c7db
authored
Oct 31, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联动按钮
parent
92ee20f8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
8 deletions
+24
-8
lessIndex.vue
src/views/basicData/operationDcManagement/lessIndex.vue
+0
-3
mainIndex.vue
src/views/basicData/operationDcManagement/mainIndex.vue
+7
-0
lessIndex.vue
src/views/basicData/securityDocumentManagement/lessIndex.vue
+1
-3
mainEdit.vue
src/views/basicData/securityDocumentManagement/mainEdit.vue
+0
-1
mainIndex.vue
src/views/basicData/securityDocumentManagement/mainIndex.vue
+16
-1
No files found.
src/views/basicData/operationDcManagement/lessIndex.vue
View file @
6507c7db
...
@@ -38,8 +38,6 @@
...
@@ -38,8 +38,6 @@
name
:
'appVersion'
,
name
:
'appVersion'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
console
.
log
(
'兄弟组件通信'
,
this
.
$attrs
.
vMain
.
$refs
.
lessIndex
,
this
.
$attrs
.
vMain
.
$refs
.
mainIndex
)
await
this
.
$asRun
(
await
this
.
$asRun
(
[
QueryApptype
(),
[
QueryApptype
(),
res
=>
{
res
=>
{
...
@@ -53,7 +51,6 @@
...
@@ -53,7 +51,6 @@
}
}
]
]
)
)
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/views/basicData/operationDcManagement/mainIndex.vue
View file @
6507c7db
...
@@ -103,6 +103,13 @@
...
@@ -103,6 +103,13 @@
/* 删除操作*/
/* 删除操作*/
apiDelete
:
DelAppversion
,
apiDelete
:
DelAppversion
,
/* 初始化赋值操作*/
/* 初始化赋值操作*/
/* 点击主表事件*/
getRow
:
function
(
e
)
{
this
.
rowItem
=
e
let
lessIndex
=
this
.
vMain
.
$refs
.
lessIndex
lessIndex
.
queryParams
.
mlid
=
this
.
rowItem
.
id
lessIndex
.
$refs
[
'TablePager'
].
pageQuery
()
}
},
},
/* 注册组件*/
/* 注册组件*/
components
:
{
components
:
{
...
...
src/views/basicData/securityDocumentManagement/lessIndex.vue
View file @
6507c7db
...
@@ -37,9 +37,7 @@
...
@@ -37,9 +37,7 @@
name
:
'securityDocumentManagementDtl'
,
name
:
'securityDocumentManagementDtl'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
console
.
log
(
'兄弟组件通信'
,
this
.
$attrs
.
vMain
.
$refs
.
lessIndex
,
this
.
$attrs
.
vMain
.
$refs
.
mainIndex
)
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
data
()
{
data
()
{
return
{
return
{
...
...
src/views/basicData/securityDocumentManagement/mainEdit.vue
View file @
6507c7db
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
mixins
:
[
editMixin
],
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
/* 存放index页面传递的额外参数*/
mounted
()
{
mounted
()
{
console
.
log
(
this
.
$router
)
this
.
systemType
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
app
.
systemType
))
this
.
systemType
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
app
.
systemType
))
},
},
/* 组件名称*/
/* 组件名称*/
...
...
src/views/basicData/securityDocumentManagement/mainIndex.vue
View file @
6507c7db
...
@@ -70,6 +70,14 @@
...
@@ -70,6 +70,14 @@
async
mounted
()
{
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
props
:{
vMain
:{
type
:
Object
,
default
:
function
(){
return
{}
}
}
},
data
()
{
data
()
{
return
{
return
{
/*需要的额外参数 */
/*需要的额外参数 */
...
@@ -108,7 +116,14 @@
...
@@ -108,7 +116,14 @@
/* 基础更新*/
/* 基础更新*/
apiUpdate
:
doUpdate
,
apiUpdate
:
doUpdate
,
/* 删除操作*/
/* 删除操作*/
apiDelete
:
doDelete
apiDelete
:
doDelete
,
/* 点击主表事件*/
getRow
:
function
(
e
)
{
this
.
rowItem
=
e
let
lessIndex
=
this
.
vMain
.
$refs
.
lessIndex
lessIndex
.
queryParams
.
mlid
=
this
.
rowItem
.
id
lessIndex
.
$refs
[
'TablePager'
].
pageQuery
()
}
},
},
/* 注册组件*/
/* 注册组件*/
components
:
{
components
:
{
...
...
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