国际化编辑新增迭代版本、状态
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
2952762ce7
commit
4b9216229c
14
src/App.vue
14
src/App.vue
|
@ -40,7 +40,7 @@
|
||||||
<el-form-item :label="$t('il8n:search:keyword')">
|
<el-form-item :label="$t('il8n:search:keyword')">
|
||||||
<el-input v-model="key" @input="keyChange" />
|
<el-input v-model="key" @input="keyChange" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item :label="$t('il8n:search:state')" v-if="il8nExternal">
|
<el-form-item :label="$t('il8n:search:state')">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="State"
|
v-model="State"
|
||||||
clearable
|
clearable
|
||||||
|
@ -105,11 +105,7 @@
|
||||||
></el-input>
|
></el-input>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column prop="ValueCN" :label="$t('il8n:table:state')">
|
||||||
prop="ValueCN"
|
|
||||||
:label="$t('il8n:table:state')"
|
|
||||||
v-if="il8nExternal"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-select
|
<el-select
|
||||||
v-model="scope.row.State"
|
v-model="scope.row.State"
|
||||||
|
@ -126,6 +122,8 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column prop="Version" :label="$t('il8n:table:Version')">
|
||||||
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div style="text-align: right; padding-top: 10px; padding-right: 10px">
|
<div style="text-align: right; padding-top: 10px; padding-right: 10px">
|
||||||
<el-button size="mini" @click="drawer = false">取消 </el-button>
|
<el-button size="mini" @click="drawer = false">取消 </el-button>
|
||||||
|
@ -246,6 +244,7 @@ export default {
|
||||||
openI18n(ARRAY) {
|
openI18n(ARRAY) {
|
||||||
this.tableData = []
|
this.tableData = []
|
||||||
this.il8nExternal = false
|
this.il8nExternal = false
|
||||||
|
this.State = null
|
||||||
this.key = null
|
this.key = null
|
||||||
this.drawer = true
|
this.drawer = true
|
||||||
let arr = []
|
let arr = []
|
||||||
|
@ -266,6 +265,7 @@ export default {
|
||||||
Value: item.Value,
|
Value: item.Value,
|
||||||
ValueCN: item.ValueCN,
|
ValueCN: item.ValueCN,
|
||||||
State: item.State,
|
State: item.State,
|
||||||
|
Version: item.Version,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.tableData = Object.assign([], tableData)
|
this.tableData = Object.assign([], tableData)
|
||||||
|
@ -296,6 +296,8 @@ export default {
|
||||||
Description: null,
|
Description: null,
|
||||||
Value: null,
|
Value: null,
|
||||||
ValueCN: null,
|
ValueCN: null,
|
||||||
|
State: 0,
|
||||||
|
Version: this.$version.Version,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue