diff --git a/jsFile/requst.js b/jsFile/requst.js index 495f9b1..1dfc909 100644 --- a/jsFile/requst.js +++ b/jsFile/requst.js @@ -105,6 +105,7 @@ const request = (method, url, options) => { // 上传文件 封装请求 const uploadFile = (url, options) => { let tempData = options || {} + return new Promise((resolve, reject) => { uni.uploadFile({ url: `${uni.getStorageSync('hostapi')}${url}`, diff --git a/pages.json b/pages.json index a952d48..45906c3 100644 --- a/pages.json +++ b/pages.json @@ -88,7 +88,7 @@ "path": "pages/project/details", "style": { "navigationBarTitleText": "", - "navigationStyle": "custom" //禁用原生导航栏,微信小程序可用 + "navigationStyle": "custom" //禁用原生导航栏,微信小程序可用 } }, @@ -105,43 +105,110 @@ "path": "pages/feedback/feedback", "style": { "navigationBarTitleText": "", - "navigationStyle": "custom", //禁用原生导航栏,微信小程序可用 + "navigationStyle": "custom", //禁用原生导航栏,微信小程序可用 + "enablePullDownRefresh": false + } + + }, { + "path": "pages/workOrder/workOrder", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", //禁用原 + "enablePullDownRefresh": false + } + + }, { + "path": "pages/workOrder/workorderTwo", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", //禁用原生导航栏,微信小程序可用 + "enablePullDownRefresh": false + } + + }, { + "path": "pages/workOrder/workOrderLlsit", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom", //禁用原生导航栏,微信小程序可用 + "enablePullDownRefresh": false + } + + }, { + "path": "pages/workOrder/workOrderThree", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/workOrder/details", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/workOrder/payReturnVisit", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/peopleManagement/peopleManagement", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/mountingsList/mountingsList", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/appreciationServe/appreciationServe", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/dataQuery/dataQuery", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/dataQuery/client", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, + { + "path" : "pages/dataQuery/details", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, + + { + "path": "pages/workOrder/pay-return-visit", + "style": { + "navigationBarTitleText": "", "enablePullDownRefresh": false } } ,{ - "path" : "pages/workOrder/workOrder", - "style" : - { - "navigationBarTitleText": "", - "navigationStyle": "custom", //禁用原 - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/workOrder/workorderTwo", - "style" : - { - "navigationBarTitleText": "", - "navigationStyle": "custom", //禁用原生导航栏,微信小程序可用 - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/workOrder/workOrderLlsit", - "style" : - { - "navigationBarTitleText": "", - "navigationStyle": "custom", //禁用原生导航栏,微信小程序可用 - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/workOrder/workOrderThree", + "path" : "pages/dataQuery/projectQuery", "style" : { "navigationBarTitleText": "", @@ -150,7 +217,7 @@ } ,{ - "path" : "pages/workOrder/details", + "path" : "pages/dataQuery/projectDetails", "style" : { "navigationBarTitleText": "", @@ -159,7 +226,7 @@ } ,{ - "path" : "pages/workOrder/pay-return-visit", + "path" : "pages/dataQuery/queryFunction", "style" : { "navigationBarTitleText": "", @@ -260,12 +327,12 @@ "globalStyle": { "navigationBarTextStyle": "black", "navigationBarBackgroundColor": "#FFFFFF", //导航栏背景色 - "backgroundColor": "#FFFFFF" ,//窗口背景色 - "navigationStyle": "custom" ,//禁用原生导航栏,微信小程序可用 - "app-plus": { - "titleNView": false, //禁用原生导航栏,APP和H5可用 - "bounce": "none", - "scrollIndicator": "none" - } + "backgroundColor": "#FFFFFF", //窗口背景色 + "navigationStyle": "custom", //禁用原生导航栏,微信小程序可用 + "app-plus": { + "titleNView": false, //禁用原生导航栏,APP和H5可用 + "bounce": "none", + "scrollIndicator": "none" + } } } diff --git a/pages/appreciationServe/appreciationServe.vue b/pages/appreciationServe/appreciationServe.vue new file mode 100644 index 0000000..b22d2e3 --- /dev/null +++ b/pages/appreciationServe/appreciationServe.vue @@ -0,0 +1,284 @@ +