调整项目环境

This commit is contained in:
1378012178@qq.com 2025-03-21 14:23:45 +08:00
parent a3be8c805c
commit c2462a1ea2
4 changed files with 7659 additions and 6231 deletions

2
.env
View File

@ -1,5 +1,5 @@
# port
VITE_PORT = 3100
VITE_PORT = 3101
# 网站标题
VITE_GLOB_APP_TITLE = JeecgBoot 企业级低代码平台

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -36,13 +36,15 @@
<a-col :span="12">
<a-form-item label="收费价格(元)" v-bind="validateInfos.tollPrice" id="ConfigServiceDirectiveForm-tollPrice"
name="tollPrice">
<a-input-number v-model:value="formData.tollPrice" placeholder="请输入收费价格" style="width: 100%" precision="4"/>
<a-input-number v-model:value="formData.tollPrice" placeholder="请输入收费价格" style="width: 100%"
precision="4" />
</a-form-item>
</a-col>
<a-col :span="12">
<a-form-item label="提成价格(元)" v-bind="validateInfos.comPrice" id="ConfigServiceDirectiveForm-comPrice"
name="comPrice">
<a-input-number v-model:value="formData.comPrice" placeholder="请输入提成价格" style="width: 100%" precision="4"/>
<a-input-number v-model:value="formData.comPrice" placeholder="请输入提成价格" style="width: 100%"
precision="4" />
</a-form-item>
</a-col>
<!-- <a-col :span="12">
@ -346,6 +348,14 @@ async function submitForm() {
}
}
}
//
if (model.tollPrice <= model.comPrice) {
createMessage.warning('提成价格不能高于收费价格!');
confirmLoading.value = false;
retrun;
}
await saveOrUpdate(model, isUpdate.value)
.then((res) => {
if (res.success) {