|
@@ -16,16 +16,8 @@
|
|
<el-form :label-position="labelPosition" label-width="125px" :model="formArea" ref="formRef" :rules="areaRules">
|
|
<el-form :label-position="labelPosition" label-width="125px" :model="formArea" ref="formRef" :rules="areaRules">
|
|
<el-form-item label="学区名称" class="special" prop="areaname.value">
|
|
<el-form-item label="学区名称" class="special" prop="areaname.value">
|
|
<div class="areanames">
|
|
<div class="areanames">
|
|
- <!-- <el-input v-model="formArea.areaname.value" disabled
|
|
|
|
- :placeholder="$t(`areaManages.createdArea.namehint`)"
|
|
|
|
- v-show="formArea.areaname.state == false" size="medium" /> -->
|
|
|
|
<el-input v-model="formArea.areaname.value" placeholder="创建学区名称" />
|
|
<el-input v-model="formArea.areaname.value" placeholder="创建学区名称" />
|
|
</div>
|
|
</div>
|
|
- <!-- <div class="areanames-btn">
|
|
|
|
- <el-button type="primary" icon="el-icon-edit"
|
|
|
|
- v-if="formArea.areaname.state == false && formArea.areaname.value"
|
|
|
|
- @click="formArea.areaname.state = true"></el-button>
|
|
|
|
- </div> -->
|
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item :label="$t(`areaManages.createdArea.affiliation`)" class="belong" prop="institution">
|
|
<el-form-item :label="$t(`areaManages.createdArea.affiliation`)" class="belong" prop="institution">
|
|
<div class="institutionbox">
|
|
<div class="institutionbox">
|
|
@@ -579,8 +571,7 @@ import * as excel from '../../until/excel.js'
|
|
import option from '@/static/region.json'
|
|
import option from '@/static/region.json'
|
|
import router from '@/router/index.js'
|
|
import router from '@/router/index.js'
|
|
import { useRoute } from 'vue-router'
|
|
import { useRoute } from 'vue-router'
|
|
-import { useI18n } from 'vue-i18n'
|
|
|
|
-import { FLIPPED_ALIAS_KEYS } from '@babel/types'
|
|
|
|
|
|
+ import { useI18n } from 'vue-i18n'
|
|
import option_cn from '@/static/regions/region_cn.json'
|
|
import option_cn from '@/static/regions/region_cn.json'
|
|
import option_gl from '@/static/regions/region_gl.json'
|
|
import option_gl from '@/static/regions/region_gl.json'
|
|
const chinaData = new EluiChinaAreaDht.ChinaArea().chinaAreaflat
|
|
const chinaData = new EluiChinaAreaDht.ChinaArea().chinaAreaflat
|
|
@@ -656,7 +647,7 @@ export default {
|
|
components: { EluiChinaAreaDht, Search, StarFilled },
|
|
components: { EluiChinaAreaDht, Search, StarFilled },
|
|
setup () {
|
|
setup () {
|
|
const siteValue = window.location.host === 'localhost:5001' ? 'cn' : window.location.host === 'bi.teammodel.cn' ? 'cn' : window.location.host === 'bitest.teammodel.cn' ? 'cn' : 'international'
|
|
const siteValue = window.location.host === 'localhost:5001' ? 'cn' : window.location.host === 'bi.teammodel.cn' ? 'cn' : window.location.host === 'bitest.teammodel.cn' ? 'cn' : 'international'
|
|
- const { t } = useI18n()
|
|
|
|
|
|
+ const { t } = useI18n()
|
|
const labelPosition = 'right'
|
|
const labelPosition = 'right'
|
|
let { proxy } = getCurrentInstance()
|
|
let { proxy } = getCurrentInstance()
|
|
const store = useStore()
|
|
const store = useStore()
|