修改样式

This commit is contained in:
yangjun 2025-09-19 09:59:57 +08:00
parent 1cb30fa612
commit 8c9f1ab94b
2 changed files with 9 additions and 2 deletions

View File

@ -6,10 +6,10 @@ VITE_PUBLIC_PATH = /
# 跨域代理,您可以配置多个 ,请注意,没有换行符
VITE_PROXY = [["/jeecgboot","http://localhost:8080/jeecg-boot"],["/upload","http://localhost:3300/upload"]]
VITE_PROXY = [["/jeecgboot","http://localhost:8050/jeecg-boot"],["/upload","http://localhost:3300/upload"]]
#后台接口全路径地址(必填)
VITE_GLOB_DOMAIN_URL=http://localhost:8080/jeecg-boot
VITE_GLOB_DOMAIN_URL=http://localhost:8050/jeecg-boot
#后台接口父地址(必填)
VITE_GLOB_API_URL=/jeecgboot

View File

@ -139,6 +139,11 @@
<a-input-number v-model:value="formData.tonnageTwo" placeholder="请输入锅炉吨位2" style="width: 100%" allow-clear ></a-input-number>
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="图片" v-bind="validateInfos.filePath" id="HeatsourceForm-filePath" name="filePath">
<JImageUpload :fileMax="4" v-model:value="formData.filePath"></JImageUpload>
</a-form-item>
</a-col>
</a-row>
</a-form>
</template>
@ -155,6 +160,7 @@
import { saveOrUpdate } from '../Heatsource.api';
import { Form } from 'ant-design-vue';
import JFormContainer from '/@/components/Form/src/container/JFormContainer.vue';
import JImageUpload from '/@/components/Form/src/jeecg/components/JImageUpload.vue';
const props = defineProps({
formDisabled: { type: Boolean, default: false },
formData: { type: Object, default: () => ({})},
@ -205,6 +211,7 @@
boilernum: '0',
tonnage: '0',
tonnageTwo: '0',
filePath: '',
});
const { createMessage } = useMessage();
const labelCol = ref<any>({ xs: { span: 24 }, sm: { span: 5 } });