feat(custom): 订单列表改版

This commit is contained in:
2023-11-14 20:43:38 +08:00
parent 4babc88fcd
commit 6ce72fdfd6
24 changed files with 5221 additions and 11119 deletions

View File

@@ -24,7 +24,7 @@
role="dialog"
aria-modal="true"
>
<!-- {{ model }} -->
<!-- {{ model }}-->
<n-form ref="formRef" :model="model" :rules="rules" label-placement="left">
<n-grid :cols="24" :x-gap="24">
<n-form-item-gi :span="16" label="父级分类:" path="pid">
@@ -85,7 +85,7 @@
<n-switch v-model:value="model.status" :checked-value="1" :unchecked-value="2" />
</n-form-item-gi>
<n-form-item-gi v-if="model.type !== 3" :span="10" label="是否显示:" path="isShow">
<n-switch v-model:value="model.isShow" :checked-value="1" :unchecked-value="2" />
<n-switch v-model:value="model.is_show" :checked-value="1" :unchecked-value="2" />
</n-form-item-gi>
<n-form-item-gi :span="16" label="菜单名称:" path="name">
<n-input v-model:value="model.name" placeholder="请填写菜单名称" />
@@ -307,7 +307,7 @@ const model = ref({
type: null,
icon: '',
status: 1,
isShow: 1,
is_show: 1,
name: '',
route: '',
params: '',
@@ -359,7 +359,7 @@ const openModal = (type, row = {}) => {
type: row.type,
icon: row.icon,
status: row.status,
isShow: row.isShow,
is_show: row.is_show,
name: row.name,
route: row.route,
params: row.params,
@@ -386,7 +386,7 @@ const handleValidateClick = () => {
Icon: model.value.icon,
Type: model.value.type,
Status: model.value.status,
IsShow: model.value.isShow,
IsShow: model.value.is_show,
Name: model.value.name,
Route: model.value.route,
Params: model.value.params,