Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-operation-4
Overview
Overview
Details
Activity
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
达摩4.0重构
haoban-operation-4
Commits
9733d728
Commit
9733d728
authored
Jul 28, 2020
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
fee2c61e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
14 deletions
+13
-14
routes.js
src/router/routes.js
+2
-2
menu-list.vue
src/views/permission/menu-config/menu-list.vue
+0
-1
operation-list.vue
src/views/permission/operation-list.vue
+7
-7
operation-table.vue
src/views/permission/operation-list/operation-table.vue
+1
-1
permission-list.vue
src/views/permission/permission-list.vue
+3
-3
No files found.
src/router/routes.js
View file @
9733d728
...
...
@@ -35,9 +35,9 @@ export const routes = [
component
:
()
=>
import
(
'@/views/permission/permission-list.vue'
)
},
{
path
:
'/
ac
tion-list'
,
path
:
'/
opera
tion-list'
,
name
:
'操作项列表'
,
component
:
()
=>
import
(
'@/views/permission/
ac
tion-list.vue'
)
component
:
()
=>
import
(
'@/views/permission/
opera
tion-list.vue'
)
}
]
},
...
...
src/views/permission/menu-config/menu-list.vue
View file @
9733d728
...
...
@@ -126,7 +126,6 @@ const { getMenuList, addMenu, editMenu, delMenu } = api;
// 新建权限项跳转 done
// 查看权限项跳转 done
// 删除 done
// 排序
// 好办版本、应用版本接口联调
export
default
{
...
...
src/views/permission/
ac
tion-list.vue
→
src/views/permission/
opera
tion-list.vue
View file @
9733d728
...
...
@@ -2,25 +2,25 @@
<el-tabs
v-model=
"activeName"
>
<!-- 1好办后台2应用后台3好办小程序4小程序应用 -->
<el-tab-pane
label=
"好办后台"
name=
"first"
lazy
>
<
action-table
app-type=
"1"
></ac
tion-table>
<
operation-table
app-type=
"1"
></opera
tion-table>
</el-tab-pane>
<el-tab-pane
label=
"应用后台"
name=
"second"
lazy
>
<
action-table
app-type=
"2"
></ac
tion-table>
<
operation-table
app-type=
"2"
></opera
tion-table>
</el-tab-pane>
<el-tab-pane
label=
"好办小程序"
name=
"third"
lazy
>
<
action-table
app-type=
"3"
></ac
tion-table>
<
operation-table
app-type=
"3"
></opera
tion-table>
</el-tab-pane>
<el-tab-pane
label=
"好办小程序应用"
name=
"fourth"
lazy
>
<
action-table
app-type=
"4"
></ac
tion-table>
<
operation-table
app-type=
"4"
></opera
tion-table>
</el-tab-pane>
</el-tabs>
</
template
>
<
script
>
import
ActionTable
from
'./action-list/ac
tion-table.vue'
;
import
OperationTable
from
'./operation-list/opera
tion-table.vue'
;
export
default
{
name
:
'
ac
tion-list'
,
components
:
{
Ac
tionTable
},
name
:
'
opera
tion-list'
,
components
:
{
Opera
tionTable
},
data
()
{
return
{
activeName
:
'first'
...
...
src/views/permission/
action-list/ac
tion-table.vue
→
src/views/permission/
operation-list/opera
tion-table.vue
View file @
9733d728
...
...
@@ -96,7 +96,7 @@ const { getOperationItemList, addOperationItem, editOperationItem, delOperationI
// 新建、编辑操作项 done
// 删除操作项 done
export
default
{
name
:
'
ac
tion-table'
,
name
:
'
opera
tion-table'
,
props
:
{
appType
:
[
String
,
Number
]
},
...
...
src/views/permission/permission-list.vue
View file @
9733d728
...
...
@@ -29,7 +29,7 @@
<el-select
v-model=
"editAuth.operationItemIds"
collapse-tags
multiple
clearable
style=
"width:332px"
>
<el-option
v-for=
"el in operationList"
:key=
"el.operationItemId"
:value=
"el.operationItemId"
:label=
"el.operationItemName"
></el-option>
</el-select>
<el-button
type=
"text"
style=
"margin-left: 24px"
@
click=
"to
Ac
tionList"
>
添加操作项
</el-button>
<el-button
type=
"text"
style=
"margin-left: 24px"
@
click=
"to
Opera
tionList"
>
添加操作项
</el-button>
</el-form-item>
</el-form>
<
template
slot=
"footer"
>
...
...
@@ -154,8 +154,8 @@ export default {
})
},
// 去操作项列表页
to
Ac
tionList
()
{
this
.
$router
.
push
(
'/
ac
tion-list'
);
to
Opera
tionList
()
{
this
.
$router
.
push
(
'/
opera
tion-list'
);
}
}
}
...
...
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