From 4413242ae9df740932e8fc5d39bd316f316c3d19 Mon Sep 17 00:00:00 2001 From: dingtalk_umvbsp Date: Tue, 31 Jan 2023 11:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=94=E8=B0=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/request.js | 22 +- pages/massif/mana/index.vue | 5 +- pages/massif/mana/plantPlan.vue | 222 +++++++++--------- pages/massif/mana/recovery.vue | 24 +- pages/massif/plant_info.vue | 2 +- pages/purchase/agrProdList.vue | 13 +- pages/purchase/apply.vue | 67 ++++-- pages/purchase/newSpecs.vue | 81 ++++++- pages/purchase/specs.vue | 148 ++++++++++-- uni_modules/d-picker/changelog.md | 0 .../d-picker/components/d-picker/d-picker.vue | 106 +++++++++ uni_modules/d-picker/package.json | 81 +++++++ uni_modules/d-picker/readme.md | 1 + 13 files changed, 593 insertions(+), 179 deletions(-) create mode 100644 uni_modules/d-picker/changelog.md create mode 100644 uni_modules/d-picker/components/d-picker/d-picker.vue create mode 100644 uni_modules/d-picker/package.json create mode 100644 uni_modules/d-picker/readme.md diff --git a/common/request.js b/common/request.js index 7b99414..1e9fce5 100644 --- a/common/request.js +++ b/common/request.js @@ -1,14 +1,24 @@ import store from "@/store" export function host(host='default',suffix='/plant_manage'){ - return( - process.env.NODE_ENV === 'development'?{ - default:`http://xvff42.natappfree.cc${suffix}` //陈 - // default:`http://6h8nxd.natappfree.cc${suffix}` //马 + var url=process.env.NODE_ENV === 'development'?{ + default:`http://2uktvr.natappfree.cc` //陈 + // default:`http://6h8nxd.natappfree.cc` //马 }:{ - default:`http://qv6mj8.natappfree.cc${suffix}` + default:`http://qv6mj8.natappfree.cc` } - )[host] + return ({ + default:`${url.default}${suffix}`, + imgUrl:`${url.default}/plant_manage/sys/common/static` + })[host] + // return( + // process.env.NODE_ENV === 'development'?{ + // default:`http://10.0.0.217${suffix}` //陈 + // // default:`http://6h8nxd.natappfree.cc${suffix}` //马 + // }:{ + // default:`http://qv6mj8.natappfree.cc${suffix}` + // } + // )[host] } diff --git a/pages/massif/mana/index.vue b/pages/massif/mana/index.vue index d6e1110..0485452 100644 --- a/pages/massif/mana/index.vue +++ b/pages/massif/mana/index.vue @@ -27,13 +27,13 @@ - + - + @@ -53,7 +53,6 @@ export default { {name:"采收记录",}, ], plotId:"", - plantId:"", } }, onLoad(options){ diff --git a/pages/massif/mana/plantPlan.vue b/pages/massif/mana/plantPlan.vue index 82c2563..5462c6a 100644 --- a/pages/massif/mana/plantPlan.vue +++ b/pages/massif/mana/plantPlan.vue @@ -1,124 +1,137 @@ \ No newline at end of file diff --git a/uni_modules/d-picker/changelog.md b/uni_modules/d-picker/changelog.md new file mode 100644 index 0000000..e69de29 diff --git a/uni_modules/d-picker/components/d-picker/d-picker.vue b/uni_modules/d-picker/components/d-picker/d-picker.vue new file mode 100644 index 0000000..4de6d36 --- /dev/null +++ b/uni_modules/d-picker/components/d-picker/d-picker.vue @@ -0,0 +1,106 @@ + + + diff --git a/uni_modules/d-picker/package.json b/uni_modules/d-picker/package.json new file mode 100644 index 0000000..e40c6ef --- /dev/null +++ b/uni_modules/d-picker/package.json @@ -0,0 +1,81 @@ +{ + "id": "d-picker", + "displayName": "d-picker", + "version": "1.0.0", + "description": "d-picker", + "keywords": [ + "d-picker" +], + "repository": "", + "engines": { + "HBuilderX": "^3.1.0" + }, + "dcloudext": { + "type": "component-vue", + "sale": { + "regular": { + "price": "0.00" + }, + "sourcecode": { + "price": "0.00" + } + }, + "contact": { + "qq": "" + }, + "declaration": { + "ads": "", + "data": "", + "permissions": "" + }, + "npmurl": "" + }, + "uni_modules": { + "dependencies": [], + "encrypt": [], + "platforms": { + "cloud": { + "tcb": "u", + "aliyun": "u" + }, + "client": { + "Vue": { + "vue2": "u", + "vue3": "u" + }, + "App": { + "app-vue": "u", + "app-nvue": "u" + }, + "H5-mobile": { + "Safari": "u", + "Android Browser": "u", + "微信浏览器(Android)": "u", + "QQ浏览器(Android)": "u" + }, + "H5-pc": { + "Chrome": "u", + "IE": "u", + "Edge": "u", + "Firefox": "u", + "Safari": "u" + }, + "小程序": { + "微信": "u", + "阿里": "u", + "百度": "u", + "字节跳动": "u", + "QQ": "u", + "钉钉": "u", + "快手": "u", + "飞书": "u", + "京东": "u" + }, + "快应用": { + "华为": "u", + "联盟": "u" + } + } + } + } +} \ No newline at end of file diff --git a/uni_modules/d-picker/readme.md b/uni_modules/d-picker/readme.md new file mode 100644 index 0000000..48f3e97 --- /dev/null +++ b/uni_modules/d-picker/readme.md @@ -0,0 +1 @@ +# d-picker \ No newline at end of file