zzp 2 years ago
parent
commit
4b203f2300
4 changed files with 8 additions and 6 deletions
  1. 0 1
      manifest.json
  2. 1 0
      pagesMain/studentList.vue
  3. 1 2
      pagesMain/subscribeInfo.vue
  4. 6 3
      pagesMain/subscribeListAll.vue

+ 0 - 1
manifest.json

@@ -104,7 +104,6 @@
     "quickapp" : {},
     /* 快应用特有相关 */
     "mp-weixin" : {
-        /* 小程序特有相关 */
         "appid" : "wx066a613dd9d313e7",
         "setting" : {
             "urlCheck" : false,

+ 1 - 0
pagesMain/studentList.vue

@@ -53,6 +53,7 @@
 			}
 		},
 		onShow() {
+			this.tableList = Object.assign([],this.$options.data().tabList)
 			this.getTableList()
 		},
 		methods: {

+ 1 - 2
pagesMain/subscribeInfo.vue

@@ -40,7 +40,7 @@
 		<!-- 体验日期 -->
 		<u-calendar v-model="experienceShow" mode="date" :active-bg-color="mainColor" btn-type="error" availableText="有课"
 		 :available="availableList" @change="setExperience" max-date="2300-12-31"></u-calendar>
-		<view class="handle-fix-box">
+		<view class="handle-fix-box" v-if="!subscribelForm.experience">
 			<u-button type="warning" shape="circle" :ripple="true" :custom-style="customStyle" @click="submitForm">确认到场体验</u-button>
 		</view>
 		<u-top-tips ref="uTips"></u-top-tips>
@@ -105,7 +105,6 @@
 			const item = JSON.parse(decodeURIComponent(options.item));
 			this.venueId = options.venueId
 			this.subscribelForm = { ...item, id: item.classId, sex:item.sex == 1 ? '男' : '女' }
-			console.log(this.subscribelForm);
 		},
 		onReady() {
 			this.$refs.subscribelForm.setRules(this.rules);

+ 6 - 3
pagesMain/subscribeListAll.vue

@@ -5,9 +5,12 @@
 		 @refresherrestore="onRestore">
 			<u-card :head-border-bottom="false" padding="0px" margin="10px" borderRadius="40" v-for="(item, index) in tableList"
 			 :key="index" class="class-card" @click="handleJumpClick(item)">
-				<view class="class-content" slot="head" style="padding-top: 10px;">
-					<view class="student-name">{{item.studentName}}</view>
-					<view class="class-name">{{item.name}}</view>
+				<view class="class-content" slot="head" style="padding-top: 10px;display:flex;justify-content: space-between;">
+					<view>
+						<view class="student-name">{{item.studentName}}</view>
+						<view class="class-name">{{item.name}}</view>
+					</view>
+					<view class="class-name">{{ item.experience ? '已确认' : '未确认' }}</view>
 				</view>
 				<view class="class-content" slot="body">
 					<view class="class-info-text">