diff --git a/App.vue b/App.vue
index e86fe3e..6bb7e7c 100644
--- a/App.vue
+++ b/App.vue
@@ -17,7 +17,7 @@ export default {
diff --git a/api/tree.js b/api/tree.js
new file mode 100644
index 0000000..ad02539
--- /dev/null
+++ b/api/tree.js
@@ -0,0 +1,31 @@
+
+
+import request from '@/utils/request'
+
+// 权属分类
+export const treeOwnership = (params) => request.get('/system/dict/data/type/tree_ownership', params)
+
+// 新增树
+export const addTree = (params) => request.post('/business/tree', params)
+
+// 树基本详情
+export const treeDetailReq = (params) => request.get('/business/tree/'+params )
+
+
+// 归属公司
+export const belongCompanyreq = (params) => request.get('/system/dict/data/type/belongCompanyId', params)
+
+
+// 班组集合
+export const deptListReq = (params) => request.get('/business/tree/dept/list', params)
+
+// 道路树木列表
+export const treeRoadReq = (params) => request.get('/business/tree/road/list', params)
+
+// 分类
+export const treeLevelReq = (params) => request.get('/system/dict/data/type/tree_level', params)
+
+
+
+// 获取道路数据列表(根据街道id)
+export const apiRoadListByStreetId = (params) => request.get('/road/manager/queryRoadListByStreetId', params)
diff --git a/config/app.js b/config/app.js
index 6ce8946..ef0fac8 100644
--- a/config/app.js
+++ b/config/app.js
@@ -17,7 +17,9 @@ const baseURLMap = {
// 开发环境
development: 'https://test.jichengshanshui.com.cn:28303',
// 生产环境
- production: IS_H5 ? location.origin : 'http://125.35.93.94:8986'
+ // production: IS_H5 ? location.origin : 'http://125.35.93.94:8986'
+ // 生产环境
+ production: IS_H5 ? location.origin : 'https://test.jichengshanshui.com.cn:28303'
}
/** E API BaseURL **/
diff --git a/manifest.json b/manifest.json
index 556540b..b88ca39 100644
--- a/manifest.json
+++ b/manifest.json
@@ -112,7 +112,7 @@
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
- "appid" : "wx64368a9b9e799172",
+ "appid" : "wxcb4cd34066b97d82",
"setting" : {
"urlCheck" : false
},
diff --git a/subPackages/treePage/addTree.vue b/subPackages/treePage/addTree.vue
index 79db9da..68ea503 100644
--- a/subPackages/treePage/addTree.vue
+++ b/subPackages/treePage/addTree.vue
@@ -42,9 +42,35 @@
-
-
+
+
+ {{ formData.latitude }}
+
+
+
+
+ {{ formData.longitude }}
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
+ >
+
+
+
-
+
@@ -101,7 +125,7 @@
-
+
@@ -176,46 +200,71 @@
提交
-
+
+
+
+
@@ -22,13 +66,27 @@ export default {
padding-bottom: 120rpx;
}
.record-list-wrap{
- height: 200rpx;
+ height: 130px;
margin: 20rpx 20rpx 0 20rpx;
padding: 20rpx;
box-shadow: 0 1rpx 2rpx 5rpx rgb(0, 0, 0, .3);
border-radius: 10rpx;
+ display: flex;
+}
+.record-list-left{
+ height: 100px;
+ width: 100px;
+ background-size: 100% 100%;
+}
+.record-list-right{
+ height: 140px;
+ margin-left: 20px;
+ flex:1
+}
+.record-list-right-title{
+ display: flex;
+ justify-content: space-between;
}
-
.addTree{
width: 100%;
position: fixed;