Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
0eafe329
Commit
0eafe329
authored
Oct 15, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据字典禁用颜色
parent
50175133
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
index.vue
pages/basicData/dic/index.vue
+5
-3
No files found.
pages/basicData/dic/index.vue
View file @
0eafe329
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</ButtonGroup>
</ButtonGroup>
</h3>
</h3>
<div>
<div>
<Input
v-model
.
trim=
"keys"
search
placeholder=
"请输入
客户名称
"
clearable
/>
<Input
v-model
.
trim=
"keys"
search
placeholder=
"请输入
名称/编码
"
clearable
/>
<Tree
<Tree
:data=
"projectList"
:data=
"projectList"
@
on-select-change=
"change"
@
on-select-change=
"change"
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
<
template
slot-scope=
"{ row, index }"
slot=
"action"
>
<
template
slot-scope=
"{ row, index }"
slot=
"action"
>
<div
v-if=
"edit!=index"
class=
"action"
>
<div
v-if=
"edit!=index"
class=
"action"
>
<op
class=
"edit"
@
click=
"editRow(row,index)"
>
编辑
</op>
<op
class=
"edit"
@
click=
"editRow(row,index)"
>
编辑
</op>
<
!--
<op
class=
"remove"
@
click=
"delRow(row,index)"
>
删除
</op>
--
>
<
op
class=
"remove"
@
click=
"delRow(row,index)"
>
删除
</op
>
</div>
</div>
<div
class=
"action"
v-else
>
<div
class=
"action"
v-else
>
<op
class=
"edit"
@
click=
"save"
>
保存
</op>
<op
class=
"edit"
@
click=
"save"
>
保存
</op>
...
@@ -259,6 +259,7 @@ export default {
...
@@ -259,6 +259,7 @@ export default {
},
},
methods
:
{
methods
:
{
renderContent
(
h
,
{
root
,
node
,
data
})
{
renderContent
(
h
,
{
root
,
node
,
data
})
{
console
.
log
(
data
)
return
h
(
return
h
(
"span"
,
"span"
,
[
[
...
@@ -269,7 +270,8 @@ export default {
...
@@ -269,7 +270,8 @@ export default {
placement
:
"top-start"
placement
:
"top-start"
},
},
style
:
{
style
:
{
cursor
:
"pointer"
cursor
:
"pointer"
,
color
:
data
.
data
.
status
==
1
?
'#ccc'
:
'#515a6e'
}
}
},[
},[
...
...
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