|
@@ -324,7 +324,7 @@ export default {
|
|
|
let param = JSON.parse(JSON.stringify(this.pagination1))
|
|
|
if (this.dicName) {
|
|
|
param['name'] = this.dicName
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.pagination1.current = 1
|
|
|
param.current = 1
|
|
|
}
|
|
@@ -340,7 +340,7 @@ export default {
|
|
|
let param = JSON.parse(JSON.stringify(this.pagination2))
|
|
|
if (this.sourceName) {
|
|
|
param['name'] = this.sourceName
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.pagination2.current = 1
|
|
|
param.current = 1
|
|
|
}
|
|
@@ -363,7 +363,9 @@ export default {
|
|
|
this.form1 = {}
|
|
|
this.dialogFormTitle = '新增分组'
|
|
|
this.dialogFormVisible1 = true
|
|
|
- this.$refs['form1'].resetFields()
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs['form1'].resetFields()
|
|
|
+ })
|
|
|
} else {
|
|
|
this.opFlag1 = 2
|
|
|
this.dialogFormTitle = '修改分组'
|
|
@@ -378,7 +380,9 @@ export default {
|
|
|
this.form2 = {}
|
|
|
this.dialogFormTitle = '新增服务'
|
|
|
this.dialogFormVisible2 = true
|
|
|
- this.$refs['form2'].resetFields()
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs['form2'].resetFields()
|
|
|
+ })
|
|
|
} else {
|
|
|
this.opFlag2 = 2
|
|
|
this.dialogFormTitle = '修改服务'
|