瀏覽代碼

修正交通方式相关文案并更新时间格式

- 将"去程交通方式"统一更改为"返程交通方式",保持一致性- 更新时间格式从"yyyy-MM-dd hh:mm"改为"yyyy-mm-dd hh:MM",提高可读性
- 修复注册会议页面的邮箱显示逻辑
- 更新README中关于交通方式的验证信息
chen.cheng 9 月之前
父節點
當前提交
27dcc1518e
共有 5 個文件被更改,包括 7 次插入7 次删除
  1. 2 2
      README.md
  2. 1 1
      components/RegistForm/index.vue
  3. 1 1
      pasb/pages/myApply/index.vue
  4. 1 1
      pasb/pages/regist/index.vue
  5. 2 2
      pasbrg/pages/regmeeting/index.vue

+ 2 - 2
README.md

@@ -136,7 +136,7 @@ this.$emit('handleClick', '参数');
   "userInfo.wayBack": {
     "type": "string",
     "required": true,
-    "message": "程交通方式",
+    "message": "程交通方式",
     "trigger": [
       "blur",
       "change"
@@ -145,7 +145,7 @@ this.$emit('handleClick', '参数');
   "userInfo.backInfo": {
     "type": "string",
     "required": true,
-    "message": "请填写程车次/航班",
+    "message": "请填写程车次/航班",
     "trigger": [
       "blur",
       "change"

+ 1 - 1
components/RegistForm/index.vue

@@ -254,7 +254,7 @@
         ></u--input>
       </u-form-item>
       <u-form-item
-          label="程交通方式"
+          label="程交通方式"
           prop="userInfo.wayBack"
           borderBottom
           v-if="rules['userInfo.wayBack']"

+ 1 - 1
pasb/pages/myApply/index.vue

@@ -22,7 +22,7 @@
           </view>
           <view class="apply-item-footer">
             <view>参会人:{{ item.usrName }}</view>
-            <view>{{ $u.timeFormat(item.createTime, 'yyyy-MM-dd hh:mm') }}</view>
+            <view>{{ $u.timeFormat(item.createTime, 'yyyy-mm-dd hh:MM') }}</view>
           </view>
         </view>
       </view>

+ 1 - 1
pasb/pages/regist/index.vue

@@ -62,7 +62,7 @@ export default {
     if (msg) {
       const cfgJson = JSON.parse(msg);
       Object.keys(staticRules).forEach(item => {
-        if (!cfgJson[item]) {
+        if (cfgJson[item]) {
           Object.assign(cfgJson[item], staticRules[item]);
         }
       });

+ 2 - 2
pasbrg/pages/regmeeting/index.vue

@@ -17,7 +17,7 @@
         <u-cell title="联系电话" :label="meetingInfo.tel">
         </u-cell>
       </u-cell-group>
-      <u-cell-group :border="false">
+      <u-cell-group :border="false" v-if="rules.email">
         <u-cell title="邮箱" :label="meetingInfo.email">
         </u-cell>
       </u-cell-group>
@@ -69,7 +69,7 @@
         </u-cell>
       </u-cell-group>
       <u-cell-group :border="false">
-        <u-cell title="程交通方式" :label="TFC_TYPE[meetingInfo.wayBack].name">
+        <u-cell title="程交通方式" :label="TFC_TYPE[meetingInfo.wayBack].name">
         </u-cell>
       </u-cell-group>
       <u-cell-group :border="false" v-if="meetingInfo.backInfo  && meetingInfo.wayBack!='3'">