apply-clients 3.3.66 → 3.3.71

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 (42) hide show
  1. package/.project +17 -0
  2. package/build/dev-server.js +133 -133
  3. package/package.json +1 -1
  4. package/src/AndroidApp.vue +35 -35
  5. package/src/apply.js +92 -89
  6. package/src/applyAndroid.js +31 -31
  7. package/src/components/android/AppOnetomany.vue +301 -301
  8. package/src/components/android/AppServiceView.vue +595 -566
  9. package/src/components/android/AppSign.vue +142 -142
  10. package/src/components/android/Function/AppInstallFunction.vue +366 -366
  11. package/src/components/android/Process/AppExplorationUser.vue +396 -340
  12. package/src/components/android/Process/AppServiceControl.vue +865 -865
  13. package/src/components/android/Process/Processes/AppBuildSign.vue +46 -46
  14. package/src/components/android/Process/Processes/AppInstallationDetails.vue +4 -2
  15. package/src/components/android/Supervisory/AppProcessSupervisory.vue +300 -300
  16. package/src/components/android/Supervisory/AppSupervisoryCart.vue +119 -119
  17. package/src/components/product/ApplyCharge/ApplyChargeList.vue +382 -382
  18. package/src/components/product/Business/BusinessApply.vue +242 -242
  19. package/src/components/product/Function/InstallFunction.vue +132 -132
  20. package/src/components/product/Function/InstallInfoSelect.vue +320 -320
  21. package/src/components/product/Function/Service/FunctionServiceControl.vue +445 -445
  22. package/src/components/product/Material/MaterialDetailed.vue +252 -235
  23. package/src/components/product/OldApply/Monitor/MonitorApply.vue +329 -329
  24. package/src/components/product/OldApply/OldApply.vue +150 -150
  25. package/src/components/product/Onetomany.vue +377 -377
  26. package/src/components/product/Print/BuildOrder/buildOrderList.vue +264 -264
  27. package/src/components/product/Print/BuildOrder/printBuildOrder.vue +153 -153
  28. package/src/components/product/Print/IgnitionBill/IgnitionBill.vue +259 -0
  29. package/src/components/product/Print/IgnitionBill/printIgnitionBill.vue +168 -0
  30. package/src/components/product/Process/ExplorationSelect.vue +452 -457
  31. package/src/components/product/Process/ExplorationUser.vue +189 -147
  32. package/src/components/product/Process/Processes/Print/printCharge.vue +142 -142
  33. package/src/components/product/Process/Processes/Print/printRefund.vue +196 -196
  34. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +211 -211
  35. package/src/components/product/Process/Service/ServiceControl.vue +1362 -1362
  36. package/src/components/product/ServiceView.vue +631 -631
  37. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +863 -863
  38. package/src/components/product/Supervisory/SupervisoryControl.vue +137 -137
  39. package/src/components/product/Supervisory/SupervisoryhCart.vue +130 -130
  40. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  41. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  42. package/src/main.js +3 -0
@@ -1,147 +1,189 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'" v-show="showQuery">
5
- <exploration-select v-ref:query :show-data="showData"></exploration-select>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <tabset v-ref:tabs :close="false">
9
- <tab :header='selectdata.defname'>
10
- <service-control v-ref:service :selectdata="selectdata"></service-control>
11
- </tab>
12
- <tab header='附件'>
13
- <apply-upload :blodid="selectdata.f_process_id"
14
- :isupload = "true"
15
- :isdelete="true"
16
- :isusetype="true"
17
- :isremark = "true"
18
- :takeimg="true"
19
- :issearch="true"
20
- :defname="selectdata.defname">
21
- </apply-upload>
22
- </tab>
23
- </tabset>
24
- </div>
25
- </div>
26
- </div>
27
- </template>
28
- <script>
29
- import Vue from 'vue'
30
- import {HttpResetClass} from 'vue-client'
31
- export default {
32
- title: '报建流程',
33
- data () {
34
- return {
35
- showQuery: true, // 控制查询页
36
- showData: true, // 控制列表数据
37
- showtotal: false, // 详情显示
38
- selectdata: {},
39
- xmlname: '' // 配置文件名
40
- }
41
- },
42
- ready () {
43
- },
44
- methods: {
45
- // 获取页面配置json文件
46
- async loadName () {
47
-
48
- let data = {
49
- workname: this.selectdata.processname
50
- }
51
- let http = new HttpResetClass()
52
- let res = await http.load(
53
- 'POST',
54
- 'rs/logic/ApplyGetConfigs',
55
- {data: data},
56
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
57
- )
58
-
59
- Vue.prototype.$workflow_vue = res.data
60
- }
61
- },
62
- events: {
63
- 'onMessage' (data) {
64
- console.log('接收消息')
65
- console.log(data)
66
- if (data.type === 'apply-task') {
67
- this.$refs.query.$refs.cp.$refs.cri.search()
68
- }
69
- },
70
- // 刷新控制层
71
- async 'breakControl' (servicedata) {
72
-
73
- if (servicedata.id) {
74
- let data = {
75
- condition: `u.id = ${servicedata.id}`,
76
- data: {
77
- id: this.$login.f.id,
78
- orgid: this.$login.f.orgid
79
- }
80
- }
81
- let res = await this.$resetpost(
82
- 'rs/sql/checkuser',
83
- {data: data},
84
- {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
85
- )
86
-
87
- this.selectdata = res.data[0]
88
- } else {
89
- this.selectdata = servicedata
90
- }
91
-
92
- this.showtotal = false
93
- this.$nextTick(() => {
94
- this.showtotal = true
95
- })
96
-
97
- },
98
- async 'later' (row) {
99
- row.f_is_later = '是'
100
- let res = await this.$resetpost(
101
- 'rs/entity/t_apply',
102
- row
103
- )
104
-
105
- this.$refs.query.loadPage()
106
- },
107
- // 初始化
108
- async 'apply' (val) {
109
- this.showtotal = false
110
- this.selectdata = val
111
-
112
- // 次方法必须同步执行,否则后续会出问题
113
- // 获取页面json配置文件
114
- await this.loadName()
115
-
116
- // 显示详细
117
- this.showtotal = true
118
- // 关闭列表数据
119
- this.showData = false
120
- // 关闭分页
121
- this.$refs.query.$refs.cp.pager = false
122
- },
123
- 'search' () {
124
- // 关闭详细
125
- this.showtotal = false
126
- // 显示列表数据
127
- this.showData = true
128
- // 显示分页
129
- this.$refs.query.$refs.cp.pager = true
130
- // 调用查询
131
- this.$refs.query.$refs.cp.$refs.cri.search()
132
- },
133
- 'loadPage' () {
134
- // 关闭详细
135
- this.showtotal = false
136
- // 显示列表数据
137
- this.showData = true
138
- // 显示分页
139
- this.$refs.query.$refs.cp.pager = true
140
- // 调用查询
141
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
142
- }
143
- },
144
- watch: {
145
- }
146
- }
147
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'" v-show="showQuery">
5
+ <exploration-select v-ref:query :show-data="showData"></exploration-select>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <tabset v-ref:tabs :close="false">
9
+ <tab :header='selectdata.defname'>
10
+ <service-control v-ref:service :selectdata="selectdata"></service-control>
11
+ </tab>
12
+ <tab header='附件'>
13
+ <apply-upload :blodid="selectdata.f_process_id"
14
+ :isupload = "true"
15
+ :isdelete="true"
16
+ :isusetype="true"
17
+ :isremark = "true"
18
+ :takeimg="true"
19
+ :issearch="true"
20
+ :defname="selectdata.defname">
21
+ </apply-upload>
22
+ </tab>
23
+ </tabset>
24
+ </div>
25
+
26
+ <validator name="v">
27
+ <modal v-if="showLater" :show.sync="showLater" v-ref:modal :large="true" :backdrop="false" title="稍后处理">
28
+ <header slot="modal-header" class="modal-header">
29
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
30
+ <h4 class="modal-title">稍后处理</h4>
31
+ </header>
32
+
33
+ <article slot="modal-body" class="modal-body clearfix">
34
+ <div class="form-group col-sm-12">
35
+ <label class="col-sm-2 control-label">稍后处理备注:</label>
36
+ <div class="col-sm-10">
37
+ <input type="textarea"
38
+ class="form-control input_view"
39
+ style="width: 100%"
40
+ v-model="laterapply.f_later_remarks" />
41
+ </div>
42
+ </div>
43
+ </article>
44
+
45
+ <footer slot="modal-footer" class="modal-footer">
46
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="later()">稍后处理</button>
47
+ </footer>
48
+ </modal>
49
+ </validator>
50
+ </div>
51
+ </div>
52
+ </template>
53
+ <script>
54
+ import Vue from 'vue'
55
+ import {HttpResetClass} from 'vue-client'
56
+ export default {
57
+ title: '报建流程',
58
+ data () {
59
+ return {
60
+ showQuery: true, // 控制查询页
61
+ showData: true, // 控制列表数据
62
+ showtotal: false, // 详情显示
63
+ selectdata: {},
64
+ xmlname: '', // 配置文件名
65
+ showLater: false,
66
+ laterapply: {}
67
+ }
68
+ },
69
+ ready () {
70
+ },
71
+ methods: {
72
+ // 获取页面配置json文件
73
+ async loadName () {
74
+
75
+ let data = {
76
+ workname: this.selectdata.processname
77
+ }
78
+ let http = new HttpResetClass()
79
+ let res = await http.load(
80
+ 'POST',
81
+ 'rs/logic/ApplyGetConfigs',
82
+ {data: data},
83
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
84
+ )
85
+
86
+ Vue.prototype.$workflow_vue = res.data
87
+ },
88
+ async later () {
89
+ let http = new HttpResetClass()
90
+ let data = {
91
+ laterapply: this.laterapply,
92
+ selectdata: this.selectdata,
93
+ user: this.$login.f
94
+ }
95
+ let res = await http.load('POST', 'rs/logic/laterprocessing', {data:data}, {
96
+ resolveMsg: null,
97
+ rejectMsg: '稍后处理记录保存失败!!!'
98
+ })
99
+ this.closeModal()
100
+ },
101
+ closeModal () {
102
+ this.selectdata = null
103
+ this.showLater = false
104
+ this.laterapply = {}
105
+
106
+ this.$refs.query.loadPage()
107
+ }
108
+ },
109
+ events: {
110
+ 'onMessage' (data) {
111
+ console.log('接收消息')
112
+ console.log(data)
113
+ if (data.type === 'apply-task') {
114
+ this.$refs.query.$refs.cp.$refs.cri.search()
115
+ }
116
+ },
117
+ // 刷新控制层
118
+ async 'breakControl' (servicedata) {
119
+
120
+ if (servicedata.id) {
121
+ let data = {
122
+ condition: `u.id = ${servicedata.id}`,
123
+ data: {
124
+ id: this.$login.f.id,
125
+ orgid: this.$login.f.orgid
126
+ }
127
+ }
128
+ let res = await this.$resetpost(
129
+ 'rs/sql/checkuser',
130
+ {data: data},
131
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
132
+ )
133
+
134
+ this.selectdata = res.data[0]
135
+ } else {
136
+ this.selectdata = servicedata
137
+ }
138
+
139
+ this.showtotal = false
140
+ this.$nextTick(() => {
141
+ this.showtotal = true
142
+ })
143
+
144
+ },
145
+ async openLater (row) {
146
+ this.selectdata = row
147
+ this.showLater = true
148
+ },
149
+ // 初始化
150
+ async 'apply' (val) {
151
+ this.showtotal = false
152
+ this.selectdata = val
153
+
154
+ // 次方法必须同步执行,否则后续会出问题
155
+ // 获取页面json配置文件
156
+ await this.loadName()
157
+
158
+ // 显示详细
159
+ this.showtotal = true
160
+ // 关闭列表数据
161
+ this.showData = false
162
+ // 关闭分页
163
+ this.$refs.query.$refs.cp.pager = false
164
+ },
165
+ 'search' () {
166
+ // 关闭详细
167
+ this.showtotal = false
168
+ // 显示列表数据
169
+ this.showData = true
170
+ // 显示分页
171
+ this.$refs.query.$refs.cp.pager = true
172
+ // 调用查询
173
+ this.$refs.query.$refs.cp.$refs.cri.search()
174
+ },
175
+ 'loadPage' () {
176
+ // 关闭详细
177
+ this.showtotal = false
178
+ // 显示列表数据
179
+ this.showData = true
180
+ // 显示分页
181
+ this.$refs.query.$refs.cp.pager = true
182
+ // 调用查询
183
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
184
+ }
185
+ },
186
+ watch: {
187
+ }
188
+ }
189
+ </script>
@@ -1,142 +1,142 @@
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: 100px;
31
- top: 120px;
32
- width: 150px;
33
- height: 150px;
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
- <td colspan="2" style="border: none">
47
- 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
48
- </td>
49
- <td colspan="2" style="border: none">
50
- 收据编码:{{ charge.f_charge_number }}
51
- </td>
52
- <td colspan="2" style="border: none">
53
- 状态:{{ charge.f_charge_status }}
54
- </td>
55
- </tr>
56
- <tr>
57
- <td style="width: 17%">用户姓名</td>
58
- <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
59
- <td style="width: 17%">用户编号</td>
60
- <td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
61
- </tr>
62
- <tr>
63
- <td>用户地址</td>
64
- <td colspan="5">{{ selectdata.f_address }}</td>
65
- </tr>
66
- <tr>
67
- <td>收款项目</td>
68
- <td colspan="2">{{ charge.f_payment_term }}</td>
69
- <td>收款方式</td>
70
- <td colspan="2">{{ charge.f_payment_method }}</td>
71
- </tr>
72
- <tr>
73
- <td>金额</td>
74
- <td colspan="2">{{ charge.f_charge_money }}</td>
75
- <td>金额大写</td>
76
- <td colspan="2">{{ charge.f_amount_words }}</td>
77
- </tr>
78
- <tr>
79
- <td>收款人</td>
80
- <td colspan="2">{{ charge.f_charge_collectors }}</td>
81
- <td>销售方(章)</td>
82
- <td colspan="2"></td>
83
- </tr>
84
- <tr>
85
- <td>备&emsp;&emsp;注</td>
86
- <td colspan="5">{{ charge.f_charge_remarks }}</td>
87
- </tr>
88
- <tr>
89
- <td colspan="6">
90
- 请持此收据到{{orgs}}营业厅换取发票
91
- </td>
92
- </tr>
93
- </table>
94
- <img class="seal" border="0" :src="src" alt="">
95
- </div>
96
-
97
- <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
98
- top='20' left='30' width='100%' height='100%'>
99
- </print-element>
100
- </template>
101
-
102
- <script>
103
- import { isEmpty } from '../../../../Util'
104
- Date.prototype.Format = function (fmt) {
105
- var o = {
106
- "M+": this.getMonth() + 1, //月份
107
- "d+": this.getDate(), //日
108
- "H+": this.getHours(), //小时
109
- "m+": this.getMinutes(), //分
110
- "s+": this.getSeconds(), //秒
111
- "q+": Math.floor((this.getMonth() + 3) / 3), //季度
112
- "S": this.getMilliseconds() //毫秒
113
- };
114
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
115
- for (var k in o)
116
- if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
117
- return fmt;
118
- }
119
- export default {
120
- title: '打印收费票据',
121
- props: ['selectdata', 'charge'],
122
- data () {
123
- return {}
124
- },
125
- ready () {
126
- },
127
- methods: {
128
- },
129
- computed: {
130
- orgs () {
131
- return this.$login.f.orgs
132
- },
133
- src () {
134
- return require(`./img/${this.$login.f.number}.png`)
135
- }
136
- }
137
- }
138
- </script>
139
-
140
- <style scoped>
141
-
142
- </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: 100px;
31
+ top: 120px;
32
+ width: 150px;
33
+ height: 150px;
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
+ <td colspan="2" style="border: none">
47
+ 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
48
+ </td>
49
+ <td colspan="2" style="border: none">
50
+ 收据编码:{{ charge.f_charge_number }}
51
+ </td>
52
+ <td colspan="2" style="border: none">
53
+ 状态:{{ charge.f_charge_status }}
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td style="width: 17%">用户姓名</td>
58
+ <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
59
+ <td style="width: 17%">用户编号</td>
60
+ <td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
61
+ </tr>
62
+ <tr>
63
+ <td>用户地址</td>
64
+ <td colspan="5">{{ selectdata.f_address }}</td>
65
+ </tr>
66
+ <tr>
67
+ <td>收款项目</td>
68
+ <td colspan="2">{{ charge.f_payment_term }}</td>
69
+ <td>收款方式</td>
70
+ <td colspan="2">{{ charge.f_payment_method }}</td>
71
+ </tr>
72
+ <tr>
73
+ <td>金额</td>
74
+ <td colspan="2">{{ charge.f_charge_money }}</td>
75
+ <td>金额大写</td>
76
+ <td colspan="2">{{ charge.f_amount_words }}</td>
77
+ </tr>
78
+ <tr>
79
+ <td>收款人</td>
80
+ <td colspan="2">{{ charge.f_charge_collectors }}</td>
81
+ <td>销售方(章)</td>
82
+ <td colspan="2"></td>
83
+ </tr>
84
+ <tr>
85
+ <td>备&emsp;&emsp;注</td>
86
+ <td colspan="5">{{ charge.f_charge_remarks }}</td>
87
+ </tr>
88
+ <tr>
89
+ <td colspan="6">
90
+ 请持此收据到{{orgs}}营业厅换取发票
91
+ </td>
92
+ </tr>
93
+ </table>
94
+ <img class="seal" border="0" :src="src" alt="">
95
+ </div>
96
+
97
+ <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
98
+ top='20' left='30' width='100%' height='100%'>
99
+ </print-element>
100
+ </template>
101
+
102
+ <script>
103
+ import { isEmpty } from '../../../../Util'
104
+ Date.prototype.Format = function (fmt) {
105
+ var o = {
106
+ "M+": this.getMonth() + 1, //月份
107
+ "d+": this.getDate(), //日
108
+ "H+": this.getHours(), //小时
109
+ "m+": this.getMinutes(), //分
110
+ "s+": this.getSeconds(), //秒
111
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
112
+ "S": this.getMilliseconds() //毫秒
113
+ };
114
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
115
+ for (var k in o)
116
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
117
+ return fmt;
118
+ }
119
+ export default {
120
+ title: '打印收费票据',
121
+ props: ['selectdata', 'charge'],
122
+ data () {
123
+ return {}
124
+ },
125
+ ready () {
126
+ },
127
+ methods: {
128
+ },
129
+ computed: {
130
+ orgs () {
131
+ return this.$login.f.orgs
132
+ },
133
+ src () {
134
+ return require(`./img/${this.$login.f.number}.png`)
135
+ }
136
+ }
137
+ }
138
+ </script>
139
+
140
+ <style scoped>
141
+
142
+ </style>