소스 검색

Merge branch '2.0.0' of http://git.ycjcjy.com/fuxingfan/smartCommunity into 2.0.0

魏熙美 6 년 전
부모
커밋
0a91694079

+ 2
- 2
CODE/smart-community/app-api/src/main/java/com/community/huiju/service/impl/TpShopServicelmpl.java 파일 보기

120
                    //休闲
120
                    //休闲
121
                    List<String> tpShopTypeImg = new ArrayList<>();
121
                    List<String> tpShopTypeImg = new ArrayList<>();
122
                    // 休闲3x
122
                    // 休闲3x
123
-                tpShopTypeImg.add("http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/1557817084664.png?Expires=1559644472&OSSAccessKeyId=LTAIkc75dpkJw8Lb");
123
+                tpShopTypeImg.add("http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/1558077862814.png?Expires=1559905250&OSSAccessKeyId=LTAIkc75dpkJw8Lb");
124
                    // 休闲2x
124
                    // 休闲2x
125
-                tpShopTypeImg.add("http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/1557817102003.png?Expires=1559644489&OSSAccessKeyId=LTAIkc75dpkJw8Lb");
125
+                tpShopTypeImg.add("http://jingcheng-h5temp.oss-cn-shanghai.aliyuncs.com/1558077918669.png?Expires=1559905306&OSSAccessKeyId=LTAIkc75dpkJw8Lb");
126
                 tpShopType.setImg(tpShopTypeImg);
126
                 tpShopType.setImg(tpShopTypeImg);
127
                }
127
                }
128
                if (a == 4){
128
                if (a == 4){

+ 8
- 8
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/HotelServiceImpl.java 파일 보기

103
             return response;
103
             return response;
104
         }
104
         }
105
         // 查询当前房间编号是否重复
105
         // 查询当前房间编号是否重复
106
-        QueryWrapper<HotelRoom> HotelRoomQuery= new QueryWrapper<>();
107
-        HotelRoomQuery.eq("community_id",userElement.getCommunityId());
108
-        HotelRoomQuery.eq("room_no",hotelRoom.getRoomNo());
109
-        List<HotelRoom> RoomNo= tpHotelRoomMapper.selectList(HotelRoomQuery);
110
-        if (null != RoomNo && RoomNo.size()>0){
111
-            response.addError("当前房间号已存在");
112
-            return response;
113
-        }
106
+//        QueryWrapper<HotelRoom> HotelRoomQuery= new QueryWrapper<>();
107
+//        HotelRoomQuery.eq("community_id",userElement.getCommunityId());
108
+//        HotelRoomQuery.eq("room_no",hotelRoom.getRoomNo());
109
+//        List<HotelRoom> RoomNo= tpHotelRoomMapper.selectList(HotelRoomQuery);
110
+//        if (null != RoomNo && RoomNo.size()>0){
111
+//            response.addError("当前房间号已存在");
112
+//            return response;
113
+//        }
114
         // 判断价格是否存在
114
         // 判断价格是否存在
115
         if (null == hotelRoom.getPrice()) {
115
         if (null == hotelRoom.getPrice()) {
116
             response.addError("请输入房间价格");
116
             response.addError("请输入房间价格");

+ 3
- 0
VUECODE/smart-property-manage/src/views/grogshop/grogshopRoomAdd.vue 파일 보기

69
         this.$message.error('请输入房型价格');
69
         this.$message.error('请输入房型价格');
70
         return
70
         return
71
       }
71
       }
72
+      if(this.ruleForm.roomStatus === ''){
73
+        this.ruleForm.roomStatus = '1'
74
+      }
72
     
75
     
73
       this.$store.dispatch('HotelRoomAdd', this.ruleForm).then((res) => {
76
       this.$store.dispatch('HotelRoomAdd', this.ruleForm).then((res) => {
74
         if(res.code === '1'){
77
         if(res.code === '1'){

+ 2
- 0
VUECODE/smart-property-manage/src/views/rental/rentalIndex.vue 파일 보기

247
       const ids = this.deleteIds
247
       const ids = this.deleteIds
248
       if (ids < 1) {
248
       if (ids < 1) {
249
         this.$message.error('请至少选择一行数据上架!')
249
         this.$message.error('请至少选择一行数据上架!')
250
+        this.listLoading = false
250
         return
251
         return
251
       }
252
       }
252
       this.$store.dispatch('rental/ShelfRental', ids).then((res) => {
253
       this.$store.dispatch('rental/ShelfRental', ids).then((res) => {
262
       const ids = this.deleteIds
263
       const ids = this.deleteIds
263
       if (ids < 1) {
264
       if (ids < 1) {
264
         this.$message.error('请至少选择一行数据下架!')
265
         this.$message.error('请至少选择一行数据下架!')
266
+        this.listLoading = false
265
         return
267
         return
266
       }
268
       }
267
       this.$store.dispatch('rental/ObtainedRental', ids).then((res) => {
269
       this.$store.dispatch('rental/ObtainedRental', ids).then((res) => {