Commit f6ff6f6c by peiqiQQQ

修改

1 parent 614f3a7d
Showing with 4 additions and 4 deletions
...@@ -480,7 +480,7 @@ ...@@ -480,7 +480,7 @@
<el-button class="greenButton" @click="operate('pushAdd')" <el-button class="greenButton" @click="operate('pushAdd')"
>发布</el-button >发布</el-button
> >
<el-button class="greenButton" v-debounce:click="operate('create')" <el-button class="greenButton" @click="operate('create')"
>保存</el-button >保存</el-button
> >
<el-button @click="add_dialog = false">取消</el-button> <el-button @click="add_dialog = false">取消</el-button>
...@@ -742,8 +742,8 @@ export default { ...@@ -742,8 +742,8 @@ export default {
}, },
created(){ created(){
// 获取下拉 // 获取下拉
this.getLevelList()
this.getArchiStageList() this.getArchiStageList()
this.getLevelList()
this.getBelongList() this.getBelongList()
this.getStateList() this.getStateList()
}, },
...@@ -1198,7 +1198,7 @@ export default { ...@@ -1198,7 +1198,7 @@ export default {
// }); // });
// }); // });
} else if (type == 'create') { } else if (type == 'create') {
this.$refs.viewForm && this.$refs.viewForm.validate((valid) => { this.$refs.viewForm.validate((valid) => {
if (valid) { if (valid) {
if (!this.formData.eleName) { if (!this.formData.eleName) {
this.$message.error('请勾选元素范围') this.$message.error('请勾选元素范围')
...@@ -1247,7 +1247,7 @@ export default { ...@@ -1247,7 +1247,7 @@ export default {
} }
}) })
} else if (type == 'pushAdd') { } else if (type == 'pushAdd') {
this.$refs.viewForm && this.$refs.viewForm.validate((valid) => { this.$refs.viewForm.validate((valid) => {
if (valid) { if (valid) {
if (!this.formData.eleName) { if (!this.formData.eleName) {
this.$message.error('请勾选元素范围') this.$message.error('请勾选元素范围')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!