Commit 614f3a7d by peiqiQQQ

修改

1 parent 8505a50f
......@@ -480,7 +480,7 @@
<el-button class="greenButton" @click="operate('pushAdd')"
>发布</el-button
>
<el-button class="greenButton" @click="operate('create')"
<el-button class="greenButton" v-debounce:click="operate('create')"
>保存</el-button
>
<el-button @click="add_dialog = false">取消</el-button>
......@@ -737,30 +737,32 @@ export default {
selectData3: [],
selectData4: [],
tableHeight: null,
openType: '',
}
},
created(){
// 获取下拉
this.getArchiStageList()
this.getLevelList()
this.getArchiStageList()
this.getBelongList()
this.getStateList()
},
mounted() {
window.addEventListener('resize', () => {
this.$nextTick(() => {
window.addEventListener('resize', () => {
this.set_table_height()
})
this.set_table_height()
// 查询视图下拉
// this.getViewNameList();
// 获取元素和元素关系列表
this.getEleList()
this.gtEleRelList()
// 初始化查询列表
this.getList()
})
this.set_table_height()
// 初始化查询列表
this.getList()
// 查询视图下拉
// this.getViewNameList();
// 获取元素和元素关系列表
this.getEleList()
this.gtEleRelList()
},
methods: {
// 架构大类
......@@ -1196,7 +1198,7 @@ export default {
// });
// });
} else if (type == 'create') {
this.$refs.viewForm.validate((valid) => {
this.$refs.viewForm && this.$refs.viewForm.validate((valid) => {
if (valid) {
if (!this.formData.eleName) {
this.$message.error('请勾选元素范围')
......@@ -1245,7 +1247,7 @@ export default {
}
})
} else if (type == 'pushAdd') {
this.$refs.viewForm.validate((valid) => {
this.$refs.viewForm && this.$refs.viewForm.validate((valid) => {
if (valid) {
if (!this.formData.eleName) {
this.$message.error('请勾选元素范围')
......
......@@ -28,7 +28,7 @@
class="search_item"
></el-input>
</div>
<div class="search_menu_item">
<!-- <div class="search_menu_item">
<span class="search_title">创建人</span>
<el-input
v-no-backslash
......@@ -37,7 +37,7 @@
placeholder="请输入内容"
class="search_item"
></el-input>
</div>
</div> -->
<div class="search_menu_item">
<span class="search_title">所属元素</span>
<el-select
......@@ -176,6 +176,12 @@
align="center"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop="parentElement"
label="上级元素"
align="center"
show-overflow-tooltip
></el-table-column>
<el-table-column width="100" label="图标" align="center">
<template slot-scope="scope">
<img
......@@ -697,6 +703,9 @@ export default {
},
created() {
this.getDicts()
this.getZuJianLeiXingSelect(null).then((res) => {
this.zuJianLeiXingSelect = res
})
},
mounted() {
this.getTreeData()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!