Commit caa07b63 authored by 杨梦雪's avatar 杨梦雪

班级规则

parent fda2e5ca
...@@ -682,6 +682,11 @@ ...@@ -682,6 +682,11 @@
<!-- 班级 --> <!-- 班级 -->
<el-col :span="12" v-show="configJson.class == 1"> <el-col :span="12" v-show="configJson.class == 1">
<el-form-item <el-form-item
:rules="
configJson.class == 1
? referInfoRules.class
: [{ required: false }]
"
label="班级" label="班级"
prop="class" prop="class"
style="height: 73px" style="height: 73px"
...@@ -1547,7 +1552,7 @@ ...@@ -1547,7 +1552,7 @@
past_medical_history: null, past_medical_history: null,
note_other: null, note_other: null,
clothes_size: null, clothes_size: null,
class:null, class: null,
emergency: null, emergency: null,
emergency_phone: null, emergency_phone: null,
introduce: null, introduce: null,
......
...@@ -22,11 +22,11 @@ ...@@ -22,11 +22,11 @@
// export const SERVER_WS_URL = "wss://tgwapi.campcenter.cn"; // websocket // export const SERVER_WS_URL = "wss://tgwapi.campcenter.cn"; // websocket
// 正式 // 正式
export const SERVER_URL = "https://gwapi.campcenter.cn/modules-campsite"; // 正式环境 // export const SERVER_URL = "https://gwapi.campcenter.cn/modules-campsite"; // 正式环境
export const DEVELOPMENT_SERVER_URL = "https://gwapi.campcenter.cn/modules-campsite"; //开发环境 // export const DEVELOPMENT_SERVER_URL = "https://gwapi.campcenter.cn/modules-campsite"; //开发环境
export const SERVER_WS_URL = "wss://gwapi.campcenter.cn"; // websocket // export const SERVER_WS_URL = "wss://gwapi.campcenter.cn"; // websocket
// 测试 // 测试
// export const SERVER_URL = "http:// 8088/modules-campsite"; // 正式环境 export const SERVER_URL = "http:// 8088/modules-campsite"; // 正式环境
// export const DEVELOPMENT_SERVER_URL = "http://43.143.166.79:8088/modules-campsite"; //开发环境 export const DEVELOPMENT_SERVER_URL = "http://43.143.166.79:8088/modules-campsite"; //开发环境
// export const SERVER_WS_URL = "wss://43.143.166.79:8088"; // websocket export const SERVER_WS_URL = "wss://43.143.166.79:8088"; // websocket
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment