项目文档菜单增加排序字段

uat
wangxiaoshuang 2025-03-06 11:41:17 +08:00
parent 86f5e2c782
commit 55769e906d
2 changed files with 17 additions and 0 deletions

View File

@ -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: [

View File

@ -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"