服务指令:类别、类型删除默认图片

This commit is contained in:
曹磊 2025-10-13 10:02:26 +08:00
parent f01d8e7349
commit 0d0c83f96e
2 changed files with 2 additions and 14 deletions

View File

@ -41,12 +41,7 @@
</a-form-item>
</a-col>
<a-col :span="24" v-show="formData.netFlag=='1'">
<a-form-item label="默认图片" v-bind="validateInfos.staticPath" id="ConfigServiceCategoryForm-staticPath" name="staticPath">
<JImageUploadToOpe :toOpe="true" :bizPath="'category'" :fileMax="1" v-model:value="formData.staticPath"></JImageUploadToOpe>
</a-form-item>
</a-col>
<a-col :span="24" v-show="formData.netFlag=='1'">
<a-form-item label="动画图片" v-bind="validateInfos.animationPath" id="ConfigServiceCategoryForm-animationPath" name="animationPath">
<a-form-item label="图片" v-bind="validateInfos.animationPath" id="ConfigServiceCategoryForm-animationPath" name="animationPath">
<JImageUploadToOpe :toOpe="true" :bizPath="'category'" :fileMax="7" v-model:value="formData.animationPath"></JImageUploadToOpe>
</a-form-item>
</a-col>
@ -82,7 +77,6 @@ const formData = reactive<Record<string, any>>({
izEnabled: '0',
instructionId: '',
netFlag: '0',
staticPath: '',
animationPath: '',
colDisabled: false
});

View File

@ -47,12 +47,7 @@
</a-form-item>
</a-col>
<a-col :span="24" v-show="formData.netFlag=='1'">
<a-form-item label="默认图片" v-bind="validateInfos.staticPath" id="ConfigServiceCategoryForm-staticPath" name="staticPath">
<JImageUploadToOpe :toOpe="true" :bizPath="'type'" :fileMax="1" v-model:value="formData.staticPath"></JImageUploadToOpe>
</a-form-item>
</a-col>
<a-col :span="24" v-show="formData.netFlag=='1'">
<a-form-item label="动画图片" v-bind="validateInfos.animationPath" id="ConfigServiceCategoryForm-animationPath" name="animationPath">
<a-form-item label="图片" v-bind="validateInfos.animationPath" id="ConfigServiceCategoryForm-animationPath" name="animationPath">
<JImageUploadToOpe :toOpe="true" :bizPath="'type'" :fileMax="7" v-model:value="formData.animationPath"></JImageUploadToOpe>
</a-form-item>
</a-col>
@ -90,7 +85,6 @@ const formData = reactive<Record<string, any>>({
sort: 99,
izEnabled: '0',
netFlag: '0',
staticPath: '',
animationPath: '',
colDisabled: false
});