apply-clients 3.3.2-80-test → 3.3.2-80-zk
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.
- package/build/dev-server.js +2 -8
- package/build/webpack.test.conf.js +3 -0
- package/package.json +2 -2
- package/src/apply.js +1 -18
- package/src/applyAndroid.js +1 -1
- package/src/components/android/AppSign.vue +2 -2
- package/src/components/android/Process/AppServiceControl.vue +2 -2
- package/src/components/android/Process/Processes/AppAddMaterialScience.vue +38 -46
- package/src/components/android/Process/Processes/AppAddSetMeal.vue +438 -0
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +1 -1
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +325 -347
- package/src/components/product/Function/InstallFunction.vue +133 -133
- package/src/components/product/Material/MaterialDetailed.vue +0 -8
- package/src/components/product/Print/BuildOrder/buildZbfOrderList.vue +16 -0
- package/src/components/product/Process/ExplorationSelect.vue +9 -26
- package/src/components/product/Process/ExplorationUser.vue +190 -190
- package/src/components/product/Process/Processes/addMaterialScience.vue +40 -34
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +18 -38
- package/src/components/product/Process/Processes/chargeManagement.vue +4 -10
- package/src/components/product/Process/Processes/supplementalAgreement.vue +3 -15
- package/src/components/product/Process/Service/ServiceControl.vue +3 -32
- package/src/components/product/Supervisory/SupervisoryControl.vue +147 -147
- package/src/components/product/Supervisory/SupervisoryList.vue +0 -2
- package/src/components/product/VueUtils/ApplyUpload.vue +4 -30
- package/src/components/report/Baojianwancheng.vue +1 -1
- package/src/components/product/ApplyCharge/ApplyAgreementList.vue +0 -275
- package/src/components/product/ApplyCharge/ApplyUnpaidList.vue +0 -296
- package/src/components/product/GroupByApply/ApplyGroupAgreementByMain.vue +0 -53
- package/src/components/product/GroupByApply/ApplyGroupAgreementList.vue +0 -104
- package/src/components/product/GroupByApply/ApplyGroupByAgreement.vue +0 -212
- package/src/components/product/GroupByApply/ApplyGroupByContract.vue +0 -222
- package/src/components/product/GroupByApply/ApplyGroupContractByMain.vue +0 -53
- package/src/components/product/GroupByApply/ApplyGroupContractList.vue +0 -135
- package/src/components/product/Process/Processes/DeleteAddressAndUserinfoManagement.vue +0 -319
- package/src/components/product/Process/Processes/DeleteUserinfo.vue +0 -161
- package/src/components/product/Process/Processes/OperationsAddMaterialScience.vue +0 -456
- package/src/components/product/Process/Processes/returnChargeManagement.vue +0 -327
package/build/dev-server.js
CHANGED
|
@@ -8,15 +8,9 @@ var compiler = webpack(config)
|
|
|
8
8
|
// var proxy = httpProxy.createProxyServer()
|
|
9
9
|
// var ldap = 'http://121.36.79.201:8400'
|
|
10
10
|
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
-
var ldap = 'http://192.168.20.28:8400'
|
|
12
|
-
var applyinstall = 'http://192.168.20.28:8400'
|
|
11
|
+
var ldap = 'http://192.168.20.28:8400/'
|
|
12
|
+
var applyinstall = 'http://192.168.20.28:8400/'
|
|
13
13
|
var proxyTable = {
|
|
14
|
-
'/zhoukou-oracle':{
|
|
15
|
-
target: ldap
|
|
16
|
-
},
|
|
17
|
-
'/webapps/applyinstall/excel':{
|
|
18
|
-
target: ldap
|
|
19
|
-
},
|
|
20
14
|
'/wx': {
|
|
21
15
|
target: ldap
|
|
22
16
|
},
|
|
@@ -6,6 +6,9 @@ var merge = require('webpack-merge')
|
|
|
6
6
|
var baseConfig = require('./webpack.base.conf')
|
|
7
7
|
|
|
8
8
|
var webpackConfig = merge(baseConfig, {
|
|
9
|
+
module: {
|
|
10
|
+
rules: utils.styleLoaders()
|
|
11
|
+
},
|
|
9
12
|
// use inline sourcemap for karma-sourcemap-loader
|
|
10
13
|
devtool: '#inline-source-map',
|
|
11
14
|
resolveLoader: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "3.3.2-80-
|
|
3
|
+
"version": "3.3.2-80-zk",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"sinon-chai": "^2.8.0",
|
|
93
93
|
"style": "0.0.3",
|
|
94
94
|
"style-loader": "^0.20.3",
|
|
95
|
-
"system-clients": "3.
|
|
95
|
+
"system-clients": "3.1.87",
|
|
96
96
|
"system-phone": "1.2.96",
|
|
97
97
|
"url-loader": "^0.5.7",
|
|
98
98
|
"vue-client": "1.24.33",
|
package/src/apply.js
CHANGED
|
@@ -77,7 +77,6 @@ export default function () {
|
|
|
77
77
|
Vue.component('back-page', (resolve) => { require(['./components/product/VueUtils/ToolsPage'], resolve) })
|
|
78
78
|
Vue.component('tree2', (resolve) => { require(['./components/product/VueUtils/Tree'], resolve) })
|
|
79
79
|
Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
|
|
80
|
-
Vue.component('image-preview', (resolve) => { require(['./components/product/VueUtils/ImagePreview.vue'], resolve) })
|
|
81
80
|
// Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/GaoPaiYi/HighMeter'], resolve) })
|
|
82
81
|
Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/HighMeter'], resolve) })
|
|
83
82
|
|
|
@@ -117,21 +116,5 @@ export default function () {
|
|
|
117
116
|
Vue.component('build-zbf-order-list', (resolve) => { require(['./components/product/Print/BuildOrder/buildZbfOrderList'], resolve) })
|
|
118
117
|
Vue.component('dimission-person', (resolve) => { require(['./components/product/Process/DimissionPerson.vue'], resolve) })
|
|
119
118
|
Vue.component('apply-res-select', (resolve) => { require(['./components/product/Process/ResSelect'], resolve) })
|
|
120
|
-
Vue.component('
|
|
121
|
-
Vue.component('delete-userinfo', (resolve) => { require(['./components/product/Process/Processes/DeleteUserinfo.vue'], resolve) })
|
|
122
|
-
Vue.component('return-charge-management', (resolve) => { require(['./components/product/Process/Processes/returnChargeManagement.vue'], resolve) })
|
|
123
|
-
/** 团购主子流程合同查看**/
|
|
124
|
-
Vue.component('apply-group-contract-main', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupContractByMain'], resolve) })
|
|
125
|
-
Vue.component('apply-group-contract', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupByContract'], resolve) })
|
|
126
|
-
Vue.component('apply-group-contract-list', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupContractList'], resolve) })
|
|
127
|
-
/** 主合同与附加协议**/
|
|
128
|
-
Vue.component('apply-group-agreement-main', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupAgreementByMain'], resolve) })
|
|
129
|
-
Vue.component('apply-group-agreement', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupByAgreement'], resolve) })
|
|
130
|
-
Vue.component('apply-group-agreement-list', (resolve) => { require(['./components/product/GroupByApply/ApplyGroupAgreementList'], resolve) })
|
|
131
|
-
/** 欠费统计**/
|
|
132
|
-
Vue.component('apply-unpaid-list', (resolve) => { require(['./components/product/ApplyCharge/ApplyUnpaidList.vue'], resolve) })
|
|
133
|
-
/** 附加协议记录**/
|
|
134
|
-
Vue.component('apply-agreement-list', (resolve) => { require(['./components/product/ApplyCharge/ApplyAgreementList.vue'], resolve) })
|
|
135
|
-
/** 获取所有分类的材料*/
|
|
136
|
-
Vue.component('operations-material-science', (resolve) => { require(['./components/product/Process/Processes/OperationsAddMaterialScience.vue'], resolve) })
|
|
119
|
+
Vue.component('image-preview', (resolve) => { require(['./components/product/VueUtils/ImagePreview.vue'], resolve) })
|
|
137
120
|
}
|
package/src/applyAndroid.js
CHANGED
|
@@ -45,7 +45,7 @@ export default function () {
|
|
|
45
45
|
Vue.component('app-qrcode-reader', (resolve) => { require(['./components/android/AreaSelect/AppQrcodeReader'], resolve) })
|
|
46
46
|
// 报建接单
|
|
47
47
|
Vue.component('app-exploration-receivingorders', (resolve) => { require(['./components/android/Process/AppExplorationReceivingorders'], resolve) })
|
|
48
|
-
|
|
49
48
|
Vue.component('app-input-select', (resolve) => { require(['./components/product/InputAndSelect'], resolve) })
|
|
50
49
|
Vue.component('app-v-select', (resolve) => { require(['./components/product/Select'], resolve) })
|
|
50
|
+
Vue.component('app-add-set-meal', (resolve) => { require(['./components/android/Process/Processes/AppAddSetMeal'], resolve) })
|
|
51
51
|
}
|
|
@@ -40,7 +40,7 @@ export default {
|
|
|
40
40
|
this.$emit('sign-clean')
|
|
41
41
|
},
|
|
42
42
|
sign () {
|
|
43
|
-
|
|
43
|
+
debugger
|
|
44
44
|
this.type='手机签字'
|
|
45
45
|
console.log('==============签字打印this============',this)
|
|
46
46
|
this.delAudioFile(this.f_sign_path)
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
89
89
|
HostApp.__this__.getFiles(res.id)
|
|
90
90
|
},
|
|
91
91
|
async getFiles (fileid) {
|
|
92
|
-
|
|
92
|
+
debugger
|
|
93
93
|
console.log('=========进来===============')
|
|
94
94
|
let http = new HttpResetClass()
|
|
95
95
|
console.log('=========进来===============')
|
|
@@ -456,7 +456,7 @@ export default {
|
|
|
456
456
|
{resolveMsg: null, rejectMsg: '报建数据查询失败!!!'}
|
|
457
457
|
)
|
|
458
458
|
console.log('打印查询的内容',restp2)
|
|
459
|
-
|
|
459
|
+
debugger
|
|
460
460
|
if(restp2.length>0){
|
|
461
461
|
let _this = this
|
|
462
462
|
// this.$dispatch('gotoson', {
|
|
@@ -470,7 +470,7 @@ export default {
|
|
|
470
470
|
this.excessive=false
|
|
471
471
|
}else{
|
|
472
472
|
this.excessive=false
|
|
473
|
-
|
|
473
|
+
debugger
|
|
474
474
|
this.$dispatch('confirm')
|
|
475
475
|
this.$dispatch('confirm')
|
|
476
476
|
this.$dispatch('confirm')
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
<template v-if="mark !== 1">
|
|
143
143
|
<span class="modal-title me-3">累计金额:{{totalmoney}}</span>
|
|
144
144
|
<button type="button" class="btn btn-primary" v-if="title==='新增'" @click="pushMaterial()">添加材料</button>
|
|
145
|
-
<button type="button" class="btn btn-primary" v-if="title==='新增'" @click="
|
|
145
|
+
<button type="button" class="btn btn-primary" v-if="title==='新增'" @click="addMaterial()"
|
|
146
146
|
:disabled="!$v.valid">确认添加
|
|
147
147
|
</button>
|
|
148
148
|
<button type="button" class="btn btn-primary" v-if="title==='修改'" @click="updateConfirm()"
|
|
@@ -151,42 +151,12 @@
|
|
|
151
151
|
</template>
|
|
152
152
|
</footer>
|
|
153
153
|
</modal>
|
|
154
|
-
<modal v-if="showCharge" :show.sync="showCharge" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
155
|
-
<header slot="modal-header" class="modal-header">
|
|
156
|
-
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
157
|
-
<h4 class="modal-title">材料收费</h4>
|
|
158
|
-
</header>
|
|
159
|
-
<article slot="modal-body" class="modal-body clearfix">
|
|
160
|
-
<div class="form-group row vertical-center">
|
|
161
|
-
<label class="col-xs-4 control-label">付款方式:</label>
|
|
162
|
-
<div class="col-xs-8">
|
|
163
|
-
<input-select class="select select_list"
|
|
164
|
-
v-model="f_payment_method"
|
|
165
|
-
:value.sync="f_payment_method"
|
|
166
|
-
:options='paymentMethod'
|
|
167
|
-
@change="paymentMethodChange"
|
|
168
|
-
:value-single="true"
|
|
169
|
-
close-on-select ></input-select>
|
|
170
|
-
</div>
|
|
171
|
-
</div>
|
|
172
|
-
<div class="text-center" v-if="f_payment_method=='二维码'">
|
|
173
|
-
<p><b>收费金额:{{ totalmoney }}¥</b></p>
|
|
174
|
-
<div id="qrcode" class="qrcode" v-ref:qrcode></div>
|
|
175
|
-
<p>
|
|
176
|
-
等待支付,剩余 <span style="color: #ff791a">{{timeLeft}}</span> 秒
|
|
177
|
-
</p>
|
|
178
|
-
<button type="button" @click="closeQRCode">取消支付</button>
|
|
179
|
-
</div>
|
|
180
|
-
</article>
|
|
181
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
182
|
-
<button v-if="f_payment_method!='二维码'" id="savebut" type="button" class="btn btn-primary" @click.prevent="addMaterial()">确认</button>
|
|
183
|
-
</footer>
|
|
184
|
-
</modal>
|
|
185
154
|
</div>
|
|
186
155
|
</template>
|
|
187
156
|
<script>
|
|
188
157
|
import Vue from 'vue'
|
|
189
158
|
import {HttpResetClass} from 'vue-client'
|
|
159
|
+
import QRCode from 'qrcodejs2'
|
|
190
160
|
export default {
|
|
191
161
|
name: 'addMaterialScience',
|
|
192
162
|
props: {
|
|
@@ -226,17 +196,11 @@ export default {
|
|
|
226
196
|
bjqChecklag:[],
|
|
227
197
|
fmaterialname:{},
|
|
228
198
|
filiale:"",
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
{
|
|
235
|
-
value: '二维码',
|
|
236
|
-
label: '二维码'
|
|
237
|
-
}
|
|
238
|
-
],
|
|
239
|
-
isShow:[false]
|
|
199
|
+
totalPrice:0,
|
|
200
|
+
isShow:[false],
|
|
201
|
+
charge: {
|
|
202
|
+
payment_terms:[]
|
|
203
|
+
},
|
|
240
204
|
}
|
|
241
205
|
},
|
|
242
206
|
ready() {
|
|
@@ -299,6 +263,10 @@ export default {
|
|
|
299
263
|
{resolveMsg: null, rejectMsg: 'onetomany查询失败'}
|
|
300
264
|
)
|
|
301
265
|
this.onetomany.rows = res.data
|
|
266
|
+
this.totalPrice = 0
|
|
267
|
+
for (let i = 0; i < this.onetomany.rows.length; i++) {
|
|
268
|
+
this.totalPrice=this.totalPrice+(parseFloat(this.onetomany.rows[i].f_material_price)*parseFloat(this.onetomany.rows[i].f_material_number))
|
|
269
|
+
}
|
|
302
270
|
},
|
|
303
271
|
async openMaterialModal() {
|
|
304
272
|
this.getMateralNames()
|
|
@@ -446,6 +414,7 @@ export default {
|
|
|
446
414
|
// 清除二维码
|
|
447
415
|
this.clearQrCode()
|
|
448
416
|
this.addMaterial()
|
|
417
|
+
this.saveCharge()
|
|
449
418
|
}
|
|
450
419
|
},
|
|
451
420
|
qrcode () {
|
|
@@ -463,6 +432,7 @@ export default {
|
|
|
463
432
|
this.title = '新增'
|
|
464
433
|
let data = {
|
|
465
434
|
f_process_id: this.selectdata.f_process_id,
|
|
435
|
+
f_userinfo_code: this.selectdata.f_userinfo_code,
|
|
466
436
|
f_operator_id: Vue.user.id,
|
|
467
437
|
f_operator: Vue.user.name,
|
|
468
438
|
f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
@@ -483,8 +453,33 @@ export default {
|
|
|
483
453
|
`${this.$androidUtil.getProxyUrl()}/rs/logic/saveMaterials`,
|
|
484
454
|
data
|
|
485
455
|
)
|
|
456
|
+
await this.getOnetoManyData()
|
|
457
|
+
if(this.selectdata.f_apply_type='改管报建'){
|
|
458
|
+
this.$dispatch('addMaterial', this.totalPrice)
|
|
459
|
+
}
|
|
486
460
|
this.closeMaterials()
|
|
487
461
|
},
|
|
462
|
+
saveCharge(){
|
|
463
|
+
for (let i = 0; i < this.materials.length; i++) {
|
|
464
|
+
this.charge.payment_terms.push(
|
|
465
|
+
{
|
|
466
|
+
f_payment_term: this.materials[i].f_material_name,
|
|
467
|
+
f_charge_money: this.materials[i].price,
|
|
468
|
+
f_amount_words:this.smalltoBIG(this.materials[i].price),
|
|
469
|
+
f_payment_method : '手机APP'
|
|
470
|
+
})
|
|
471
|
+
}
|
|
472
|
+
let info = {
|
|
473
|
+
apply: this.selectdata,
|
|
474
|
+
charge: this.charge,
|
|
475
|
+
user: Vue.user,
|
|
476
|
+
f_out_trade_no:this.order.f_out_trade_no
|
|
477
|
+
}
|
|
478
|
+
http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/NewAddChargeRecord`,{data:info},{
|
|
479
|
+
resolveMsg: null,
|
|
480
|
+
rejectMsg: null
|
|
481
|
+
})
|
|
482
|
+
},
|
|
488
483
|
async addMaterialAfter() {
|
|
489
484
|
let data = {
|
|
490
485
|
f_out_trade_no:this.order.f_out_trade_no
|
|
@@ -602,9 +597,6 @@ export default {
|
|
|
602
597
|
}
|
|
603
598
|
},
|
|
604
599
|
beforeDestroy() {
|
|
605
|
-
clearInterval(this.paymentInterval)
|
|
606
|
-
clearInterval(this.orderInterval)
|
|
607
|
-
this.clearQrCode() // 清理二维码DOM
|
|
608
600
|
}
|
|
609
601
|
}
|
|
610
602
|
|