项目文档菜单增加排序字段
parent
86f5e2c782
commit
55769e906d
|
@ -56,6 +56,16 @@
|
||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item
|
||||||
|
:label="$t('dictionary:file:form:ShowOrder')"
|
||||||
|
prop="ShowOrder"
|
||||||
|
>
|
||||||
|
<el-input-number
|
||||||
|
v-model="form.ShowOrder"
|
||||||
|
:step="1"
|
||||||
|
step-strictly
|
||||||
|
></el-input-number>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item :label="$t('dictionary:file:form:IsEnable')">
|
<el-form-item :label="$t('dictionary:file:form:IsEnable')">
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="form.IsEnable"
|
v-model="form.IsEnable"
|
||||||
|
@ -115,6 +125,7 @@ export default {
|
||||||
Name: null,
|
Name: null,
|
||||||
NameCN: null,
|
NameCN: null,
|
||||||
SubIdentificationEnum: null,
|
SubIdentificationEnum: null,
|
||||||
|
ShowOrder: 0,
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
Name: [
|
Name: [
|
||||||
|
|
|
@ -144,6 +144,12 @@
|
||||||
{{ $fd('SubIdentification', scope.row.SubIdentificationEnum) }}
|
{{ $fd('SubIdentification', scope.row.SubIdentificationEnum) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="ShowOrder"
|
||||||
|
:label="$t('dictionary:file:table:ShowOrder')"
|
||||||
|
show-overflow-tooltip
|
||||||
|
sortable="custom"
|
||||||
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="$t('dictionary:file:table:IsEnable')"
|
:label="$t('dictionary:file:table:IsEnable')"
|
||||||
prop="IsEnable"
|
prop="IsEnable"
|
||||||
|
|
Loading…
Reference in New Issue