zizhong.wang vor 2 Jahren
Ursprung
Commit
2e53bada01
2 geänderte Dateien mit 9 neuen und 4 gelöschten Zeilen
  1. 3 0
      pages/heatingPage/reportFix.vue
  2. 6 4
      pages/selfCenter/my_fix.vue

+ 3 - 0
pages/heatingPage/reportFix.vue

@@ -71,6 +71,9 @@ export default {
   },
   methods: {
     submit() {
+	  if (this.imgIdList.length > 0){
+		  this.pic_id = this.imgIdList[0];
+	  }
       if (
         this.supplyInfo.name === "" ||
         this.supplyInfo.phone === ""

+ 6 - 4
pages/selfCenter/my_fix.vue

@@ -8,13 +8,13 @@
         @click="goActiveDeatil(item.id)" >
 
         <view class="notice-content">
-          <view class="notice-content-font">{{item.title}}</view>
+          <view class="notice-content-font">{{item.content}}</view>
           <view class="display-between" style="margin-top: 20rpx">
 			<view class="notice-content-time">
 				提交时间:{{item.time}}
 			</view>  
 			<view class="display-flex-start"  style="visibility: hidden;">
-				<view class="notice-content-time">{{item.orderStatus}}</view>
+				<view class="notice-content-time">{{item.status}}</view>
 			</view>
           </view>
         </view>
@@ -35,6 +35,7 @@ export default {
       indexType: 0,
       indexState: 0,
       fixList: [
+		  /*
         {
           title: "暖气不热",
           time: "2023-08-18",
@@ -43,6 +44,7 @@ export default {
           title: "二楼暖气管道井漏水严重,同时发出严重的声响,请尽快处理",
           time: "2023-09-05",
         },
+		*/
       ],
       activeListCopy: [],
     };
@@ -68,7 +70,7 @@ export default {
       let url =
         getApp().globalData.shareUrl +
         "api/api.php" +
-        "?method=user&source=user&action=repair_list&timestamp=" +
+        "?method=user&source=user&action=get_repair_list&timestamp=" +
         getApp().globalData.globalTimestamp +
         "&sign=" +
         md5Sign;
@@ -87,7 +89,7 @@ export default {
         success: (res) => {
           // console.log(res);
           if (res.data.code === 200) {
-
+				this.fixList = res.data.data.list;
           }
         },
         fail: () => {