Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
fc72d46a
Commit
fc72d46a
authored
Feb 22, 2022
by
li_hongchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加非空校验
parent
ddcd7a0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
src/views/xtfkgl/AjXtljfkView.vue
+4
-4
src/views/xtfkgl/RyXtljfkView.vue
+8
-5
No files found.
src/views/xtfkgl/AjXtljfkView.vue
View file @
fc72d46a
...
...
@@ -13,7 +13,7 @@
<el-table-column
prop=
"logicName"
label=
"分库名称"
:width=
"width1"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
"sjkyh"
label=
"数据库用户组/用户"
:width=
"width2"
>
<template
slot-scope=
"scope"
>
<div
class=
"tagsBox"
>
<div
v-if=
'scope.row.groups && scope.row.groups.length >0'
class=
"tagsBox"
>
<div
v-for=
"item in strArr(scope.row.groups)"
:key=
"item.logicId"
v-show=
"item !== ''"
>
...
...
@@ -85,8 +85,8 @@
</div>
</el-tooltip>
</div>
<div
v-else
>
---
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建时间"
:width=
"width3"
></el-table-column>
<el-table-column
prop=
"qyzt"
label=
"启用状态"
:width=
"width4"
>
...
...
@@ -102,7 +102,7 @@
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"des"
label=
"逻辑库说明"
:width=
"width5"
show-overflow-tooltip
>
<el-table-column
prop=
"des"
label=
"逻辑库说明"
:width=
"width5"
show-overflow-tooltip
:formatter=
"$fFormatUtil.valueFormat"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.des"
>
<el-tooltip
effect=
"dark"
:content=
"scope.row.des"
placement=
"top"
>
...
...
@@ -111,7 +111,7 @@
</div>
</el-tooltip>
</div>
<div
v-else
>
-
-
-
</div>
<div
v-else
>
-
-
-
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"cz"
label=
"操作"
width=
"auto"
>
...
...
src/views/xtfkgl/RyXtljfkView.vue
View file @
fc72d46a
...
...
@@ -10,10 +10,11 @@
:row-key=
"getRowKeys"
class=
"table"
>
<el-table-column
prop=
"logicName"
label=
"分库名称"
:width=
"width1"
show-overflow-tooltip
/>
<el-table-column
prop=
"sjkyh"
label=
"数据库用户组/用户"
:width=
"width2"
>
<el-table-column
prop=
"logicName"
label=
"分库名称"
:width=
"width1"
show-overflow-tooltip
:formatter=
"$fFormatUtil.valueFormat"
/>
<el-table-column
prop=
"sjkyh"
label=
"数据库用户组/用户"
:width=
"width2"
:formatter=
"$fFormatUtil.valueFormat"
>
<template
slot-scope=
"scope"
>
<div
class=
"tagsBox"
>
<div
v-if=
'scope.row.groups && scope.row.groups.length >0'
class=
"tagsBox"
>
<div
v-for=
"item in strArr(scope.row.groups)"
:key=
"item.logicId"
v-show=
"item !== ''"
>
...
...
@@ -87,6 +88,7 @@
</div>
</el-tooltip>
</div>
<div
v-else
>
---
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建时间"
:width=
"width3"
></el-table-column>
...
...
@@ -103,7 +105,8 @@
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"des"
label=
"逻辑库说明"
:width=
"width5"
show-overflow-tooltip
>
<el-table-column
prop=
"des"
label=
"逻辑库说明"
:width=
"width5"
show-overflow-tooltip
:formatter=
"$fFormatUtil.valueFormat"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.des"
>
<el-tooltip
effect=
"dark"
:content=
"scope.row.des"
placement=
"top"
>
...
...
@@ -112,7 +115,7 @@
</div>
</el-tooltip>
</div>
<div
v-else
>
-
-
-
</div>
<div
v-else
>
-
-
-
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"cz"
label=
"操作"
width=
"auto"
>
...
...
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