md
This commit is contained in:
parent
7f09231515
commit
d382ce1d70
@ -3,21 +3,21 @@
|
||||
<el-row :gutter="0">
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||
<el-col :span="24">
|
||||
<el-form-item label="洲名称" prop="name">
|
||||
<el-input v-model="form.name" placeholder="请输入洲名称" />
|
||||
<el-form-item label="区名称" prop="name">
|
||||
<el-input v-model="form.name" placeholder="区名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="英文名称" prop="nameEn">
|
||||
<el-input v-model="form.nameEn" placeholder="请输入英文名称" />
|
||||
<el-input v-model="form.nameEn" placeholder="英文名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
<el-form-item label="洲代码" prop="code">
|
||||
<el-input v-model="form.code" placeholder="请输入洲代码" />
|
||||
<!-- <el-col :span="24">
|
||||
<el-form-item label="区代码" prop="code">
|
||||
<el-input v-model="form.code" placeholder="区代码" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
</el-col> -->
|
||||
<!-- <el-col :span="24">
|
||||
<el-form-item label="二字码" prop="twoCode">
|
||||
<el-input v-model="form.twoCode" placeholder="请输入二字码" />
|
||||
</el-form-item>
|
||||
@ -26,7 +26,7 @@
|
||||
<el-form-item label="三字码" prop="threeCode">
|
||||
<el-input v-model="form.threeCode" placeholder="请输入三字码" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-col> -->
|
||||
<el-col :span="24">
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="form.remark" placeholder="请输入备注" />
|
||||
|
||||
@ -246,8 +246,6 @@
|
||||
import { listEmisCountry, getEmisCountry, delEmisCountry, addEmisCountry, updateEmisCountry } from "@/api/emis/emisCountry";
|
||||
import { listEmisContinent, getEmisContinent, delEmisContinent, addEmisContinent, updateEmisContinent } from "@/api/emis/emisContinent";
|
||||
import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker';
|
||||
import emisCountryView from '@/views/emis/emisCountry/emisCountryView';
|
||||
import emisCountryForm from '@/views/emis/emisCountry/emisCountryForm';
|
||||
import emisContinentForm from '@/views/emis/emisContinent/emisContinentForm';
|
||||
export default {
|
||||
name: "emisCountry",
|
||||
@ -260,7 +258,7 @@ export default {
|
||||
continentName:"",
|
||||
continentIdsTree:[],
|
||||
continentIdsOptions:[],
|
||||
currentContinentId:-1,
|
||||
currentContinentId:null,
|
||||
|
||||
defaultProps: {
|
||||
children: "children",
|
||||
@ -384,15 +382,9 @@ export default {
|
||||
this.title = "新增";
|
||||
},
|
||||
handleUpdateContinent(row){
|
||||
//console.log(row);
|
||||
this.currentContinentId = row.id || this.ids;
|
||||
this.reset();
|
||||
const id = row.id || this.ids;
|
||||
getEmisContinent(id).then(response => {
|
||||
this.form = response.data;
|
||||
this.openForm = true;
|
||||
this.titleForm = "修改";
|
||||
});
|
||||
this.openForm = true;
|
||||
this.titleForm = "修改";
|
||||
},
|
||||
handleDeleteContinent(row){
|
||||
const ids = row.id || this.ids;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user