From cbf790c9353a7c12b74b030970100b9f92831318 Mon Sep 17 00:00:00 2001 From: xusd Date: Wed, 5 Jun 2024 16:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E7=82=B9=E5=B7=A1=E6=A3=80=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/patrol/patrol.js | 35 + manifest.json | 8 +- pages.json | 14 + pages/index.vue | 54 +- pages/work/patrol/detailsPatrol.vue | 251 +++ pages/work/patrol/listPatrol.vue | 165 ++ uni_modules/mp-html/README.md | 194 +++ uni_modules/mp-html/changelog.md | 150 ++ .../mp-html/components/mp-html/mp-html.vue | 498 ++++++ .../mp-html/components/mp-html/node/node.vue | 587 +++++++ .../mp-html/components/mp-html/parser.js | 1393 +++++++++++++++++ uni_modules/mp-html/package.json | 76 + .../static/app-plus/mp-html/js/handler.js | 1 + .../app-plus/mp-html/js/uni.webview.min.js | 1 + .../static/app-plus/mp-html/local.html | 1 + uni_modules/nb-voice-record/changelog.md | 34 + .../nb-voice-record/nb-voice-record.vue | 423 +++++ .../js_sdk/wa-permission/permission.js | 272 ++++ uni_modules/nb-voice-record/package.json | 81 + uni_modules/nb-voice-record/readme.md | 86 + 20 files changed, 4313 insertions(+), 11 deletions(-) create mode 100644 api/patrol/patrol.js create mode 100644 pages/work/patrol/detailsPatrol.vue create mode 100644 pages/work/patrol/listPatrol.vue create mode 100644 uni_modules/mp-html/README.md create mode 100644 uni_modules/mp-html/changelog.md create mode 100644 uni_modules/mp-html/components/mp-html/mp-html.vue create mode 100644 uni_modules/mp-html/components/mp-html/node/node.vue create mode 100644 uni_modules/mp-html/components/mp-html/parser.js create mode 100644 uni_modules/mp-html/package.json create mode 100644 uni_modules/mp-html/static/app-plus/mp-html/js/handler.js create mode 100644 uni_modules/mp-html/static/app-plus/mp-html/js/uni.webview.min.js create mode 100644 uni_modules/mp-html/static/app-plus/mp-html/local.html create mode 100644 uni_modules/nb-voice-record/changelog.md create mode 100644 uni_modules/nb-voice-record/components/nb-voice-record/nb-voice-record.vue create mode 100644 uni_modules/nb-voice-record/js_sdk/wa-permission/permission.js create mode 100644 uni_modules/nb-voice-record/package.json create mode 100644 uni_modules/nb-voice-record/readme.md diff --git a/api/patrol/patrol.js b/api/patrol/patrol.js new file mode 100644 index 0000000..f13dd73 --- /dev/null +++ b/api/patrol/patrol.js @@ -0,0 +1,35 @@ +import request from "@/utils/request"; + +//查询待巡检条数 +export function getPatrolCount() { + return request({ + url: "/patrol/task/patrolCount", + method: "get" + }); +} + +//查询待巡检列表 +export function listPatrol(query) { + return request({ + url: "/patrol/task/list", + method: "get", + params: query, + }); +} + +//查询待巡检详情 +export function getPatrolDetailsById(id) { + return request({ + url: "/patrol/task/" + id, + method: "get", + }); +} + +// 新增巡检任务报告 +export function addTaskReport(data) { + return request({ + url: "/patrol/task/report", + method: "post", + data: data, + }); +} diff --git a/manifest.json b/manifest.json index 2619602..b836afb 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "ipc_app", "appid" : "__UNI__B298C37", "description" : "", - "versionName" : "1.1.3", - "versionCode" : 103, + "versionName" : "1.1.4", + "versionCode" : 104, "transformPx" : false, "app-plus" : { "usingComponents" : true, @@ -15,7 +15,9 @@ "delay" : 0 }, "modules" : { - "Push" : {} + "Push" : {}, + "Camera" : {}, + "Record" : {} }, "distribute" : { "android" : { diff --git a/pages.json b/pages.json index c101fc7..2290746 100644 --- a/pages.json +++ b/pages.json @@ -143,6 +143,20 @@ { "navigationBarTitleText" : "报废详情" } + }, + { + "path" : "pages/work/patrol/listPatrol", + "style" : + { + "navigationBarTitleText" : "巡检任务" + } + }, + { + "path" : "pages/work/patrol/detailsPatrol", + "style" : + { + "navigationBarTitleText" : "巡检详情" + } }], "tabBar": { "color": "#000000", diff --git a/pages/index.vue b/pages/index.vue index d7b2586..4d97705 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,5 +1,27 @@