apply-clients 3.5.4-94 → 3.5.4-95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/build/dev-server.js +6 -11
  2. package/package.json +1 -1
  3. package/src/apply.js +139 -139
  4. package/src/components/android/AppCheckTakePic.vue +168 -168
  5. package/src/components/android/AppTakePic.vue +182 -182
  6. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  7. package/src/components/product/Material/MaterialDetailed.vue +268 -268
  8. package/src/components/product/PcZhihuanManagement.vue +160 -160
  9. package/src/components/product/Print/BuildOrder/buildOrderList.vue +339 -339
  10. package/src/components/product/Process/Processes/selectApply.vue +251 -251
  11. package/src/components/product/Process/Processes/selectBcakApply.vue +250 -250
  12. package/src/filiale/fugou/android/AppAddMaterialScience.vue +440 -440
  13. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -341
  14. package/src/filiale/fugou/android/AppChargeManagement.vue +739 -739
  15. package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -519
  16. package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -541
  17. package/src/filiale/fugou/android/AppServiceControl.vue +1845 -1845
  18. package/src/filiale/fugou/android/AppZhihuanManagement.vue +33 -0
  19. package/src/filiale/fugou/android/printCharge.vue +162 -162
  20. package/src/filiale/fugou/android.js +16 -16
  21. package/src/filiale/fugou/pc/AddReplacement.vue +340 -340
  22. package/src/filiale/fugou/pc/ApplyChargeList.vue +480 -480
  23. package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -525
  24. package/src/filiale/fugou/pc/ServiceControl.vue +1705 -1705
  25. package/src/filiale/fugou/pc/ServiceView.vue +941 -941
  26. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -481
  27. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -216
  28. package/src/filiale/fugou/pc/chargeReport.vue +143 -143
  29. package/src/filiale/fugou/pc/devicesManagement.vue +483 -483
  30. package/src/filiale/fugou/pc/printChargepc.vue +148 -148
  31. package/src/filiale/fugou/pc.js +16 -16
  32. package/src/filiale/gongyi/android/AppAddMaterialScience.vue +493 -493
  33. package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -686
  34. package/src/filiale/qianneng/android/AppServiceView.vue +795 -795
  35. package/src/filiale/qianneng/android.js +15 -15
  36. package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +261 -261
  37. package/src/filiale/qianneng/pc/Applydetail.vue +378 -378
  38. package/src/filiale/qianneng/pc/InstallFunction.vue +188 -188
  39. package/src/filiale/qianneng/pc.js +29 -29
  40. package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +520 -520
  41. package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +645 -645
  42. package/src/filiale/yangchunboneng/android/AppServiceControl.vue +1703 -1703
  43. package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +547 -547
  44. package/src/filiale/yangchunboneng/pc/ServiceControl.vue +2112 -2112
  45. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +605 -605
  46. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +683 -683
  47. package/src/filiale/yangchunboneng/pc/chargeManagement.vue +1052 -1052
  48. package/src/filiale/yangchunboneng/pc/devicesManagement.vue +574 -574
  49. package/src/main.js +3 -4
  50. package/src/test/SessionTestServlet.java +69 -0
  51. package/webapp/WEB-INF/web.xml +52 -0
  52. package/webapp/session-test.jsp +59 -0
@@ -7,6 +7,10 @@
7
7
  <th class="textNoLineBreak">检查项目</th>
8
8
  <th class="textNoLineBreak">检查结果</th>
9
9
  <th class="textNoLineBreak">操作</th>
10
+ <th class="textNoLineBreak">
11
+ <button style="color:black" class="button_new button_spacing" type="button" @click="$parent.$parent.getCheck()">重置
12
+ </button>
13
+ </th>
10
14
  </tr>
11
15
  </template>
12
16
  <template partial='body'>
@@ -79,6 +83,7 @@
79
83
  <script>
80
84
  import {HttpResetClass} from 'vue-client'
81
85
  import Vue from 'vue'
86
+ import co from "co";
82
87
 
83
88
  export default {
84
89
  title: '检查项管理',
@@ -104,6 +109,34 @@ export default {
104
109
  this.search()
105
110
  },
106
111
  methods: {
112
+ async flush(){
113
+ let http = new HttpResetClass()
114
+ let data = {
115
+ tablename: 't_apply_check',
116
+ condition: `f_process_id= '${this.selectdata.f_process_id}'`
117
+ }
118
+ let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
119
+ resolveMsg: null,
120
+ rejectMsg: '检查项查询失败!!!'
121
+ })
122
+ this.model.data=res.data
123
+ },
124
+ async getCheck(){
125
+ let http = new HttpResetClass()
126
+ this.$showMessage('是否获取最新检查项?', ['confirm', 'cancel']).then(async (res) => {
127
+ if (res === 'confirm') {
128
+ this.model.data=[]
129
+ let del= `delete from t_apply_check where f_process_id='${this.selectdata.f_process_id}'`
130
+ //删除旧的检查项,
131
+ await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/runSQL`, {data: {sql: del}},
132
+ {resolveMsg: null, rejectMsg: '删除安检册失败'})
133
+ //拉取新的检查项
134
+ await this.saveCheck()
135
+ //刷新
136
+ await this.flush()
137
+ }
138
+ })
139
+ },
107
140
  async save(){
108
141
  let res = await this.$resetpost(
109
142
  `${this.$androidUtil.getProxyUrl()}/apply/rs/entity/t_apply_check`,
@@ -1,162 +1,162 @@
1
- <template>
2
- <style id="printChargeStyle">
3
- td{
4
- height: 30px;
5
- text-align: center;
6
- }
7
- table{
8
- margin: auto;
9
- /*width: 100%;*/
10
- border-collapse:collapse;
11
- border: 1px solid black;
12
- }
13
- h1,h2,h3,h4,h5,h6 {
14
- text-align: center;
15
- }
16
- .orgs {
17
- border-bottom: 2px solid;
18
- padding: 5px;
19
- }
20
- .date {
21
- float: left;
22
- padding-left: 10px;
23
- }
24
- .status {
25
- float: right;
26
- padding-right: 10px;
27
- }
28
- .seal {
29
- position: absolute;
30
- right: 80px;
31
- top: 160px;
32
- width: 167px;
33
- height: 120px;
34
- /*opacity: 0.5;*/
35
- z-index: -1;
36
- }
37
- </style>
38
- <div id="printCharge">
39
- <h4>
40
- <span class="orgs">
41
- {{orgs}}统一收据
42
- </span>
43
- </h4>
44
- <table border="1" width="100%">
45
- <tr>
46
-
47
- <td style="width: 17%">开票日期</td>
48
- <td colspan="4" style="width: 33%">{{ new Date().Format('yyyy年MM月dd日') }}</td>
49
- </tr>
50
- <tr>
51
- <td style="width: 17%">收据编码</td>
52
- <td colspan="4" style="width: 33%">{{ charge.f_charge_number }}</td>
53
- </tr>
54
- <tr>
55
- <td style="width: 17%">状态</td>
56
- <td colspan="4" style="width: 33%">{{ charge.f_charge_status }}</td>
57
- </tr>
58
- <tr>
59
- <td style="width: 17%">用户姓名</td>
60
- <td colspan="4" style="width: 33%">{{ selectdata.f_user_name }}</td>
61
- </tr>
62
- <tr>
63
- <td style="width: 17%">用户编号</td>
64
- <td colspan="4" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
65
- </tr>
66
- <tr>
67
- <td>用户地址</td>
68
- <td colspan="5">{{ selectdata.f_address }}</td>
69
- </tr>
70
- <tr>
71
- <td>收款项目</td>
72
- <td colspan="4">{{ charge.f_payment_term }}</td>
73
- </tr>
74
- <tr>
75
- <td>收款方式</td>
76
- <td colspan="2">{{ charge.f_payment_method }}</td>
77
- </tr>
78
- <tr>
79
- <td>付款金额</td>
80
- <td colspan="4">{{ charge.f_charge_money }}</td>
81
- </tr>
82
- <tr>
83
- <td>金额大写</td>
84
- <td colspan="4">{{ charge.f_amount_words }}</td>
85
- </tr>
86
- <tr>
87
- <td>已付比例</td>
88
- <td colspan="4">{{ selectdata.f_payment_ratio }}</td>
89
- </tr>
90
- <tr>
91
- <td>累计付款金额</td>
92
- <td colspan="4">{{ selectdata.f_cumulative_payment_money }}</td>
93
- </tr>
94
- <tr>
95
- <td>收款人</td>
96
- <td colspan="4">{{ charge.f_charge_collectors }}</td>
97
- </tr>
98
- <tr>
99
- <td>销售方(章)</td>
100
- <td colspan="4" >
101
- <img :src="src" style="overflow: hidden;width: 200px;height: 200px">
102
- </td>
103
- </tr>
104
- <tr>
105
- <td>备&emsp;&emsp;注</td>
106
- <td colspan="5">{{ charge.f_charge_remarks }}</td>
107
- </tr>
108
- <tr>
109
- <td colspan="6">
110
- 请持此收据到{{orgs}}营业厅换取发票
111
- </td>
112
- </tr>
113
- </table>
114
- <img class="seal" border="0" :src="src" alt="">
115
- </div>
116
-
117
- <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
118
- top='20' left='30' width='100%' height='100%'>
119
- </print-element>
120
- </template>
121
-
122
- <script>
123
- import { isEmpty } from '../../../components/Util'
124
- Date.prototype.Format = function (fmt) {
125
- var o = {
126
- "M+": this.getMonth() + 1, //月份
127
- "d+": this.getDate(), //日
128
- "H+": this.getHours(), //小时
129
- "m+": this.getMinutes(), //分
130
- "s+": this.getSeconds(), //秒
131
- "q+": Math.floor((this.getMonth() + 3) / 3), //季度
132
- "S": this.getMilliseconds() //毫秒
133
- };
134
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
135
- for (var k in o)
136
- if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
137
- return fmt;
138
- }
139
- export default {
140
- title: '打印收费票据',
141
- props: ['selectdata', 'charge'],
142
- data () {
143
- return {}
144
- },
145
- ready () {
146
- },
147
- methods: {
148
- },
149
- computed: {
150
- orgs () {
151
- return this.$login.f.orgs
152
- },
153
- src () {
154
- return require('../../../assets/fugou.png')
155
- }
156
- }
157
- }
158
- </script>
159
-
160
- <style scoped>
161
-
162
- </style>
1
+ <template>
2
+ <style id="printChargeStyle">
3
+ td{
4
+ height: 30px;
5
+ text-align: center;
6
+ }
7
+ table{
8
+ margin: auto;
9
+ /*width: 100%;*/
10
+ border-collapse:collapse;
11
+ border: 1px solid black;
12
+ }
13
+ h1,h2,h3,h4,h5,h6 {
14
+ text-align: center;
15
+ }
16
+ .orgs {
17
+ border-bottom: 2px solid;
18
+ padding: 5px;
19
+ }
20
+ .date {
21
+ float: left;
22
+ padding-left: 10px;
23
+ }
24
+ .status {
25
+ float: right;
26
+ padding-right: 10px;
27
+ }
28
+ .seal {
29
+ position: absolute;
30
+ right: 80px;
31
+ top: 160px;
32
+ width: 167px;
33
+ height: 120px;
34
+ /*opacity: 0.5;*/
35
+ z-index: -1;
36
+ }
37
+ </style>
38
+ <div id="printCharge">
39
+ <h4>
40
+ <span class="orgs">
41
+ {{orgs}}统一收据
42
+ </span>
43
+ </h4>
44
+ <table border="1" width="100%">
45
+ <tr>
46
+
47
+ <td style="width: 17%">开票日期</td>
48
+ <td colspan="4" style="width: 33%">{{ new Date().Format('yyyy年MM月dd日') }}</td>
49
+ </tr>
50
+ <tr>
51
+ <td style="width: 17%">收据编码</td>
52
+ <td colspan="4" style="width: 33%">{{ charge.f_charge_number }}</td>
53
+ </tr>
54
+ <tr>
55
+ <td style="width: 17%">状态</td>
56
+ <td colspan="4" style="width: 33%">{{ charge.f_charge_status }}</td>
57
+ </tr>
58
+ <tr>
59
+ <td style="width: 17%">用户姓名</td>
60
+ <td colspan="4" style="width: 33%">{{ selectdata.f_user_name }}</td>
61
+ </tr>
62
+ <tr>
63
+ <td style="width: 17%">用户编号</td>
64
+ <td colspan="4" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
65
+ </tr>
66
+ <tr>
67
+ <td>用户地址</td>
68
+ <td colspan="5">{{ selectdata.f_address }}</td>
69
+ </tr>
70
+ <tr>
71
+ <td>收款项目</td>
72
+ <td colspan="4">{{ charge.f_payment_term }}</td>
73
+ </tr>
74
+ <tr>
75
+ <td>收款方式</td>
76
+ <td colspan="2">{{ charge.f_payment_method }}</td>
77
+ </tr>
78
+ <tr>
79
+ <td>付款金额</td>
80
+ <td colspan="4">{{ charge.f_charge_money }}</td>
81
+ </tr>
82
+ <tr>
83
+ <td>金额大写</td>
84
+ <td colspan="4">{{ charge.f_amount_words }}</td>
85
+ </tr>
86
+ <tr>
87
+ <td>已付比例</td>
88
+ <td colspan="4">{{ selectdata.f_payment_ratio }}</td>
89
+ </tr>
90
+ <tr>
91
+ <td>累计付款金额</td>
92
+ <td colspan="4">{{ selectdata.f_cumulative_payment_money }}</td>
93
+ </tr>
94
+ <tr>
95
+ <td>收款人</td>
96
+ <td colspan="4">{{ charge.f_charge_collectors }}</td>
97
+ </tr>
98
+ <tr>
99
+ <td>销售方(章)</td>
100
+ <td colspan="4" >
101
+ <img :src="src" style="overflow: hidden;width: 200px;height: 200px">
102
+ </td>
103
+ </tr>
104
+ <tr>
105
+ <td>备&emsp;&emsp;注</td>
106
+ <td colspan="5">{{ charge.f_charge_remarks }}</td>
107
+ </tr>
108
+ <tr>
109
+ <td colspan="6">
110
+ 请持此收据到{{orgs}}营业厅换取发票
111
+ </td>
112
+ </tr>
113
+ </table>
114
+ <img class="seal" border="0" :src="src" alt="">
115
+ </div>
116
+
117
+ <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
118
+ top='20' left='30' width='100%' height='100%'>
119
+ </print-element>
120
+ </template>
121
+
122
+ <script>
123
+ import { isEmpty } from '../../../components/Util'
124
+ Date.prototype.Format = function (fmt) {
125
+ var o = {
126
+ "M+": this.getMonth() + 1, //月份
127
+ "d+": this.getDate(), //日
128
+ "H+": this.getHours(), //小时
129
+ "m+": this.getMinutes(), //分
130
+ "s+": this.getSeconds(), //秒
131
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
132
+ "S": this.getMilliseconds() //毫秒
133
+ };
134
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
135
+ for (var k in o)
136
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
137
+ return fmt;
138
+ }
139
+ export default {
140
+ title: '打印收费票据',
141
+ props: ['selectdata', 'charge'],
142
+ data () {
143
+ return {}
144
+ },
145
+ ready () {
146
+ },
147
+ methods: {
148
+ },
149
+ computed: {
150
+ orgs () {
151
+ return this.$login.f.orgs
152
+ },
153
+ src () {
154
+ return require('../../../assets/fugou.png')
155
+ }
156
+ }
157
+ }
158
+ </script>
159
+
160
+ <style scoped>
161
+
162
+ </style>
@@ -1,16 +1,16 @@
1
- import Vue from 'vue'
2
-
3
- let specialComp = {
4
- 'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
5
- 'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
6
- 'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
7
- 'app-zhihuan-management': (resolve) => { require(['./android/AppZhihuanManagement'], resolve) },
8
- 'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) },
9
- 'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
10
- 'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
11
- 'app-apply-replacement': (resolve) => { require(['./android/AppAddReplacement'], resolve) },
12
- 'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) },
13
- 'apply-print-charge': (resolve) => { require(['./android/printCharge'], resolve) }
14
-
15
- }
16
- exports.specialComp = specialComp
1
+ import Vue from 'vue'
2
+
3
+ let specialComp = {
4
+ 'app-service-view': (resolve) => { require(['./android/AppServiceView'], resolve) },
5
+ 'app-exploration-user': (resolve) => { require(['./android/AppExplorationUser'], resolve) },
6
+ 'app-service-control': (resolve) => { require(['./android/AppServiceControl'], resolve) },
7
+ 'app-zhihuan-management': (resolve) => { require(['./android/AppZhihuanManagement'], resolve) },
8
+ 'app-charge-management': (resolve) => { require(['./android/AppChargeManagement'], resolve) },
9
+ 'app-add-material-science': (resolve) => { require(['./android/AppAddMaterialScience'], resolve) },
10
+ 'app-installation-details': (resolve) => { require(['./android/AppInstallationDetails'], resolve) },
11
+ 'app-apply-replacement': (resolve) => { require(['./android/AppAddReplacement'], resolve) },
12
+ 'app-apply-devices-management': (resolve) => { require(['./android/AppDevicesManagement'], resolve) },
13
+ 'apply-print-charge': (resolve) => { require(['./android/printCharge'], resolve) }
14
+
15
+ }
16
+ exports.specialComp = specialComp