瀏覽代碼

Merge branch 'master' of http://git.ringzle.com:3000/liwei2496/wit-uniapp

wh 1 年之前
父節點
當前提交
036c77224a

+ 34 - 19
.idea/workspace.xml

@@ -2,10 +2,23 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="b14f9fe1-d3c3-496a-8ebb-4789fe400212" name="默认更改列表" comment="">
-      <change beforePath="$PROJECT_DIR$/http/baseApi.js" beforeDir="false" afterPath="$PROJECT_DIR$/http/baseApi.js" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/pages.json" beforeDir="false" afterPath="$PROJECT_DIR$/pages.json" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/pages/Workorder/Workorder.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/Workorder/Workorder.vue" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/pages/index/Immediatecollection/Immediatecollection.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/index/Immediatecollection/Immediatecollection.vue" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/pages/index/Onlinewarranty/Onlinewarranty.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/index/Onlinewarranty/Onlinewarranty.vue" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/pages/index/Workordertodone/Workordertodone.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/index/Workordertodone/Workordertodone.vue" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/pages/index/Workordertodone/hasrepaired/hasrepaired.vue" beforeDir="false" afterPath="$PROJECT_DIR$/pages/index/Workordertodone/hasrepaired/hasrepaired.vue" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/cache/apk/__UNI__FF40C0C_cm.apk" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/apk/__UNI__FF40C0C_cm.apk" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/cache/apk/apkurl" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/apk/apkurl" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/cache/apk/cmManifestCache.json" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/apk/cmManifestCache.json" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__FF40C0C/app-config-service.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__FF40C0C/app-config-service.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__FF40C0C/app-service.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__FF40C0C/app-service.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__FF40C0C/app-view.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__FF40C0C/app-view.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__FF40C0C/manifest.json" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__FF40C0C/manifest.json" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__FF40C0C/view.umd.min.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/cache/wgt/__UNI__FF40C0C/view.umd.min.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-config-service.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-config-service.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-service.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-service.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-view.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/dist/build/app-plus/app-view.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/dist/build/app-plus/manifest.json" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/dist/build/app-plus/manifest.json" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/unpackage/dist/build/app-plus/view.umd.min.js" beforeDir="false" afterPath="$PROJECT_DIR$/unpackage/dist/build/app-plus/view.umd.min.js" afterDir="false" />
     </list>
     <ignored path="$PROJECT_DIR$/.tmp/" />
     <ignored path="$PROJECT_DIR$/temp/" />
@@ -30,8 +43,8 @@
       <file pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/pages/my/my.vue">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="3420">
-              <caret line="114" column="114" selection-start-line="114" selection-start-column="114" selection-end-line="114" selection-end-column="114" />
+            <state relative-caret-position="3450">
+              <caret line="115" column="114" selection-start-line="115" selection-start-column="114" selection-end-line="115" selection-end-column="114" />
             </state>
           </provider>
         </entry>
@@ -39,8 +52,8 @@
       <file pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/pages.json">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="10110">
-              <caret line="365" column="6" selection-start-line="365" selection-start-column="6" selection-end-line="365" selection-end-column="6" />
+            <state relative-caret-position="11010">
+              <caret line="377" column="6" selection-start-line="377" selection-start-column="6" selection-end-line="377" selection-end-column="6" />
             </state>
           </provider>
         </entry>
@@ -48,8 +61,8 @@
       <file pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/pages/index/Workordertodone/Workordertodone.vue">
           <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="5280">
-              <caret line="176" column="10" selection-start-line="176" selection-start-column="10" selection-end-line="176" selection-end-column="10" />
+            <state relative-caret-position="5910">
+              <caret line="197" column="10" selection-start-line="197" selection-start-column="10" selection-end-line="197" selection-end-column="10" />
             </state>
           </provider>
         </entry>
@@ -76,7 +89,7 @@
         <entry file="file://$PROJECT_DIR$/pages/Workorder/AccessControl/AccessControl.vue">
           <provider selected="true" editor-type-id="text-editor">
             <state relative-caret-position="811">
-              <caret line="155" selection-start-line="155" selection-end-line="155" />
+              <caret line="191" selection-start-line="191" selection-end-line="191" />
             </state>
           </provider>
         </entry>
@@ -174,7 +187,6 @@
       <foldersAlwaysOnTop value="true" />
     </navigator>
     <panes>
-      <pane id="Scope" />
       <pane id="ProjectPane">
         <subPane>
           <expand>
@@ -329,6 +341,7 @@
           <select />
         </subPane>
       </pane>
+      <pane id="Scope" />
     </panes>
   </component>
   <component name="PropertiesComponent">
@@ -379,11 +392,13 @@
       <workItem from="1682468371664" duration="591000" />
       <workItem from="1682554138603" duration="592000" />
       <workItem from="1682641765071" duration="593000" />
+      <workItem from="1683160641474" duration="594000" />
+      <workItem from="1683265707499" duration="595000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="101398000" />
+    <option name="totallyTimeSpent" value="102587000" />
   </component>
   <component name="ToolWindowManager">
     <frame x="1912" y="-8" width="1936" height="1056" extended-state="1" />
@@ -582,22 +597,22 @@
     </entry>
     <entry file="file://$PROJECT_DIR$/pages/my/my.vue">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="3420">
-          <caret line="114" column="114" selection-start-line="114" selection-start-column="114" selection-end-line="114" selection-end-column="114" />
+        <state relative-caret-position="3450">
+          <caret line="115" column="114" selection-start-line="115" selection-start-column="114" selection-end-line="115" selection-end-column="114" />
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/pages.json">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="10110">
-          <caret line="365" column="6" selection-start-line="365" selection-start-column="6" selection-end-line="365" selection-end-column="6" />
+        <state relative-caret-position="11010">
+          <caret line="377" column="6" selection-start-line="377" selection-start-column="6" selection-end-line="377" selection-end-column="6" />
         </state>
       </provider>
     </entry>
     <entry file="file://$PROJECT_DIR$/pages/index/Workordertodone/Workordertodone.vue">
       <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="5280">
-          <caret line="176" column="10" selection-start-line="176" selection-start-column="10" selection-end-line="176" selection-end-column="10" />
+        <state relative-caret-position="5910">
+          <caret line="197" column="10" selection-start-line="197" selection-start-column="10" selection-end-line="197" selection-end-column="10" />
         </state>
       </provider>
     </entry>
@@ -618,7 +633,7 @@
     <entry file="file://$PROJECT_DIR$/pages/Workorder/AccessControl/AccessControl.vue">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="811">
-          <caret line="155" selection-start-line="155" selection-end-line="155" />
+          <caret line="191" selection-start-line="191" selection-end-line="191" />
         </state>
       </provider>
     </entry>

+ 11 - 1
pages.json

@@ -338,7 +338,17 @@
             }
             
         }
-        ,{
+		,{
+		    "path" : "pages/index/Workordertodone/hasrepaired/hasrepaired",
+		    "style" :                                                                                    
+		    {
+		        "navigationBarTitleText": "已维修",
+		        "enablePullDownRefresh": false
+		    }
+		    
+		}
+        ,
+		{
             "path" : "pages/Workorder/Intelligentdoorlock/Intelligentdoorlock",
             "style" :                                                                                    
             {

+ 43 - 7
pages/Workorder/AccessControl/AccessControl.vue

@@ -9,7 +9,19 @@
 			<view class="mjsh">{{item.parentCategory}}</view>
 
 			<view class="mjkg">
-				<view class="sfkq">
+				<view class="anniu">
+					<u-button type="success" text="开启" @click="buttons(item,'open')"></u-button>
+				</view>
+				<view class="anniu">
+					<u-button type="warning" text="关闭" @click="buttons(item,'close')"></u-button>
+				</view>	
+				<view class="anniu">
+					<u-button type="primary" text="常开" @click="buttons(item,'alwaysOpen')"></u-button>
+				</view>		
+				<view class="anniu">
+					<u-button type="error" text="常关" @click="buttons(item,'alwaysClose')"></u-button>
+				</view>
+				<!-- <view class="sfkq">
 					<view class="sfkq1">是否开启</view>
 					<view class="sfkq2">
 						<u-switch activeColor="#2979FF" asyncChange @change="asyncChange1(item)"
@@ -22,7 +34,7 @@
 						<u-switch activeColor="#2979FF" asyncChange @change="asyncChange2(item)"
 							inactiveColor="rgb(230, 230, 230)" v-model="item.value2" size="40"></u-switch>
 					</view>
-				</view>
+				</view> -->
 			</view>
 		</view>
 
@@ -44,6 +56,8 @@
 		},
 
 		methods: {
+			
+			
 			getalldata() {
 				this.$api.get('/access/page', {})
 					.then(res => {
@@ -52,10 +66,10 @@
 							if (res.data.data.length == 0) {
 								this.mjlist = []
 							} else {
-								for (let i = 0; i < res.data.data.length; i++) {
-									res.data.data[i].value1 = false;
-									res.data.data[i].value2 = false;
-								}
+								// for (let i = 0; i < res.data.data.length; i++) {
+								// 	res.data.data[i].value1 = false;
+								// 	res.data.data[i].value2 = false;
+								// }
 
 								this.mjlist = res.data.data;
 							}
@@ -65,6 +79,26 @@
 						}
 					})
 			},
+			
+			buttons(e,fs){
+				  let postdata = {
+				  	cmd:fs,
+				  	deviceSerial: e.deviceSerial
+				  }
+				  //  console.log('111111111111111111',postdata)
+					this.$api.post('/access/operate', postdata)
+						.then(res => {
+							if (res.data.code == 0) {
+								this.$refs.uNotify.success('成功')
+							} else {
+								this.$refs.uNotify.error(res.data.msg)
+							}
+						})
+					
+				  
+			},
+			
+			
 			operate(e) {
 				this.$api.post('/access/operate', e)
 					.then(res => {
@@ -151,7 +185,9 @@
 	.mjkg {
 		display: flex;
 		align-items: center;
-		margin-top: 80rpx;
+		justify-content: space-around;
+		margin-top: 40rpx;
+		margin-bottom: 10rpx;
 	}
 
 	.mjsh {

+ 7 - 7
pages/Workorder/Intelligentdoorlock/Intelligentdoorlock.vue

@@ -77,7 +77,7 @@
 			</view>
 		</u-popup>
 
-
+<u-notify ref="uNotify" message="" ></u-notify>
 	</view>
 </template>
 
@@ -181,9 +181,9 @@ lsmima:'',
 						if (res.data.code == 0) {
 								this.showms = true;
 this.lsmima=res.data.data;
-  console.log('111111111111111111',this.lsmima)
+ // console.log('111111111111111111',this.lsmima)
 						} else {
-
+this.$refs.uNotify.error(res.data.msg)	
 						}
 					})
 
@@ -238,7 +238,7 @@ this.lsmima=res.data.data;
 <style lang="scss">
 	.mensuoxx {
 		width: 750rpx;
-		height: 500rpx;
+		height: 300rpx;
 
 		h3 {
 			width: 100%;
@@ -290,7 +290,7 @@ this.lsmima=res.data.data;
 	}
 
 	.settled {
-		background-color: #09C700;
+		background-color: #2B60DE;
 		width: 120rpx;
 		height: 60rpx;
 		text-align: center;
@@ -320,7 +320,7 @@ this.lsmima=res.data.data;
 	}
 
 	.outstanding1 {
-		background-color: #09C700;
+		background-color: #3090C7;
 		width: 120rpx;
 		height: 60rpx;
 		text-align: center;
@@ -335,7 +335,7 @@ this.lsmima=res.data.data;
 	}
 
 	.outstanding2 {
-		background-color: #09C700;
+		background-color: #4E8975;
 		width: 120rpx;
 		height: 60rpx;
 		text-align: center;

+ 3 - 3
pages/Workorder/Videosurveillance/Videosurveillance.vue

@@ -141,7 +141,7 @@
 						this.totalnumber = res.data.data.total;
 						if (res.data.data.list.length != 0) {
 							this.indexList.push(...res.data.data.list);
-							this.dataForm.page = this.dataForm.page + 1;
+							this.dataForm.pageStart = this.dataForm.pageStart + 1;
 							this.pd = true;
 						} else {
 							uni.showToast({
@@ -182,7 +182,7 @@
 <style lang="scss">
 	.Currentamount {
 		padding-left: 30rpx;
-		height: 50rpx;
+		min-height: 50rpx;
 		line-height: 50rpx;
 		color: #BCB3A7;
 
@@ -209,7 +209,7 @@
 	.companylist {
 		margin: 20rpx 30rpx;
 		background: #fff;
-		height: 190rpx;
+		min-height: 200rpx;
 		border-radius: 10px;
 		position: relative;
 

+ 12 - 12
pages/index/BillPending/BillPending.vue

@@ -359,10 +359,10 @@
                                 correctLevel: QRCode.CorrectLevel.H,
                             });
                          //   10秒之后调取查询订单
-                            let that = this;
-                            setTimeout(function () {
-                                that.queryOrder2();
-                            }, 15000);
+                            // let that = this;
+                            // setTimeout(function () {
+                            //     that.queryOrder2();
+                            // }, 15000);
 
                         }
                     });
@@ -471,10 +471,10 @@
                                 correctLevel: QRCode.CorrectLevel.H,
                             });
                             //10秒之后调取查询订单
-                            let that = this;
-                            setTimeout(function () {
-                                that.queryOrder1();
-                            }, 15000);
+                            // let that = this;
+                            // setTimeout(function () {
+                            //     that.queryOrder1();
+                            // }, 15000);
 
                         }
                     });
@@ -512,10 +512,10 @@
                             correctLevel: QRCode.CorrectLevel.H,
                         });
                         //10秒之后调取查询订单
-                        let that = this;
-                        setTimeout(function () {
-                            that.queryOrder1();
-                        }, 15000);
+                        // let that = this;
+                        // setTimeout(function () {
+                        //     that.queryOrder1();
+                        // }, 15000);
 
                     }
                 });

+ 1 - 1
pages/index/Onlinewarranty/Onlinewarranty.vue

@@ -44,7 +44,7 @@
 				<u-form-item labelWidth='180' label="上传照片:" prop="userInfo.faultPics" borderBottom ref="item1">
 					<view class="uploadPart">
 						<view class="allimg"  v-for="img in fileList1">
-							<image :src="img" mode="widthFix" class="newimg" >
+							<image :src="img" mode="heightFix" class="newimg" >
 
 							</image>
 							<u-icon @click="deletePic(img)" class="mytrash" name="trash" color="red" size="38"></u-icon>

+ 72 - 32
pages/index/Workordertodone/Workordertodone.vue

@@ -102,7 +102,7 @@
 				<u-list  @scrolltolower="scrolltolower" :pagingEnabled='true'>
 					<u-list-item v-for="(item, index) in indexList" :key="index">
 
-						<view class="paisong"   @click="Workorderdetails2(item)">
+						<view class="paisong"   @click="Workorderdetails3(item)">
 							<view class="settled1" v-if="item.urgency==1">
 								非常紧急
 							</view>
@@ -150,7 +150,8 @@
 				cdshow: 0,
 				fatherparameter: {},
 				expensedata:'全部',
-				list: ['待指派', '已指派(待维修)','已维修' ],
+				list: [],
+				gly:true,
 				current: 0,
 				dataForm: {
 					status: "1",
@@ -168,11 +169,31 @@
 		},
 		//监听页面加载,其参数为上个页面传递的数据,参数类型为 Object(用于页面传参
 		onLoad: function(options) { //option为object类型,会序列化上个页面传递的参数
+		let permissions = uni.getStorageSync('ButtonPermissions');
+	
+		let isHave = permissions.includes('app:Tobeassigned');
+		this.gly=permissions.includes('app:Tobeassigned');
+		//  console.log('2222',isHave)
+		if(isHave){
+			this.list= ['待指派', '已指派(待维修)','已维修' ];
+			this.cdshow = 0;
+			 this.indexList=[];
+			 this.dataForm.page = 1;
+			 this.dataForm.status = 1;
+			 this.getpaisongdata();
+		}else{
+			this.list= [ '已指派(待维修)','已维修' ];
+			this.cdshow = 1;
+			this.indexList=[];
+			this.dataForm.page = 1;
+			this.dataForm.status = 2;
+			this.getpaisongdata();
+		}
+		
 
+			//this.getRepairTypeList();
 
-			this.getRepairTypeList();
-
-			this.getpaisongdata();
+		//	this.getpaisongdata();
 
 		},
 		//监听页面初次渲染完成。注意如果渲染速度快,会在页面进入动画完成前触发
@@ -207,35 +228,54 @@
 				             url: `/pages/index/Workordertodone/Toberepaired/Toberepaired?id=${e.id}`
 				          });
 			},
-			// Workorderdetails3(e){
-			// 	//  console.log('111111111111111111',e)
-			// 	   uni.navigateTo({
-			// 	             url: `/pages/index/Workordertodone/hasrepaired/hasrepaired?id=${e.id}`
-			// 	          });
-			// },
+			Workorderdetails3(e){
+				//  console.log('111111111111111111',e)
+				   uni.navigateTo({
+				             url: `/pages/index/Workordertodone/hasrepaired/hasrepaired?id=${e.id}`
+				          });
+			},
 
 			sectionChange(index) {
-				this.current = index;
-				if (index == 0) {
-					this.cdshow = 0;
-					 this.indexList=[];
-					 this.dataForm.page = 1;
-					 this.dataForm.status = 1;
-					 this.getpaisongdata();
-				} else if(index == 1) {
-					this.cdshow = 1;
-					this.indexList=[];
-					this.dataForm.page = 1;
-					this.dataForm.status = 2;
-					this.getpaisongdata();
-				} else if(index == 2) {
-					this.cdshow = 2;
-					this.indexList=[];
-					this.dataForm.page = 1;
-					this.dataForm.status = 3;
-					this.getpaisongdata();
-				}
-
+				//this.gly
+				  console.log('111111111111111111',index)
+				if(this.gly){
+					this.current = index;
+					if (index == 0) {
+						this.cdshow = 0;
+						 this.indexList=[];
+						 this.dataForm.page = 1;
+						 this.dataForm.status = 1;
+						 this.getpaisongdata();
+					} else if(index == 1) {
+						this.cdshow = 1;
+						this.indexList=[];
+						this.dataForm.page = 1;
+						this.dataForm.status = 2;
+						this.getpaisongdata();
+					} else if(index == 2) {
+						this.cdshow = 2;
+						this.indexList=[];
+						this.dataForm.page = 1;
+						this.dataForm.status = 3;
+						this.getpaisongdata();
+					}
+				}else{
+					this.current = index;
+					if (index == 0) {
+						this.cdshow = 1;
+						this.indexList=[];
+						this.dataForm.page = 1;
+						this.dataForm.status = 2;
+						this.getpaisongdata();
+					} else if(index == 1) {
+						this.cdshow = 2;
+						this.indexList=[];
+						this.dataForm.page = 1;
+						this.dataForm.status = 3;
+						this.getpaisongdata();
+					}
+					
+				}							
 			},
 			scrolltolower() {
 				if(this.pd){

+ 6 - 1
pages/index/Workordertodone/hasrepaired/hasrepaired.vue

@@ -52,7 +52,9 @@
 			<u-cell icon="integral-fill" title="联系电话" :value="details.weixiudh" >
 				<u-icon slot="icon" size="40" name="phone"></u-icon>
 			</u-cell>
-
+	<u-cell icon="integral-fill" title="维修完成时间" :value="details.repairFinishTime" >
+				<u-icon slot="icon" size="40" name="bell"></u-icon>
+			</u-cell>
 
 
 
@@ -123,6 +125,7 @@
 					lxdh:'',
 					gzms:'',
 					gzimg:[],
+repairFinishTime:'',
 
 					jinji:'',
 					weixiury:'',
@@ -165,6 +168,8 @@
 							this.details.lxdh=res.data.data.contactPhone;
 							this.details.gzms=res.data.data.faultDes;
 							this.details.weixiury=res.data.data.repairPersonName;
+								this.details.repairFinishTime=res.data.data.repairFinishTime;
+							
 							res.data.data.faultPics=res.data.data.faultPics.split(",");
 
 							this.details.gzimg=res.data.data.faultPics;

+ 1 - 1
pages/index/index.vue

@@ -515,7 +515,7 @@
 		justify-content: center;
 		position: relative;
 		top: 80rpx;
-		margin-bottom: 30rpx;
+		margin-bottom: 100rpx;
 	}
 
 

+ 2 - 2
pages/login/login.vue

@@ -52,8 +52,8 @@
 		data() {
 			return {
 				isShowPassword: false,
-				account: 'admin',
-				password: 'cx868688',
+				account: '',
+				password: '',
 				captcha: '',
 				uuid: '',
 				captchaPath: '',

+ 20 - 11
pages/my/Changepassword/Changepassword.vue

@@ -4,14 +4,14 @@
 		<view class="xgmy">
 			<u--form labelPosition="left" labelWidth='180' :model="model1" :rules="rules" ref="form1">
 				<u-form-item label="旧登录密码" prop="userInfo.password" borderBottom ref="item1">
-					<u--input v-model="model1.userInfo.password" border="surround"></u--input>
+					<u--input v-model="model1.userInfo.password" border="surround" clearable></u--input>
 				</u-form-item>
 				<u-form-item label="新登录密码" prop="userInfo.newPassword" borderBottom ref="item1">
-					<u--input v-model="model1.userInfo.newPassword" border="surround"></u--input>
+					<u--input v-model="model1.userInfo.newPassword" border="surround" clearable></u--input>
 				</u-form-item>
 				</u-form-item>
 				<u-form-item label="请再次输入" prop="userInfo.confirmPassword" borderBottom ref="item1">
-					<u--input v-model="model1.userInfo.confirmPassword" border="surround"></u--input>
+					<u--input v-model="model1.userInfo.confirmPassword" border="surround" clearable></u--input>
 				</u-form-item>
 			
 			</u--form>
@@ -19,6 +19,8 @@
 				<u-button type="primary" @click="submit">确定修改</u-button>
 			</view>
 		</view>
+		
+		<u-notify ref="uNotify" message="" ></u-notify>
 	</view>
 </template>
 
@@ -74,15 +76,22 @@
 					if(this.model1.userInfo.newPassword!=this.model1.userInfo.confirmPassword){
 						uni.$u.toast('您的新密码不一致,请重新输入')
 					}else{
-						uni.$u.toast('校验通过')
-						
-						  console.log('111111111111111111',this.model1.userInfo)
-						this.$api.get('/user/password',this.model1.userInfo)
+						//uni.$u.toast('校验通过')
+						//  console.log('111111111111111111',this.model1.userInfo)
+						  let postdata={
+							  "newPassword":this.model1.userInfo.newPassword,
+							    "password": this.model1.userInfo.password
+						  }
+						  
+						this.$api.put('/user/password',postdata)
 						.then(res=>{
-						
-						uni.navigateTo({
-							url: '/pages/login/login'
-						})
+						if(res.data.code==0){
+							uni.navigateTo({
+								url: '/pages/login/login'
+							})
+						}else{
+							this.$refs.uNotify.error(res.data.msg)	
+						}						
 						
 						})
 					}

+ 9 - 4
pages/my/Myorder/Orderdetails/Orderdetails.vue

@@ -59,7 +59,7 @@
 	<view class="yucun">
 		<u-button type="primary" text="补助" @click="prestore('补助')"></u-button>
 	</view> -->
-			<view class="yucun">
+			<view class="yucun" v-if='tk'>
 				<u-button type="error" text="退费" @click="prestore('退费')"></u-button>
 			</view>
 		</view>
@@ -110,6 +110,7 @@
 		data() {
 
 			return {
+				tk:false,
 				zhifucanvas: false,
 				dibucaidan: true,
 				prestorename: '',
@@ -227,13 +228,17 @@
 this.indexList=[];
 				this.$api.get('/order/' + e, {})
 					.then(res => {
+						
 					//	console.log('111111111111111111', res.data.data)
 						if (res.data.data.status == '-1') {
-							res.data.data.status = '已关闭'
+							res.data.data.status = '已关闭';
+							this.tk=false;
 						} else if (res.data.data.status == '0') {
-							res.data.data.status = '待支付'
+							res.data.data.status = '待支付';
+							this.tk=false;
 						} else if (res.data.data.status == '1') {
-							res.data.data.status = '已支付'
+							res.data.data.status = '已支付';
+							this.tk=true;
 						}
 
 						this.alldata = res.data.data;

+ 5 - 4
pages/my/my.vue

@@ -15,10 +15,10 @@
 				<view class="Username1">{{getuserInfo.realName}} <span>您好</span>   </view>
 				<view class="Username2">
 					<view class="">
-						您上次登录时间:
+						您上次更新个人信息时间:
 					</view>
 					<view class="">
-						2023-3-23 13:32:48
+						{{getuserInfo.updateDate}}
 					</view>
 				</view>
 			</view>
@@ -43,7 +43,8 @@
 			</view>
 		</view>
 		<!-- 头部结束 -->
-		<view class="minndle">
+		<view class="minndle" v-if="$has('app:PersonalInformation')||$has('app:MyOrder')
+		||$has('app:MyTask')||$has('app:CommentsSuggestions')">
 			<!-- <u-grid :border="false" col="4" @click="navigations">
 				<u-grid-item v-for="(listItem,listIndex) in list" :key="listIndex">
 					<u-icon :customStyle="{paddingTop:20+'rpx'}" :name="listItem.name" :color="listItem.color"
@@ -168,7 +169,7 @@
 		//监听页面加载,其参数为上个页面传递的数据,参数类型为 Object(用于页面传参
 		onLoad() {
 			this.getuserInfo = uni.getStorageSync('getuserInfo');
-			//console.log('111111111111111111', this.getuserInfo)
+			console.log('111111111111111111', this.getuserInfo)
 		},
 		//监听页面初次渲染完成。注意如果渲染速度快,会在页面进入动画完成前触发
 		onReady() {},

+ 2 - 2
uni.scss

@@ -14,8 +14,8 @@
 @import '@/uni_modules/uview-ui/theme.scss';
 .topnames{
 	width: 750rpx;
-	height: 80rpx;
-	line-height: 80rpx;
+	height: 180rpx;
+	line-height:220rpx;
 	text-align: center;
 	font-weight: bold;
 	font-size: 38rpx;