From 55774409044e7c0f82d034bf4cd92c8f523a0763 Mon Sep 17 00:00:00 2001 From: lion <120344285@qq.com> Date: Thu, 14 Jul 2022 13:25:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=93=E8=B7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 19 ++-- role/role/role.vue | 278 +++++++++++++++++++++++++++++++++++++++++++++ utils/util.js | 7 +- 3 files changed, 295 insertions(+), 9 deletions(-) create mode 100644 role/role/role.vue diff --git a/pages.json b/pages.json index 2ca0ac5..7504e28 100644 --- a/pages.json +++ b/pages.json @@ -22,7 +22,6 @@ "autoBackButton":false, "buttons": [ { - "text": "123", "float": "left", "type": "home" } @@ -38,7 +37,16 @@ } } - ], + ,{ + "path" : "role/role/role", + "style" : + { + "navigationBarTitleText": "选择道路", + "enablePullDownRefresh": false + } + + } + ], "subPackages": [{ "root": "packageA/pages", "pages": [{ @@ -77,16 +85,13 @@ "path": "dailyList/dailyList", "style": { "navigationBarTitleText": "日常监管巡查", - "enablePullDownRefresh": true, - "navigationStyle": "custom", - "disableScroll": true + "enablePullDownRefresh": true } },{ "path": "dailyInfo/dailyInfo", "style": { "navigationBarTitleText": "日常监管巡查", - "enablePullDownRefresh": false, - "disableScroll": true + "enablePullDownRefresh": false } }] diff --git a/role/role/role.vue b/role/role/role.vue new file mode 100644 index 0000000..0fc7f0e --- /dev/null +++ b/role/role/role.vue @@ -0,0 +1,278 @@ + + + + + + + diff --git a/utils/util.js b/utils/util.js index 8674648..ea8422a 100755 --- a/utils/util.js +++ b/utils/util.js @@ -203,8 +203,11 @@ const request = options => { options.utilFail(res.data.errmsg); } } else { - if (options.utilSuccess != undefined) { - options.utilSuccess(res.data); + if (options.utilSuccess != undefined) { + console.log(res) + options.utilSuccess(res.data); + + } } }