Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4477b0c0
authored
Apr 18, 2024
by
‘july-fu’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 架构元素关系管理调整新增编辑查看内容显示区分
1 parent
a567c961
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
66 deletions
src/views/archiEleRela/index.vue
src/views/archiEleRela/index.vue
View file @
4477b0c
...
@@ -232,83 +232,35 @@
...
@@ -232,83 +232,35 @@
</div>
</div>
</div>
</div>
</div> -->
</div> -->
<!-- <div
<div
style=
"text-align: right; margin: 20px 0 10px 0"
v-if=
"title == '编辑元素关系' || title == '查看元素关系'"
>
style="text-align: right; margin: 20px 0 10px 0"
<el-button
type=
"primary"
size=
"mini"
@
click=
"openDicyDialog"
:disabled=
"title == '查看元素关系'"
>
新增
</el-button>
v-if="title == '编辑元素关系'"
>
<el-button type="primary" size="mini" @click="openDicyDialog"
>新增</el-button
>
</div>
</div>
<el-table
<el-table
height=
"300"
:data=
"tableData2"
stripe
border
v-if=
"title == '编辑元素关系' || title == '查看元素关系'"
>
height="300"
<el-table-column
type=
"index"
label=
"序号"
width=
"80"
align=
"center"
></el-table-column>
:data="tableData2"
<el-table-column
prop=
"fieldName"
label=
"字段名"
align=
"center"
></el-table-column>
stripe
<el-table-column
prop=
"cnName"
label=
"中文名"
align=
"center"
></el-table-column>
border
<el-table-column
prop=
"displayOrder"
label=
"排序"
align=
"center"
></el-table-column>
v-if="title == '编辑元素关系'"
<el-table-column
prop=
"contentLength"
label=
"长度"
align=
"center"
></el-table-column>
>
<el-table-column
prop=
"controlType"
label=
"控件"
align=
"center"
></el-table-column>
<el-table-column
type="index"
label="序号"
width="80"
align="center"
></el-table-column>
<el-table-column
prop="fieldName"
label="字段名"
align="center"
></el-table-column>
<el-table-column
prop="cnName"
label="中文名"
align="center"
></el-table-column>
<el-table-column
prop="displayOrder"
label="排序"
align="center"
></el-table-column>
<el-table-column
prop="contentLength"
label="长度"
align="center"
></el-table-column>
<el-table-column
prop="controlType"
label="控件"
align="center"
></el-table-column>
<el-table-column
label=
"操作"
width=
"260"
align=
"center"
>
<el-table-column
label=
"操作"
width=
"260"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
<div
style=
"
style="
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: center;
justify-content: center;
"
"
>
>
<el-button
icon=
"el-icon-edit"
:disabled=
"title !== '编辑元素关系'"
type=
"primary"
size=
"mini"
<el-button
@
click=
"edit_dicy(scope.row)"
>
编辑
</el-button>
icon="el-icon-edit"
<el-button
class=
"shanChu_btn"
:disabled=
"title !== '编辑元素关系'"
icon=
"el-icon-delete"
size=
"mini"
type="primary"
@
click=
"delete_dicy(scope.row)"
>
删除
</el-button>
size="mini"
@click="edit_dicy(scope.row)"
>编辑</el-button
>
<el-button
class="shanChu_btn"
icon="el-icon-delete"
size="mini"
@click="delete_dicy(scope.row)"
>删除</el-button
>
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
-->
</el-table>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"greenButton"
@
click=
"operate('pushAdd')"
>
发布
</el-button>
<el-button
class=
"greenButton"
:disabled=
"title == '查看元素关系'"
@
click=
"operate('pushAdd')"
>
发布
</el-button>
<el-button
class=
"greenButton"
@
click=
"operate('create')"
>
保存
</el-button>
<el-button
class=
"greenButton"
:disabled=
"title == '查看元素关系'"
@
click=
"operate('create')"
>
保存
</el-button>
<el-button
@
click=
"add_dialog = false"
>
取消
</el-button>
<el-button
@
click=
"add_dialog = false"
>
取消
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment