This commit is contained in:
libing 2023-12-13 17:21:29 +08:00
parent 843858712e
commit 7f09231515

View File

@ -22,7 +22,7 @@
icon="el-icon-plus"
:disabled="false"
@click="handleContinentAdd"
v-hasPermi="['emis:emisContinent:add']">
v-hasPermi="['emis:emisContinent:add']">
</el-button>
</el-col>
</el-row>
@ -239,7 +239,6 @@
<el-dialog :title="titleForm" :visible.sync="openForm" width="500px" append-to-body>
<emisContinentForm :id="currentContinentId" @on-changed="handleFormChanged" @on-cancel="cancelForm"></EmisContinentForm>
</el-dialog>
</div>
</template>
@ -382,9 +381,8 @@ export default {
handleContinentAdd(row) {
this.reset();
this.openForm = true;
this.titleForm = "新增";
this.title = "新增";
},
handleUpdateContinent(row){
//console.log(row);
this.currentContinentId = row.id || this.ids;
@ -449,6 +447,9 @@ export default {
this.open = false;
this.reset();
},
//cancelContinent() {
// this.openContinent = false;
//},
// 表单重置
reset() {
this.form = {