linyanfei 3 年之前
父节点
当前提交
b9a70ae3da

+ 152 - 144
shanXiPlatform/src/api/app-versions/app-json.json

@@ -1,148 +1,156 @@
1 1
 {
2 2
   "info": [
3
-      {
4
-          "versionName": "1.19",
5
-          "versionCode": 19,
6
-          "content": " · 修复已知bug",
7
-          "fileName": "sxzcl_release_1.19_19.apk",
8
-          "must": false,
9
-          "time": "2020-01-14"
10
-      },
11
-      {
12
-          "versionName": "1.18",
13
-          "versionCode": 18,
14
-          "content": " · 优化通知内容\n · 优化饼图颜色",
15
-          "fileName": "sxzcl_release_1.18_18.apk",
16
-          "must": true,
17
-          "time": "2020-01-13"
18
-      },
19
-      {
20
-          "versionName": "1.17",
21
-          "versionCode": 17,
22
-          "content": " · 取消转场动画\n · 优化饼图百分比计算",
23
-          "fileName": "sxzcl_release_1.17_17.apk",
24
-          "must": true,
25
-          "time": "2020-01-12"
26
-      },
27
-      {
28
-          "versionName": "1.16",
29
-          "versionCode": 16,
30
-          "content": " · 增加版本信息页\n · 增加版本记录页\n · 修复饼图百分比\n · 修复切换账号信息不刷新的问题",
31
-          "fileName": "sxzcl_release_1.16_16.apk",
32
-          "must": true,
33
-          "time": "2020-01-12"
34
-      },
35
-      {
36
-          "versionName": "1.15",
37
-          "versionCode": 15,
38
-          "content": " · 新的版本更新逻辑及UI\n · 修改统计图的颜色\n · 修改饼图百分比为小数点后两位\n · 粮情检查根据角色自动切换页面",
39
-          "fileName": "sxzcl_release_1.15_15.apk",
40
-          "must": true,
41
-          "time": "2020-01-11"
42
-      },
43
-      {
44
-          "versionName": "1.14",
45
-          "versionCode": 14,
46
-          "content": " · 增加列表页的动画\n · 新版工作台\n · 修复粮情检查待办bug\n · 处理粮情检查待办逻辑优化\n · 增加饼图颜色\n · 修改版本更新时机",
47
-          "fileName": "sxzcl_release_1.14_14.apk",
48
-          "must": true,
49
-          "time": "2020-01-07"
50
-      },
51
-      {
52
-          "versionName": "1.13",
53
-          "versionCode": 13,
54
-          "content": " · 优化文本\n · 修复公告闪退\n · 不显示没有人员的部门\n · 作业页面对登录人进行权限控制\n · 待办中增加粮情检查\n · 粮情检查中处理待办",
55
-          "fileName": "sxzcl_release_1.13_13.apk",
56
-          "must": true,
57
-          "time": "2020-01-06"
58
-      },
59
-      {
60
-          "versionName": "1.12",
61
-          "versionCode": 12,
62
-          "content": " · 增加公告阅读状态修改\n · 增加通知阅读状态修改",
63
-          "fileName": "sxzcl_release_1.12_12.apk",
64
-          "must": true,
65
-          "time": "2020-12-31"
66
-      },
67
-      {
68
-          "versionName": "1.11",
69
-          "versionCode": 11,
70
-          "content": " · 机械通风控制角色关系\n · 优化公告时间显示\n · 优化人员结构增加头像和职位展示\n · 粮情检查控制角色关系\n · 异常退出增加弹出框提示\n · 登录人只能选择自己所管理的仓房\n · 机械通风详情可直接跳转待办\n · 优化未选择库时作业页面弹出框时机\n · 饼图数值由小数改为整数",
71
-          "fileName": "sxzcl_release_1.11_11.apk",
72
-          "must": true,
73
-          "time": "2020-12-30"
74
-      },
75
-      {
76
-          "versionName": "1.9",
77
-          "versionCode": 9,
78
-          "content": " · 修改基类逻辑\n · 增加机械通风页标题切换仓房\n · 增加粮情检查页标题切换仓房\n · 待办和机械通风字段修改\n · 机械通风非本人查看时只显示已填流程",
79
-          "fileName": "sxzcl_release_1.9_9.apk",
80
-          "must": true,
81
-          "time": "2020-12-29"
82
-      },
83
-      {
84
-          "versionName": "1.8",
85
-          "versionCode": 8,
86
-          "content": " · 修改等待框\n · 输入密码点击完成可直接登录\n · 退出登录时增加提醒\n · 修改饼状图文字大小及颜色\n · 首页后退时增加退出确认\n · 审批流程增加状态图标",
87
-          "fileName": "sxzcl_release_1.8_8.apk",
88
-          "must": true,
89
-          "time": "2020-12-29"
90
-      },
91
-      {
92
-          "versionName": "1.7",
93
-          "versionCode": 7,
94
-          "content": " · 修改作业图标\n · 登录增加历史回显",
95
-          "fileName": "sxzcl_release_1.7_7.apk",
96
-          "must": false,
97
-          "time": "2020-12-28"
98
-      },
99
-      {
100
-          "versionName": "1.6",
101
-          "versionCode": 6,
102
-          "content": " · 优化库信息统计图\n · 优化员信息UI\n · 优化公告页面UI\n · 机械通风增加无审批人提示\n · 优化选企业逻辑\n · 修改头像刷新页面",
103
-          "fileName": "sxzcl_release_1.6_6.apk",
104
-          "must": true,
105
-          "time": "2020-12-28"
106
-      },
107
-      {
108
-          "versionName": "1.5",
109
-          "versionCode": 5,
110
-          "content": " · 作业功能修改图标\n · 增加公告列表与详情\n · 增加修改头像功能",
111
-          "fileName": "sxzcl_release_1.5_5.apk",
112
-          "must": true,
113
-          "time": "2020-12-27"
114
-      },
115
-      {
116
-          "versionName": "1.4",
117
-          "versionCode": 4,
118
-          "content": " · 修改桌面图标、页面字体、颜色样式等\n · 修改登录页\n · 等待动画调整\n · 修改部分bug\n · 完善仓房信息\n · 完善保管员信息\n · 解决登录bug",
119
-          "fileName": "sxzcl_release_1.4_4.apk",
120
-          "must": false,
121
-          "time": "2020-12-26"
122
-      },
123
-      {
124
-          "versionName": "1.3",
125
-          "versionCode": 3,
126
-          "content": " · 增加版本控制",
127
-          "fileName": "sxzcl_release_1.3_3.apk",
128
-          "must": true,
129
-          "time": "2020-12-24"
130
-      },
131
-      {
132
-          "versionName": "1.2",
133
-          "versionCode": 2,
134
-          "content": " · 优化功能\n · 修复bug",
135
-          "fileName": "sxzcl_release_1.2_2.apk",
136
-          "must": false,
137
-          "time": "2020-12-20"
138
-      },
139
-      {
140
-          "versionName": "1.0",
141
-          "versionCode": 1,
142
-          "content": " · 发布第一版",
143
-          "fileName": "sxzcl_release_1.0_1.apk",
144
-          "must": false,
145
-          "time": "2020-12-12"
146
-      }
3
+    {
4
+      "versionName": "1.20",
5
+      "versionCode": 20,
6
+      "content": " · 增加登录历史\n · 增加药剂采购\n · 增加药剂领用\n · 增加药剂采购\n · 增加库存管理\n · 增加出库质量管理\n · 增加政策制度\n · 修改功能列表UI\n · 增加权限控制\n · 增加接收推送",
7
+      "fileName": "sxzcl_release_1.20_20.apk",
8
+      "must": true,
9
+      "time": "2020-02-08"
10
+    },
11
+    {
12
+      "versionName": "1.19",
13
+      "versionCode": 19,
14
+      "content": " · 修复已知bug",
15
+      "fileName": "sxzcl_release_1.19_19.apk",
16
+      "must": false,
17
+      "time": "2020-01-14"
18
+    },
19
+    {
20
+      "versionName": "1.18",
21
+      "versionCode": 18,
22
+      "content": " · 优化通知内容\n · 优化饼图颜色",
23
+      "fileName": "sxzcl_release_1.18_18.apk",
24
+      "must": true,
25
+      "time": "2020-01-13"
26
+    },
27
+    {
28
+      "versionName": "1.17",
29
+      "versionCode": 17,
30
+      "content": " · 取消转场动画\n · 优化饼图百分比计算",
31
+      "fileName": "sxzcl_release_1.17_17.apk",
32
+      "must": true,
33
+      "time": "2020-01-12"
34
+    },
35
+    {
36
+      "versionName": "1.16",
37
+      "versionCode": 16,
38
+      "content": " · 增加版本信息页\n · 增加版本记录页\n · 修复饼图百分比\n · 修复切换账号信息不刷新的问题",
39
+      "fileName": "sxzcl_release_1.16_16.apk",
40
+      "must": true,
41
+      "time": "2020-01-12"
42
+    },
43
+    {
44
+      "versionName": "1.15",
45
+      "versionCode": 15,
46
+      "content": " · 新的版本更新逻辑及UI\n · 修改统计图的颜色\n · 修改饼图百分比为小数点后两位\n · 粮情检查根据角色自动切换页面",
47
+      "fileName": "sxzcl_release_1.15_15.apk",
48
+      "must": true,
49
+      "time": "2020-01-11"
50
+    },
51
+    {
52
+      "versionName": "1.14",
53
+      "versionCode": 14,
54
+      "content": " · 增加列表页的动画\n · 新版工作台\n · 修复粮情检查待办bug\n · 处理粮情检查待办逻辑优化\n · 增加饼图颜色\n · 修改版本更新时机",
55
+      "fileName": "sxzcl_release_1.14_14.apk",
56
+      "must": true,
57
+      "time": "2020-01-07"
58
+    },
59
+    {
60
+      "versionName": "1.13",
61
+      "versionCode": 13,
62
+      "content": " · 优化文本\n · 修复公告闪退\n · 不显示没有人员的部门\n · 作业页面对登录人进行权限控制\n · 待办中增加粮情检查\n · 粮情检查中处理待办",
63
+      "fileName": "sxzcl_release_1.13_13.apk",
64
+      "must": true,
65
+      "time": "2020-01-06"
66
+    },
67
+    {
68
+      "versionName": "1.12",
69
+      "versionCode": 12,
70
+      "content": " · 增加公告阅读状态修改\n · 增加通知阅读状态修改",
71
+      "fileName": "sxzcl_release_1.12_12.apk",
72
+      "must": true,
73
+      "time": "2020-12-31"
74
+    },
75
+    {
76
+      "versionName": "1.11",
77
+      "versionCode": 11,
78
+      "content": " · 机械通风控制角色关系\n · 优化公告时间显示\n · 优化人员结构增加头像和职位展示\n · 粮情检查控制角色关系\n · 异常退出增加弹出框提示\n · 登录人只能选择自己所管理的仓房\n · 机械通风详情可直接跳转待办\n · 优化未选择库时作业页面弹出框时机\n · 饼图数值由小数改为整数",
79
+      "fileName": "sxzcl_release_1.11_11.apk",
80
+      "must": true,
81
+      "time": "2020-12-30"
82
+    },
83
+    {
84
+      "versionName": "1.9",
85
+      "versionCode": 9,
86
+      "content": " · 修改基类逻辑\n · 增加机械通风页标题切换仓房\n · 增加粮情检查页标题切换仓房\n · 待办和机械通风字段修改\n · 机械通风非本人查看时只显示已填流程",
87
+      "fileName": "sxzcl_release_1.9_9.apk",
88
+      "must": true,
89
+      "time": "2020-12-29"
90
+    },
91
+    {
92
+      "versionName": "1.8",
93
+      "versionCode": 8,
94
+      "content": " · 修改等待框\n · 输入密码点击完成可直接登录\n · 退出登录时增加提醒\n · 修改饼状图文字大小及颜色\n · 首页后退时增加退出确认\n · 审批流程增加状态图标",
95
+      "fileName": "sxzcl_release_1.8_8.apk",
96
+      "must": true,
97
+      "time": "2020-12-29"
98
+    },
99
+    {
100
+      "versionName": "1.7",
101
+      "versionCode": 7,
102
+      "content": " · 修改作业图标\n · 登录增加历史回显",
103
+      "fileName": "sxzcl_release_1.7_7.apk",
104
+      "must": false,
105
+      "time": "2020-12-28"
106
+    },
107
+    {
108
+      "versionName": "1.6",
109
+      "versionCode": 6,
110
+      "content": " · 优化库信息统计图\n · 优化员信息UI\n · 优化公告页面UI\n · 机械通风增加无审批人提示\n · 优化选企业逻辑\n · 修改头像刷新页面",
111
+      "fileName": "sxzcl_release_1.6_6.apk",
112
+      "must": true,
113
+      "time": "2020-12-28"
114
+    },
115
+    {
116
+      "versionName": "1.5",
117
+      "versionCode": 5,
118
+      "content": " · 作业功能修改图标\n · 增加公告列表与详情\n · 增加修改头像功能",
119
+      "fileName": "sxzcl_release_1.5_5.apk",
120
+      "must": true,
121
+      "time": "2020-12-27"
122
+    },
123
+    {
124
+      "versionName": "1.4",
125
+      "versionCode": 4,
126
+      "content": " · 修改桌面图标、页面字体、颜色样式等\n · 修改登录页\n · 等待动画调整\n · 修改部分bug\n · 完善仓房信息\n · 完善保管员信息\n · 解决登录bug",
127
+      "fileName": "sxzcl_release_1.4_4.apk",
128
+      "must": false,
129
+      "time": "2020-12-26"
130
+    },
131
+    {
132
+      "versionName": "1.3",
133
+      "versionCode": 3,
134
+      "content": " · 增加版本控制",
135
+      "fileName": "sxzcl_release_1.3_3.apk",
136
+      "must": true,
137
+      "time": "2020-12-24"
138
+    },
139
+    {
140
+      "versionName": "1.2",
141
+      "versionCode": 2,
142
+      "content": " · 优化功能\n · 修复bug",
143
+      "fileName": "sxzcl_release_1.2_2.apk",
144
+      "must": false,
145
+      "time": "2020-12-20"
146
+    },
147
+    {
148
+      "versionName": "1.0",
149
+      "versionCode": 1,
150
+      "content": " · 发布第一版",
151
+      "fileName": "sxzcl_release_1.0_1.apk",
152
+      "must": false,
153
+      "time": "2020-12-12"
154
+    }
147 155
   ]
148 156
 }

二进制
shanXiPlatform/src/assets/images/QRcode.png


+ 11 - 0
shanXiPlatform/src/icons/svg/sheshi.svg

@@ -0,0 +1,11 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Generator: Adobe Illustrator 22.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
+<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+	 viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve">
5
+<path d="M20,12.7v-2.2l-1.7-0.3c-0.1-0.2-0.2-0.4-0.2-0.6l1-1.4l-1.6-1.6l-1.4,1c-0.2-0.1-0.4-0.2-0.6-0.3l-0.3-1.7H13l-0.3,1.7
6
+	c-0.2,0.1-0.4,0.2-0.6,0.3l-1.4-1L9.2,8.2l1,1.4C10.1,9.8,10,10,9.9,10.2l-1.7,0.3v2.2l1.7,0.3c0.1,0.2,0.2,0.4,0.2,0.6l-1,1.4
7
+	l1.6,1.6l1.4-1c0.2,0.1,0.4,0.2,0.6,0.2l0.3,1.7h2.2l0.3-1.7c0.2-0.1,0.4-0.1,0.6-0.2l1.4,1l1.6-1.6l-1-1.4c0.1-0.2,0.2-0.4,0.2-0.6
8
+	L20,12.7L20,12.7z M14.1,13.3c-1,0-1.8-0.8-1.8-1.8c0-1,0.8-1.8,1.8-1.8c1,0,1.8,0.8,1.8,1.8C15.9,12.5,15.1,13.3,14.1,13.3z"/>
9
+<path d="M1.4,3.7h16.2v1.1l1.4,1.4V1.2c0-0.7-0.6-1.2-1.2-1.2H1.2C0.6,0,0,0.6,0,1.2v15c0,0.7,0.6,1.2,1.2,1.2H9L7.5,16H1.4V3.7z"/>
10
+<path d="M3,6.2h5.6v1.3H3L3,6.2L3,6.2z M3,8.7h3.8V10H3C3,10,3,8.7,3,8.7z M3,11.2h3.8v1.3H3V11.2L3,11.2z"/>
11
+</svg>

+ 10 - 0
shanXiPlatform/src/icons/svg/zuzhishu.svg

@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Generator: Adobe Illustrator 22.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
3
+<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+	 viewBox="0 0 20 20" style="enable-background:new 0 0 20 20;" xml:space="preserve">
5
+<path d="M19.3,12.1h-1.6V8.3c0-0.2-0.2-0.4-0.4-0.4h0l-6.8,0V6.1H14c0.4,0,0.7-0.3,0.7-0.7V0.7C14.7,0.3,14.4,0,14,0H6
6
+	C5.6,0,5.3,0.3,5.3,0.7v4.8c0,0.4,0.3,0.7,0.7,0.7h3.5v1.7l-6.8,0C2.4,7.8,2.3,8,2.3,8.2c0,0,0,0,0,0v0.2c0,0,0,0,0,0v3.6H0.7
7
+	c-0.4,0-0.7,0.3-0.7,0.7v2.8c0,0.4,0.3,0.7,0.7,0.7h4.2c0.4,0,0.7-0.3,0.7-0.7v-2.8c0-0.4-0.3-0.7-0.7-0.7H3.3V8.8l6.3,0v3.3H7.9
8
+	c-0.4,0-0.7,0.3-0.7,0.7v2.8c0,0.4,0.3,0.7,0.7,0.7h4.2c0.4,0,0.7-0.3,0.7-0.7v-2.8c0-0.4-0.3-0.7-0.7-0.7h-1.6V8.8l6.3,0v3.3h-1.6
9
+	c-0.4,0-0.7,0.3-0.7,0.7v2.8c0,0.4,0.3,0.7,0.7,0.7h4.2c0.4,0,0.7-0.3,0.7-0.7v-2.8C20,12.4,19.7,12.1,19.3,12.1L19.3,12.1z"/>
10
+</svg>

+ 3 - 3
shanXiPlatform/src/router/index.js

@@ -834,7 +834,7 @@ export const constantRoutes = [
834 834
       component: Layout,
835 835
       // redirect: '/guide/index',
836 836
       name: 'FacilitiesEquipment',
837
-      meta: { title: '设施设备', icon: 'dashboard',noCache: true, affix: false, relation: 'house', istable: true},
837
+      meta: { title: '设施设备', icon: 'sheshi',noCache: true, affix: false, relation: 'house', istable: true},
838 838
       resourceCode: 242,
839 839
       //  设施设备/设施管理
840 840
       children: [
@@ -1474,8 +1474,8 @@ export const constantRoutes = [
1474 1474
         path: 'treeStructure',
1475 1475
         component: () => import('@/views/systemManagement/tree/treeStructure'),
1476 1476
         name: 'TreeStructure',
1477
-        hidden: false,
1478
-        meta: { title: '组织树', icon: 'dashboard', affix: false, noCache: true, navigation: true },
1477
+        hidden: true,
1478
+        meta: { title: '组织树', icon: 'zuzhishu', affix: false, noCache: true, navigation: true },
1479 1479
         resourceCode:5,
1480 1480
         children: []
1481 1481
       },

+ 8 - 8
shanXiPlatform/src/views/countQuality/delivery/alldeliveryQuality.vue

@@ -3,7 +3,7 @@
3 3
         <div id="mainRight">
4 4
             <div>
5 5
                 <el-form :inline="true">
6
-                      <el-form-item label="检测时间:" label-width="80px">
6
+                    <el-form-item label="检测时间:" label-width="80px">
7 7
                         <el-date-picker @change='timechange' v-model="arrTime" type="daterange" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
8 8
                         </el-date-picker>
9 9
                     </el-form-item>
@@ -38,8 +38,8 @@
38 38
                     </el-table-column>
39 39
                     <el-table-column width='150' property="operation" label="操作" align="center">
40 40
                         <template slot-scope="scope">
41
-                            <el-button size="mini" type="editbtn"  v-if="$tools.IsPermission(178)" @click="editry(scope.$index, scope.row)">修改</el-button>
42
-                            <el-button size="mini" type="dangerbtn"  v-if="$tools.IsPermission(179)" @click="deletery(scope.$index, scope.row)">删除</el-button>
41
+                            <el-button size="mini" type="editbtn" v-if="$tools.IsPermission(178)" @click="editry(scope.$index, scope.row)">修改</el-button>
42
+                            <el-button size="mini" type="dangerbtn" v-if="$tools.IsPermission(179)" @click="deletery(scope.$index, scope.row)">删除</el-button>
43 43
                         </template>
44 44
                     </el-table-column>
45 45
                 </el-table>
@@ -75,7 +75,7 @@ export default {
75 75
             id: "",
76 76
             treeid: "",
77 77
             name: "",
78
-             houseId: this.$store.state.houseId
78
+            houseId: this.$store.state.houseId
79 79
         }
80 80
     },
81 81
     created() {
@@ -126,7 +126,7 @@ export default {
126 126
             this.arrTime = []
127 127
             this.statTime = ""
128 128
             this.endTime = ""
129
-            this.qType= ''
129
+            this.qType = ""
130 130
             // this.pageParam.condition =
131 131
             //     "{depotYpte:1 ,statTime: '" +
132 132
             //     this.statTime +
@@ -153,7 +153,7 @@ export default {
153 153
         handleCurrentChange() {},
154 154
 
155 155
         getList() {
156
-              var condition = {
156
+            var condition = {
157 157
                 depotYpte: 1,
158 158
                 statTime: this.statTime,
159 159
                 endTime: this.endTime,
@@ -200,7 +200,7 @@ export default {
200 200
                 })
201 201
         }
202 202
     },
203
-      computed: {
203
+    computed: {
204 204
         HouseId() {
205 205
             return this.$store.state.houseId
206 206
         }
@@ -210,7 +210,7 @@ export default {
210 210
             this.houseId = val
211 211
             this.getList()
212 212
         }
213
-    },
213
+    }
214 214
 }
215 215
 </script>
216 216
 <style >

+ 2 - 1
shanXiPlatform/src/views/facilitiesEquipment/facilitiesManagement/allFacilities/index.vue

@@ -18,7 +18,8 @@
18 18
                 range-separator="至"
19 19
                 start-placeholder="开始日期"
20 20
                 end-placeholder="结束日期"
21
-                value-format="yyyy-MM-dd"
21
+                :default-time="['00:00:00', '23:59:59']"
22
+                value-format="yyyy-MM-dd HH:mm:ss"
22 23
               >
23 24
               </el-date-picker>
24 25
         </el-form-item>

+ 1 - 1
shanXiPlatform/src/views/facilitiesEquipment/facilitiesManagement/newFacilities/index.vue

@@ -17,7 +17,7 @@
17 17
       </el-table-column>
18 18
       <el-table-column prop="checkTime" label="最近记录时间" align="center">
19 19
         <template slot-scope="scope">
20
-         <span>{{ scope.row.checkTime.slice(0,16) }}</span>
20
+         <span>{{ scope.row.checkTime == null?scope.row.checkTime:scope.row.checkTime.slice(0,16) }}</span>
21 21
         </template>
22 22
       </el-table-column>
23 23
       <el-table-column prop="checkState" label="状态" align="center">

+ 17 - 4
shanXiPlatform/src/views/outsideHouse/Emanage/cInspection.vue

@@ -42,15 +42,12 @@ export default {
42 42
                 pageIndex: 1,
43 43
                 pageSize: 10
44 44
             },
45
-            id: "",
45
+            id: this.$store.state.depotId,
46 46
             treeid: "",
47 47
             name: ""
48 48
         }
49 49
     },
50 50
     created() {
51
-        this.id = JSON.parse(getUser()).depotId
52
-        // this.name = JSON.parse(getUser()).depotName
53
-        this.pageParam.condition = '{mType:0 , depotId:"' + this.id + '"}'
54 51
         this.getList()
55 52
     },
56 53
     methods: {
@@ -72,6 +69,11 @@ export default {
72 69
         },
73 70
         handleCurrentChange() {},
74 71
         getList() {
72
+            var condition = {
73
+                mType: 0,
74
+                depotId: this.id
75
+            }
76
+            this.pageParam.condition = JSON.stringify(condition)
75 77
             getco(this.pageParam).then(res => {
76 78
                 this.personData = res.data.records
77 79
                 this.total = res.data.total
@@ -114,6 +116,17 @@ export default {
114 116
                     console.log(err)
115 117
                 })
116 118
         }
119
+    },
120
+    computed: {
121
+        Id() {
122
+            return this.$store.state.depotId
123
+        }
124
+    },
125
+    watch: {
126
+        Id: function(val) {
127
+            this.id = val
128
+            this.getList()
129
+        }
117 130
     }
118 131
 }
119 132
 </script>

+ 28 - 14
shanXiPlatform/src/views/outsideHouse/Emanage/gInspection.vue

@@ -3,7 +3,7 @@
3 3
         <div id="mainRight">
4 4
             <div>
5 5
                 <el-form :inline="true">
6
-                     <el-form-item label="检查时间:" label-width="80px">
6
+                    <el-form-item label="检查时间:" label-width="80px">
7 7
                         <el-date-picker @change='timechange' v-model="arrTime" type="daterange" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
8 8
                         </el-date-picker>
9 9
                     </el-form-item>
@@ -17,7 +17,7 @@
17 17
                         <el-button type="info" class="iconfont iconclear" plain @click="clear">清空</el-button>
18 18
                         <el-button type="success" icon="el-icon-search" plain @click="search">查询</el-button>
19 19
                     </el-form-item>
20
-                        <el-button type="success" style="float:right;" icon="el-icon-circle-plus" v-if="(this.alternateFieldsOne == 0 || this.alternateFieldsOne == 3 ) && $tools.IsPermission(191)" plain @click="addbtn">新增</el-button>
20
+                    <el-button type="success" style="float:right;" icon="el-icon-circle-plus" v-if="(this.alternateFieldsOne == 0 || this.alternateFieldsOne == 3 ) && $tools.IsPermission(191)" plain @click="addbtn">新增</el-button>
21 21
 
22 22
                 </el-form>
23 23
                 <el-table :header-row-class-name="goodsInfo" :cell-class-name="goodsInfo" border :data="personData" highlight-current-row @current-change="handleCurrentChange" style="width: 100%" :header-cell-style="{ background: '#f8f8f8' }">
@@ -39,9 +39,9 @@
39 39
                     <el-table-column property="mexception" label="异常项" align="center"></el-table-column>
40 40
                     <el-table-column width='230' property="operation" label="操作" align="center">
41 41
                         <template slot-scope="scope">
42
-                            <el-button size="mini" type="detailbtn" @click="detailry(scope.$index, scope.row)"  v-if="$tools.IsPermission(193)" >查看</el-button>
43
-                            <el-button size="mini" type="editbtn" :disabled="alternateFieldsOne != 0 &&  alternateFieldsOne != 3"  v-if="$tools.IsPermission(192)"  @click="editry(scope.$index, scope.row)">修改</el-button>
44
-                            <el-button size="mini" type="dangerbtn" @click="deletery(scope.$index, scope.row)"  v-if="$tools.IsPermission(194)" >删除</el-button>
42
+                            <el-button size="mini" type="detailbtn" @click="detailry(scope.$index, scope.row)" v-if="$tools.IsPermission(193)">查看</el-button>
43
+                            <el-button size="mini" type="editbtn" :disabled="alternateFieldsOne != 0 &&  alternateFieldsOne != 3" v-if="$tools.IsPermission(192)" @click="editry(scope.$index, scope.row)">修改</el-button>
44
+                            <el-button size="mini" type="dangerbtn" @click="deletery(scope.$index, scope.row)" v-if="$tools.IsPermission(194)">删除</el-button>
45 45
                         </template>
46 46
                     </el-table-column>
47 47
                 </el-table>
@@ -72,16 +72,14 @@ export default {
72 72
                 pageIndex: 1,
73 73
                 pageSize: 10
74 74
             },
75
-            id: "",
75
+            id: this.$store.state.depotId,
76 76
             name: "",
77 77
             alternateFieldsOne: ""
78 78
         }
79 79
     },
80 80
     created() {
81
-        this.id = JSON.parse(getUser()).depotId
82 81
         this.name = JSON.parse(getUser()).depotName
83 82
         this.alternateFieldsOne = JSON.parse(getUser()).alternateFieldsOne
84
-        this.pageParam.condition ="{mType:0 , companyId: '" +this.companyId +"' , statTime: '" +this.statTime +"' , endTime:'" +this.endTime +"' , depotId:'" + this.id + "' }"
85 83
         this.getList()
86 84
         getAllname(this.id).then(res => {
87 85
             let obj = {
@@ -98,21 +96,18 @@ export default {
98 96
         })
99 97
     },
100 98
     methods: {
101
-        compselect( val ){
102
-              this.pageParam.condition ="{mType:0 , companyId: '" + val +"' , statTime: '" +this.statTime +"' , endTime:'" +this.endTime +"' , depotId:'" + this.id + "' }"  
99
+        compselect(val) {
100
+            this.companyId = val
103 101
         },
104 102
         timechange(val) {
105 103
             this.statTime = val[0]
106 104
             this.endTime = val[1]
107
-            this.pageParam.condition ="{mType:0 , companyId: '" +this.companyId +"' , statTime: '" +this.statTime +"' , endTime:'" +this.endTime +"' , depotId:'" + this.id + "' }"
108 105
         },
109 106
         clear() {
110 107
             this.arrTime = []
111 108
             this.statTime = ""
112 109
             this.endTime = ""
113
-            this.companyId = ''
114
-            this.pageParam.condition = '{mType:0, depotId:"' + this.id + '"}'
115
-            this.getList()
110
+            this.companyId = ""
116 111
         },
117 112
         goodsInfo(row) {
118 113
             if (row.columnIndex == 4) {
@@ -129,6 +124,14 @@ export default {
129 124
         },
130 125
         handleCurrentChange() {},
131 126
         getList() {
127
+            var condition = {
128
+                mType: 0,
129
+                companyId: this.companyId,
130
+                endTime: this.endTime,
131
+                statTime: this.statTime,
132
+                depotId: this.id
133
+            }
134
+            this.pageParam.condition = JSON.stringify(condition)
132 135
             getwl(this.pageParam).then(res => {
133 136
                 this.personData = res.data.records
134 137
                 this.total = res.data.total
@@ -182,6 +185,17 @@ export default {
182 185
                     console.log(err)
183 186
                 })
184 187
         }
188
+    },
189
+    computed: {
190
+        Id() {
191
+            return this.$store.state.depotId
192
+        }
193
+    },
194
+    watch: {
195
+        Id: function(val) {
196
+            this.id = val
197
+            this.getList()
198
+        }
185 199
     }
186 200
 }
187 201
 </script>

+ 21 - 33
shanXiPlatform/src/views/outsideHouse/Emanage/sInspection.vue

@@ -65,25 +65,14 @@ export default {
65 65
                 pageIndex: 1,
66 66
                 pageSize: 10
67 67
             },
68
-            id: "",
68
+            id: this.$store.state.depotId,
69 69
             name: "",
70 70
             alternateFieldsOne: ""
71 71
         }
72 72
     },
73 73
     created() {
74
-        this.id = JSON.parse(getUser()).depotId
75 74
         this.name = JSON.parse(getUser()).depotName
76 75
         this.alternateFieldsOne = JSON.parse(getUser()).alternateFieldsOne
77
-        this.pageParam.condition =
78
-            "{mType:0 , companyId: '" +
79
-            this.companyId +
80
-            "' , statTime: '" +
81
-            this.statTime +
82
-            "' , endTime:'" +
83
-            this.endTime +
84
-            "' , depotId:'" +
85
-            this.id +
86
-            "' }"
87 76
         this.getList()
88 77
         getAllname(this.id).then(res => {
89 78
             let obj = {
@@ -101,37 +90,17 @@ export default {
101 90
     },
102 91
     methods: {
103 92
         compselect(val) {
104
-            this.pageParam.condition =
105
-                "{mType:0 , companyId: '" +
106
-                val +
107
-                "' , statTime: '" +
108
-                this.statTime +
109
-                "' , endTime:'" +
110
-                this.endTime +
111
-                "' , depotId:'" +
112
-                this.id +
113
-                "' }"
93
+            this.companyId = val
114 94
         },
115 95
         timechange(val) {
116 96
             this.statTime = val[0]
117 97
             this.endTime = val[1]
118
-            this.pageParam.condition =
119
-                "{mType:0 , companyId: '" +
120
-                this.companyId +
121
-                "' , statTime: '" +
122
-                this.statTime +
123
-                "' , endTime:'" +
124
-                this.endTime +
125
-                "' , depotId:'" +
126
-                this.id +
127
-                "' }"
128 98
         },
129 99
         clear() {
130 100
             this.arrTime = []
131 101
             this.statTime = ""
132 102
             this.endTime = ""
133 103
             this.companyId = ""
134
-            this.pageParam.condition = '{mType:0, depotId:"' + this.id + '"}'
135 104
             this.getList()
136 105
         },
137 106
         goodsInfo(row) {
@@ -149,6 +118,14 @@ export default {
149 118
         },
150 119
         handleCurrentChange() {},
151 120
         getList() {
121
+            var condition = {
122
+                mType: 0,
123
+                companyId: this.companyId,
124
+                endTime: this.endTime,
125
+                statTime: this.statTime,
126
+                depotId: this.id
127
+            }
128
+            this.pageParam.condition = JSON.stringify(condition)
152 129
             getaq(this.pageParam).then(res => {
153 130
                 this.personData = res.data.records
154 131
                 this.total = res.data.total
@@ -202,6 +179,17 @@ export default {
202 179
                     console.log(err)
203 180
                 })
204 181
         }
182
+    },
183
+    computed: {
184
+        Id() {
185
+            return this.$store.state.depotId
186
+        }
187
+    },
188
+    watch: {
189
+        Id: function(val) {
190
+            this.id = val
191
+            this.getList()
192
+        }
205 193
     }
206 194
 }
207 195
 </script>

+ 17 - 4
shanXiPlatform/src/views/outsideHouse/rentWarehouse/cRenthouse.vue

@@ -42,15 +42,12 @@ export default {
42 42
                 pageIndex: 1,
43 43
                 pageSize: 10
44 44
             },
45
-            id: "",
45
+            id: this.$store.state.depotId,
46 46
             treeid: "",
47 47
             name: ""
48 48
         }
49 49
     },
50 50
     created() {
51
-        this.id = JSON.parse(getUser()).depotId
52
-        // this.name = JSON.parse(getUser()).depotName
53
-        this.pageParam.condition = '{mType:1 , depotId:"' + this.id + '"}'
54 51
         this.getList()
55 52
     },
56 53
     methods: {
@@ -72,6 +69,11 @@ export default {
72 69
         },
73 70
         handleCurrentChange() {},
74 71
         getList() {
72
+            var condition = {
73
+                mType: 1,
74
+                depotId: this.id
75
+            }
76
+            this.pageParam.condition = JSON.stringify(condition)
75 77
             getco(this.pageParam).then(res => {
76 78
                 this.personData = res.data.records
77 79
                 this.total = res.data.total
@@ -114,6 +116,17 @@ export default {
114 116
                     console.log(err)
115 117
                 })
116 118
         }
119
+    },
120
+    computed: {
121
+        Id() {
122
+            return this.$store.state.depotId
123
+        }
124
+    },
125
+    watch: {
126
+        Id: function(val) {
127
+            this.id = val
128
+            this.getList()
129
+        }
117 130
     }
118 131
 }
119 132
 </script>

+ 22 - 33
shanXiPlatform/src/views/outsideHouse/rentWarehouse/gRenthouse.vue

@@ -72,25 +72,14 @@ export default {
72 72
                 pageIndex: 1,
73 73
                 pageSize: 10
74 74
             },
75
-            id: "",
75
+            id: this.$store.state.depotId,
76 76
             name: "",
77 77
             alternateFieldsOne: ""
78 78
         }
79 79
     },
80 80
     created() {
81
-        this.id = JSON.parse(getUser()).depotId
82 81
         this.name = JSON.parse(getUser()).depotName
83 82
         this.alternateFieldsOne = JSON.parse(getUser()).alternateFieldsOne
84
-        this.pageParam.condition =
85
-            "{mType:1 , companyId: '" +
86
-            this.companyId +
87
-            "' , statTime: '" +
88
-            this.statTime +
89
-            "' , endTime:'" +
90
-            this.endTime +
91
-            "' , depotId:'" +
92
-            this.id +
93
-            "' }"
94 83
         this.getList()
95 84
         getAllname(this.id).then(res => {
96 85
             let obj = {
@@ -108,36 +97,17 @@ export default {
108 97
     },
109 98
     methods: {
110 99
         compselect(val) {
111
-            this.pageParam.condition =
112
-                "{mType:1 , companyId: '" +
113
-                val +
114
-                "' , statTime: '" +
115
-                this.statTime +
116
-                "' , endTime:'" +
117
-                this.endTime +
118
-                "' , depotId:'" +
119
-                this.id +
120
-                "' }"
100
+            this.companyId = val
121 101
         },
122 102
         timechange(val) {
123 103
             this.statTime = val[0]
124 104
             this.endTime = val[1]
125
-            this.pageParam.condition =
126
-                "{mType:1 , companyId:  '" +
127
-                this.companyId +
128
-                "' , statTime: '" +
129
-                this.statTime +
130
-                "' , endTime:'" +
131
-                this.endTime +
132
-                "' , depotId:'" +
133
-                this.id +
134
-                "' }"
135 105
         },
136 106
         clear() {
137 107
             this.arrTime = []
138 108
             this.statTime = ""
139 109
             this.endTime = ""
140
-            this.pageParam.condition = '{mType:1, depotId:"' + this.id + '"}'
110
+            this.companyId = ""
141 111
             this.getList()
142 112
         },
143 113
         goodsInfo(row) {
@@ -155,6 +125,14 @@ export default {
155 125
         },
156 126
         handleCurrentChange() {},
157 127
         getList() {
128
+            var condition = {
129
+                mType: 1,
130
+                companyId: this.companyId,
131
+                endTime: this.endTime,
132
+                statTime: this.statTime,
133
+                depotId: this.id
134
+            }
135
+            this.pageParam.condition = JSON.stringify(condition)
158 136
             getwl(this.pageParam).then(res => {
159 137
                 this.personData = res.data.records
160 138
                 this.total = res.data.total
@@ -208,6 +186,17 @@ export default {
208 186
                     console.log(err)
209 187
                 })
210 188
         }
189
+    },
190
+    computed: {
191
+        Id() {
192
+            return this.$store.state.depotId
193
+        }
194
+    },
195
+    watch: {
196
+        Id: function(val) {
197
+            this.id = val
198
+            this.getList()
199
+        }
211 200
     }
212 201
 }
213 202
 </script>

+ 21 - 6
shanXiPlatform/src/views/outsideHouse/rentWarehouse/sRenthouse.vue

@@ -67,16 +67,14 @@ export default {
67 67
                 pageIndex: 1,
68 68
                 pageSize: 10
69 69
             },
70
-            id: "",
70
+            id:  this.$store.state.depotId,
71 71
             name: "",
72 72
             alternateFieldsOne:''
73 73
         }
74 74
     },
75 75
     created() {
76
-        this.id = JSON.parse(getUser()).depotId
77 76
         this.name = JSON.parse(getUser()).depotName
78 77
           this.alternateFieldsOne = JSON.parse(getUser()).alternateFieldsOne
79
-       this.pageParam.condition ="{mType:1 , companyId: '" +this.companyId +"' , statTime: '" +this.statTime +"' , endTime:'" +this.endTime +"' , depotId:'" + this.id + "' }"
80 78
         this.getList()
81 79
          getAllname(this.id).then(res => {
82 80
             let obj = {
@@ -94,19 +92,17 @@ export default {
94 92
     },
95 93
     methods: {
96 94
           compselect( val ){
97
-              this.pageParam.condition ="{mType:1 , companyId: '" + val +"' , statTime: '" +this.statTime +"' , endTime:'" +this.endTime +"' , depotId:'" + this.id + "' }"  
95
+               this.companyId = val
98 96
         },
99 97
         timechange(val) {
100 98
             this.statTime = val[0]
101 99
             this.endTime = val[1]
102
-             this.pageParam.condition ="{mType:1 , companyId: '" +this.companyId +"' , statTime: '" +this.statTime +"' , endTime:'" +this.endTime +"' , depotId:'" + this.id + "' }"
103 100
         },
104 101
         clear() {
105 102
             this.arrTime = []
106 103
             this.statTime = ""
107 104
             this.endTime = ""
108 105
             this.companyId = ''
109
-            this.pageParam.condition = '{mType:1, depotId:"' + this.id + '"}'
110 106
             this.getList()
111 107
         },
112 108
         goodsInfo(row) {
@@ -124,6 +120,14 @@ export default {
124 120
         },
125 121
         handleCurrentChange() {},
126 122
         getList() {
123
+             var condition = {
124
+                mType: 1,
125
+                companyId: this.companyId,
126
+                endTime: this.endTime,
127
+                statTime: this.statTime,
128
+                depotId: this.id
129
+            }
130
+            this.pageParam.condition = JSON.stringify(condition)
127 131
             getaq(this.pageParam).then(res => {
128 132
                 this.personData = res.data.records
129 133
                 this.total = res.data.total
@@ -177,6 +181,17 @@ export default {
177 181
                     console.log(err)
178 182
                 })
179 183
         }
184
+    },
185
+      computed: {
186
+        Id() {
187
+            return this.$store.state.depotId
188
+        }
189
+    },
190
+    watch: {
191
+        Id: function(val) {
192
+            this.id = val
193
+            this.getList()
194
+        }
180 195
     }
181 196
 }
182 197
 </script>