Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
2b6b116d
Commit
2b6b116d
authored
May 18, 2020
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
fbb06699
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
17 deletions
+23
-17
iview-admin/src/config/index.js
+2
-2
iview-admin/src/view/components/tables/forms/jsoneditor.vue
+4
-8
iview-admin/src/view/userinfo/tanentinfo_page.vue
+17
-7
No files found.
iview-admin/src/config/index.js
View file @
2b6b116d
...
@@ -3,8 +3,8 @@ export default {
...
@@ -3,8 +3,8 @@ export default {
* @description 配置显示在浏览器标签的title
* @description 配置显示在浏览器标签的title
*/
*/
title
:
'企服交付中台 '
,
title
:
'企服交付中台 '
,
appkey
:
'
cbb91171-3c68-49f9-b27f-fa38daa376ee
'
,
appkey
:
'
08cb8300-ef1e-4e35-ba49-3de36ba497d2
'
,
companykey
:
'
41fabc4fc3a049f9823eee96cec7a94d
'
,
companykey
:
'
c9fdc05a638b4d47ac2fd30784e329ba
'
,
/**
/**
* @description token在Cookie中存储的天数,默认1天
* @description token在Cookie中存储的天数,默认1天
*/
*/
...
...
iview-admin/src/view/components/tables/forms/jsoneditor.vue
View file @
2b6b116d
...
@@ -295,17 +295,13 @@ export default {
...
@@ -295,17 +295,13 @@ export default {
if
(
this
.
initData
&&
this
.
treedata
.
length
==
0
)
{
if
(
this
.
initData
&&
this
.
treedata
.
length
==
0
)
{
this
.
initData
(
originalData
=>
{
this
.
initData
(
originalData
=>
{
if
(
if
(
(
originalData
&&
!
originalData
||
(
originalData
&&
originalData
[
0
]
&&
(
!
originalData
.
children
||
(
originalData
.
children
&&
originalData
.
children
.
length
==
0
))
originalData
[
0
]
&&
)
||
(
originalData
&&
originalData
.
length
==
0
)
(
!
originalData
.
children
||
(
originalData
.
children
&&
originalData
.
children
.
length
==
0
)))
||
(
originalData
&&
originalData
.
length
==
0
)
||
!
originalData
)
{
)
{
console
.
log
(
"========================xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
)
this
.
originalRoot
=
Object
.
assign
(
this
.
originalRoot
=
Object
.
assign
(
this
.
originalRoot
,
this
.
originalRoot
,
originalData
[
0
]
originalData
&&
originalData
[
0
]?
originalData
[
0
]:[
]
);
);
console
.
log
(
originalData
);
console
.
log
(
originalData
);
console
.
log
(
console
.
log
(
...
...
iview-admin/src/view/userinfo/tanentinfo_page.vue
View file @
2b6b116d
...
@@ -8,11 +8,14 @@
...
@@ -8,11 +8,14 @@
metaName=
"tanent_info"
metaName=
"tanent_info"
packageName=
"auth"
packageName=
"auth"
isMulti
isMulti
:savebefore=
"beforesave"
:editbefore=
"beforedit"
:addbefore=
"beforeadd"
@
onnew=
"onnew"
@
onnew=
"onnew"
@
onedit=
"onedit"
@
onedit=
"onedit"
@
onexec=
"onexec"
@
onexec=
"onexec"
></BizTable>
></BizTable>
</PageSpace>
</PageSpace>
</
template
>
</
template
>
<
script
>
<
script
>
import
BizTable
from
"../components/tables/biztables"
;
import
BizTable
from
"../components/tables/biztables"
;
...
@@ -27,10 +30,17 @@ export default {
...
@@ -27,10 +30,17 @@ export default {
BizTable
,
BizTable
,
PageSpace
PageSpace
},
},
mounted
(){
mounted
()
{},
},
methods
:
{
methods
:
{
beforeadd
(
row
,
cbk
)
{
return
cbk
({
value
:
true
,
message
:
null
});
},
beforedit
(
row
,
cbk
)
{
return
cbk
({
value
:
true
,
message
:
null
});
},
beforesave
(
key
,
row
,
cbk
)
{
return
cbk
(
row
);
},
onexec
(
k
,
row
,
btninfo
)
{
onexec
(
k
,
row
,
btninfo
)
{
if
(
btninfo
)
{
if
(
btninfo
)
{
if
(
k
==
"allowornot"
)
{
if
(
k
==
"allowornot"
)
{
...
@@ -52,9 +62,9 @@ export default {
...
@@ -52,9 +62,9 @@ export default {
}
else
{
}
else
{
btninfo
.
title
=
"启用"
;
btninfo
.
title
=
"启用"
;
}
}
this
.
$refs
.
bt
.
fetchData
()
this
.
$refs
.
bt
.
fetchData
()
;
}
else
{
}
else
{
this
.
$Message
.
error
(
"当前操作失败,请稍后重试或联系管理员."
);
this
.
$Message
.
error
(
"当前操作失败,请稍后重试或联系管理员."
);
}
}
});
});
}
}
...
...
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