apply-clients 3.5.5-8 → 3.5.5-80
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 +5 -13
- package/package.json +6 -4
- package/src/App.vue +25 -25
- package/src/apply.js +141 -141
- package/src/components/QXClient.js +333 -0
- package/src/components/SignTools.js +65 -0
- package/src/components/android/Process/AppChargeList.vue +8 -0
- package/src/components/android/Process/AppExplorationUser.vue +1 -2
- package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
- package/src/components/product/Install/ContractCharge.vue +3 -3
- package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -181
- package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
- package/src/components/product/Process/Processes/contractModel.vue +436 -424
- package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
- package/src/filiale/baiyin/android/ByAddMaterialScience.vue +2 -0
- package/src/filiale/dingcheng/pc/SupervisoryList.vue +441 -441
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +20 -16
- package/src/filiale/fugou/android/AppAddReplacement.vue +512 -341
- package/src/filiale/fugou/android/AppDevicesManagement.vue +3 -1
- package/src/filiale/fugou/android/AppExplorationUser.vue +3 -3
- package/src/filiale/fugou/android/AppInstallationDetails.vue +2 -1
- package/src/filiale/fugou/android/AppServiceControl.vue +11 -7
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +3 -1
- package/src/filiale/fugou/pc/AddReplacement.vue +511 -340
- package/src/filiale/fugou/pc/ApplyChargeList.vue +487 -480
- package/src/filiale/fugou/pc/Applybatchdispatch.vue +754 -0
- package/src/filiale/fugou/pc/ExplorationSelect.vue +3 -4
- package/src/filiale/fugou/pc/ServiceControl.vue +1720 -1705
- package/src/filiale/fugou/pc/StopApplyList.vue +291 -0
- package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +1 -1
- package/src/filiale/fugou/pc/chargeReport.vue +87 -15
- package/src/filiale/fugou/pc/devicesManagement.vue +1 -0
- package/src/filiale/fugou/pc.js +19 -17
- package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -214
- package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -500
- package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -309
- package/src/filiale/gongyi/android/AppSign.vue +170 -170
- package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -298
- package/src/filiale/gongyi/android.js +18 -18
- package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -371
- package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -221
- package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -218
- package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -309
- package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
- package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -1005
- package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -575
- package/src/filiale/gongyi/pc/chargeManagement.vue +765 -765
- package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -277
- package/src/filiale/gongyi/pc.js +24 -24
- package/src/filiale/hongda/pc/SupervisoryList.vue +422 -422
- package/src/filiale/jingyang/pc/SupervisoryList.vue +459 -459
- package/src/filiale/jinhuang/android/AppAddMaterialScience.vue +635 -0
- package/src/filiale/jinhuang/android.js +6 -0
- package/src/filiale/jinhuang/pc/ContractList.vue +220 -0
- package/src/filiale/jinhuang/pc/ExplorationSelect.vue +523 -0
- package/src/filiale/jinhuang/pc/ServiceControl.vue +7 -0
- package/src/filiale/jinhuang/pc/addMaterialScience.vue +638 -0
- package/src/filiale/jinhuang/pc/addressAndUserinfoManagement.vue +41 -1
- package/src/filiale/jinhuang/pc.js +3 -0
- package/src/filiale/qianneng/android/AppServiceView.vue +13 -13
- package/src/filiale/qianneng/pc/ApplyMaterialDetailed.vue +1 -1
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +8 -5
- package/src/filiale/qianneng/pc/Applydetail.vue +1 -1
- package/src/filiale/qianneng/pc/FunctionServiceControl.vue +10 -3
- package/src/filiale/qianneng/pc/ServiceControl.vue +8 -3
- package/src/filiale/ruihua/pc/ServiceControl.vue +2 -1
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +11 -4
- package/src/filiale/yangchunboneng/android/AppContractCharge.vue +3 -3
- package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +72 -5
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +30 -1
- package/src/filiale/yangchunboneng/android/AppProcessSupervisory.vue +331 -0
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +219 -43
- package/src/filiale/yangchunboneng/android/MaterIialOne.vue +21 -1
- package/src/filiale/yangchunboneng/android.js +2 -1
- package/src/filiale/yangchunboneng/pc/ApplyChargeList.vue +32 -4
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +3 -3
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +114 -49
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +4 -2
- package/src/filiale/yangchunboneng/pc/StopApplyList.vue +294 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryControl.vue +141 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +54 -42
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +5 -1
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1 -1
- package/src/filiale/yangchunboneng/pc/buildOrderList.vue +411 -0
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +5 -1
- package/src/filiale/yangchunboneng/pc/constructionInfo.vue +84 -0
- package/src/filiale/yangchunboneng/pc/printBuildOrder.vue +175 -0
- package/src/filiale/yangchunboneng/pc.js +6 -1
- package/src/main.js +1 -1
- package/~/chatbot/main.py +0 -57
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
@click="$parent.$parent.$parent.showFileModal()">导入</button>
|
|
31
31
|
<a type="button" class="btn btn-info head-but"
|
|
32
32
|
href="/apply/download/excel/批量导入.xlsx" download>模板下载</a>
|
|
33
|
+
<button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.$parent.add('民用')">添加地址</button>
|
|
33
34
|
</th>
|
|
34
35
|
</tr>
|
|
35
36
|
</template>
|
|
@@ -99,13 +100,39 @@
|
|
|
99
100
|
</article>
|
|
100
101
|
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
101
102
|
</modal>
|
|
103
|
+
|
|
104
|
+
<!-- 添加民用弹窗 -->
|
|
105
|
+
<modal :show.sync="showUserAddress" large backdrop="false" :width="900">
|
|
106
|
+
<header slot="modal-header" class="modal-header">
|
|
107
|
+
<button type="button" class="close" @click="closeUserAddress"><span>×</span></button>
|
|
108
|
+
<h4 class="modal-title">添加民用地址</h4>
|
|
109
|
+
</header>
|
|
110
|
+
<article slot="modal-body" class="modal-body">
|
|
111
|
+
<user-address
|
|
112
|
+
:f_filialeids="selectdata.f_filialeid || this.$login.f.orgid"
|
|
113
|
+
:usertype="false"
|
|
114
|
+
:onedata="'more'"
|
|
115
|
+
:row="{}"
|
|
116
|
+
:operation="'add'"
|
|
117
|
+
:selectdata="selectdata"
|
|
118
|
+
:user="this.$login.f"
|
|
119
|
+
@cancel="closeUserAddress"
|
|
120
|
+
@confirm="closeUserAddress"
|
|
121
|
+
></user-address>
|
|
122
|
+
</article>
|
|
123
|
+
<footer slot="modal-footer" class="modal-footer" style="display: none"></footer>
|
|
124
|
+
</modal>
|
|
102
125
|
</template>
|
|
103
126
|
<script>
|
|
104
127
|
import {PagedList} from 'vue-client'
|
|
105
128
|
import {HttpResetClass} from 'vue-client'
|
|
129
|
+
import UserAddress from 'address-client/src/components/UserAddress.vue'
|
|
106
130
|
|
|
107
131
|
export default {
|
|
108
132
|
title: '地址管理',
|
|
133
|
+
components: {
|
|
134
|
+
UserAddress
|
|
135
|
+
},
|
|
109
136
|
props: {
|
|
110
137
|
selectdata: {
|
|
111
138
|
type: Object
|
|
@@ -124,13 +151,23 @@
|
|
|
124
151
|
f_process_id: this.selectdata.f_process_id
|
|
125
152
|
}
|
|
126
153
|
}),
|
|
127
|
-
showWork: false
|
|
154
|
+
showWork: false,
|
|
155
|
+
showUserAddress: false
|
|
128
156
|
}
|
|
129
157
|
},
|
|
130
158
|
ready () {
|
|
131
159
|
this.search()
|
|
132
160
|
},
|
|
133
161
|
methods: {
|
|
162
|
+
//添加方法
|
|
163
|
+
add(val){
|
|
164
|
+
if(val === '民用') {
|
|
165
|
+
this.showUserAddress = true
|
|
166
|
+
}
|
|
167
|
+
this.$refs.paged.$refs.grid.selectStore.selected = null
|
|
168
|
+
this.$dispatch('add',val)
|
|
169
|
+
this.showrightchange = false;
|
|
170
|
+
},
|
|
134
171
|
showFileModal() {
|
|
135
172
|
this.showFile = !this.showFile
|
|
136
173
|
},
|
|
@@ -144,6 +181,9 @@
|
|
|
144
181
|
// 将选的文件清空
|
|
145
182
|
this.$refs.file.$el.querySelector('input').value = ''
|
|
146
183
|
this.search()
|
|
184
|
+
},
|
|
185
|
+
closeUserAddress() {
|
|
186
|
+
this.showUserAddress = false
|
|
147
187
|
}
|
|
148
188
|
},
|
|
149
189
|
events: {
|
|
@@ -3,6 +3,9 @@ import Vue from 'vue'
|
|
|
3
3
|
let specialComp = {
|
|
4
4
|
'apply-charge-management-new': (resolve) => { require(['./pc/chargeManagementNew'], resolve) },
|
|
5
5
|
'apply-address-userinfo-management': (resolve) => { require(['./pc/addressAndUserinfoManagement'], resolve) },
|
|
6
|
+
'add-material-science': (resolve) => { require(['./pc/addMaterialScience'], resolve) },
|
|
7
|
+
'contract-list': (resolve) => { require(['./pc/ContractList.vue'], resolve) },
|
|
8
|
+
'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
|
|
6
9
|
'service-control': (resolve) => { require(['./pc/ServiceControl.vue'], resolve) }
|
|
7
10
|
}
|
|
8
11
|
exports.specialComp = specialComp
|
|
@@ -343,24 +343,24 @@
|
|
|
343
343
|
</button>
|
|
344
344
|
</footer>
|
|
345
345
|
</modal>
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
346
|
+
<modal :show.sync="showmaterial" backdrop="false" style="overflow: scroll;height: 100%">
|
|
347
|
+
<header slot="modal-header" class="modal-header text-center">
|
|
348
|
+
<button type="button" class="close" @click="showmaterial = false"><span>×</span></button>
|
|
349
|
+
<h4 class="modal-title">材料收费列表</h4>
|
|
350
|
+
</header>
|
|
351
|
+
<article slot="modal-body">
|
|
352
|
+
<charges-list v-if="showmaterial" :selectdata = "selectdata"></charges-list>
|
|
353
|
+
</article>
|
|
354
|
+
<footer slot="modal-footer"></footer>
|
|
355
|
+
</modal>
|
|
356
|
+
</form>
|
|
357
357
|
</validator>
|
|
358
358
|
</div>
|
|
359
359
|
</template>
|
|
360
360
|
<script>
|
|
361
361
|
import Vue from 'vue'
|
|
362
362
|
import {isEmpty} from "../../../components/Util";
|
|
363
|
-
|
|
363
|
+
import chargesList from "telephone-clients/src/filiale/qianneng/android/chargesList";
|
|
364
364
|
// Date格式化
|
|
365
365
|
Date.prototype.Format = function (fmt) {
|
|
366
366
|
var o = {
|
|
@@ -413,7 +413,7 @@ export default {
|
|
|
413
413
|
|
|
414
414
|
},
|
|
415
415
|
components: {
|
|
416
|
-
|
|
416
|
+
'charges-list': chargesList
|
|
417
417
|
},
|
|
418
418
|
created () {
|
|
419
419
|
// 初始化数据
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<label class="font_normal_body">操 作 人:</label>
|
|
16
16
|
<input type="text" style="width: 60%" class="input_search" placeholder='操作人' v-model="model.f_operator"
|
|
17
17
|
v-on:keyup.enter="$parent.$parent.search()"
|
|
18
|
-
condition="
|
|
18
|
+
condition="toh.f_operator like '%{}%'">
|
|
19
19
|
</div>
|
|
20
20
|
<div class="form-group col-sm-3 button-range">
|
|
21
21
|
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
</tr>
|
|
349
349
|
<tr>
|
|
350
350
|
<td class="input-center" :style="stylecss">用气设备:</td>
|
|
351
|
-
<td class="input-center" colspan="2" :style="stylecss">{{f_gas_appliances}}</td>
|
|
351
|
+
<td class="input-center" colspan="2" :style="stylecss">{{userinfo.f_gas_appliances}}</td>
|
|
352
352
|
<td class="input-center" :style="stylecss">防盗卡号:</td>
|
|
353
353
|
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
354
354
|
</tr>
|
|
@@ -455,7 +455,7 @@
|
|
|
455
455
|
</tr>
|
|
456
456
|
<tr>
|
|
457
457
|
<td class="input-center" :style="stylecss">用气设备:</td>
|
|
458
|
-
<td class="input-center" colspan="2" :style="stylecss">{{f_gas_appliances}}</td>
|
|
458
|
+
<td class="input-center" colspan="2" :style="stylecss">{{userinfo.f_gas_appliances}}</td>
|
|
459
459
|
<td class="input-center" :style="stylecss">防盗卡号:</td>
|
|
460
460
|
<td class="input-center" colspan="2" :style="stylecss"></td>
|
|
461
461
|
</tr>
|
|
@@ -716,6 +716,10 @@ export default {
|
|
|
716
716
|
this.userinfo = {}
|
|
717
717
|
this.userfiles = {}
|
|
718
718
|
this.userinfo = {}
|
|
719
|
+
this.userinfo = row
|
|
720
|
+
if (this.userinfo.f_apply_type == '居民用户报建' || this.userinfo.f_apply_type == '居民团体单户报建'){
|
|
721
|
+
this.userinfo.f_gas_appliances = this.jsontostring(this.userinfo.f_gas_appliances)
|
|
722
|
+
}
|
|
719
723
|
let http = new HttpResetClass()
|
|
720
724
|
let condition1 = ''
|
|
721
725
|
if (row.f_sub_state === '完工') {
|
|
@@ -729,13 +733,13 @@ export default {
|
|
|
729
733
|
await http.load('POST', 'rs/sql/getUserFilesAndDevicesAmount', {data: data}, {
|
|
730
734
|
resolveMsg: null,
|
|
731
735
|
rejectMsg: null
|
|
732
|
-
}).then(res => {
|
|
736
|
+
}).then(async res => {
|
|
733
737
|
this.userfiles = res.data[0]
|
|
734
738
|
data = {
|
|
735
739
|
tablename: 'activityins',
|
|
736
740
|
condition: `id = (select max(id) from activityins where processid = '${row.f_process_id}' and defname = '合同签订') `
|
|
737
741
|
}
|
|
738
|
-
http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
|
|
742
|
+
await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
|
|
739
743
|
resolveMsg: null,
|
|
740
744
|
rejectMsg: null
|
|
741
745
|
}).then(res1 => {
|
|
@@ -743,7 +747,6 @@ export default {
|
|
|
743
747
|
this.userfor.finishtime = res1.data[0].finishtime.substring(0, 10)
|
|
744
748
|
})
|
|
745
749
|
})
|
|
746
|
-
this.userinfo = row
|
|
747
750
|
},
|
|
748
751
|
},
|
|
749
752
|
computed: {
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
</datepicker>
|
|
168
168
|
</div>
|
|
169
169
|
<div class="form-group col-sm-3">
|
|
170
|
-
|
|
170
|
+
<label for="ventilateEndDate" class="font_normal_body">结束时间:</label>
|
|
171
171
|
<datepicker id="ventilateEndDate" placeholder="通气验收结束日期"
|
|
172
172
|
style="width: 60%!important;"
|
|
173
173
|
v-model="model.ventilateEndDate"
|
|
@@ -564,14 +564,21 @@
|
|
|
564
564
|
// 搜索楼号
|
|
565
565
|
async 'searchbuilding' (index) {
|
|
566
566
|
this.setLabelValue('楼号/组', null)
|
|
567
|
+
this.selectdata.f_residential_area = this.getLableValue('小区')
|
|
568
|
+
this.selectdata.f_street = this.getLableValue('街道/乡镇')
|
|
569
|
+
if (isEmpty(this.selectdata.f_residential_area)){
|
|
570
|
+
return
|
|
571
|
+
}
|
|
567
572
|
let data = {
|
|
568
|
-
|
|
569
|
-
|
|
573
|
+
items:'b.f_building',
|
|
574
|
+
orderitem: 'b.id',
|
|
575
|
+
tablename: 't_building b left join t_area a on b.f_residential_area_id = a.id',
|
|
576
|
+
condition: `b.f_filialeid = '${this.$login.f.orgid}' and b.f_residential_area like '%${this.selectdata.f_residential_area}' and a.f_street = '${this.selectdata.f_street}'`
|
|
570
577
|
}
|
|
571
578
|
let http = new HttpResetClass()
|
|
572
579
|
let res = await http.load(
|
|
573
580
|
'POST',
|
|
574
|
-
`rs/sql/
|
|
581
|
+
`rs/sql/tel_singleTable_OrderBy`,
|
|
575
582
|
{data: data},
|
|
576
583
|
{resolveMsg: null, rejectMsg: '楼号查询失败!!!'}
|
|
577
584
|
)
|
|
@@ -1123,14 +1123,19 @@
|
|
|
1123
1123
|
// 搜索楼号
|
|
1124
1124
|
async 'searchbuilding' (index) {
|
|
1125
1125
|
this.setLabelValue('楼号/组', null)
|
|
1126
|
+
if (isEmpty(this.show_data.f_residential_area)){
|
|
1127
|
+
return
|
|
1128
|
+
}
|
|
1126
1129
|
let data = {
|
|
1127
|
-
|
|
1128
|
-
|
|
1130
|
+
items:'b.f_building',
|
|
1131
|
+
orderitem: 'b.id',
|
|
1132
|
+
tablename: 't_building b left join t_area a on b.f_residential_area_id = a.id',
|
|
1133
|
+
condition: `b.f_filialeid = '${this.$login.f.orgid}' and b.f_residential_area like '%${this.show_data.f_residential_area}%' and a.f_street = '${this.show_data.f_street}'`
|
|
1129
1134
|
}
|
|
1130
1135
|
let http = new HttpResetClass()
|
|
1131
1136
|
let res = await http.load(
|
|
1132
1137
|
'POST',
|
|
1133
|
-
`rs/sql/
|
|
1138
|
+
`rs/sql/tel_singleTable_OrderBy`,
|
|
1134
1139
|
{data: data},
|
|
1135
1140
|
{resolveMsg: null, rejectMsg: '楼号查询失败!!!'}
|
|
1136
1141
|
)
|
|
@@ -1820,7 +1820,8 @@ events: {
|
|
|
1820
1820
|
// 失去焦点出触发事件
|
|
1821
1821
|
'onchange' (index) {
|
|
1822
1822
|
if (this.show_data.defname === '报装申请' || this.show_data.defname === '信息确认') {
|
|
1823
|
-
|
|
1823
|
+
let f_user_name = this.getLableValue('用户名称')
|
|
1824
|
+
this.setLabelValue("用户名称", f_user_name.trim())
|
|
1824
1825
|
if (
|
|
1825
1826
|
this.show_data.fields[index].label === '区/县' ||
|
|
1826
1827
|
this.show_data.fields[index].label === '街道/乡镇' ||
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<div class="col-sm-12 col-xs-12 form-group app-btn">
|
|
4
|
-
<button
|
|
3
|
+
<div class="col-sm-12 col-xs-12 form-group app-btn" v-if="showadd">
|
|
4
|
+
<button class="btn btn-info" @click.prevent="showCharge = true">收费</button>
|
|
5
5
|
</div>
|
|
6
6
|
<div class="col-sm-12 col-xs-12">
|
|
7
7
|
<list :model="model" partial='list'>
|
|
@@ -452,10 +452,14 @@ export default {
|
|
|
452
452
|
}
|
|
453
453
|
if (flag){
|
|
454
454
|
let show_data = this.selectdata
|
|
455
|
-
show_data.user =
|
|
455
|
+
show_data.user = Vue.user
|
|
456
456
|
show_data.start_activity ='报装申请'
|
|
457
457
|
show_data.xmlfilename =this.selectdata.f_apply_type
|
|
458
|
-
show_data.
|
|
458
|
+
if (((show_data.f_apply_type == '民用散户报建流程' || show_data.f_apply_type == '民用预留户报建流程') && show_data.defname == '工程审批') || this.show_data.defname === '工程决算'){
|
|
459
|
+
show_data.button = {button_name:'跳过'}
|
|
460
|
+
}else {
|
|
461
|
+
show_data.button = {button_name:'提交'}
|
|
462
|
+
}
|
|
459
463
|
await this.$resetpost(
|
|
460
464
|
`${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyProductService`,
|
|
461
465
|
{data: show_data},
|
|
@@ -484,6 +488,9 @@ export default {
|
|
|
484
488
|
events: {
|
|
485
489
|
},
|
|
486
490
|
computed: {
|
|
491
|
+
showadd() {
|
|
492
|
+
return Vue.user.f_role_name.includes('报建收费')
|
|
493
|
+
},
|
|
487
494
|
paymentMethod() {
|
|
488
495
|
return this.$appdata.getParam("付款方式")
|
|
489
496
|
},
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<th>付款比例</th>
|
|
9
9
|
<th>应收金额</th>
|
|
10
10
|
<th>
|
|
11
|
-
<button type="button" class="btn btn-primary" @click="$parent.$parent.showAdd()">新增</button>
|
|
11
|
+
<button v-if="Vue.user.f_role_name.includes('付款预设-新增')" type="button" class="btn btn-primary" @click="$parent.$parent.showAdd()">新增</button>
|
|
12
12
|
</th>
|
|
13
13
|
</tr>
|
|
14
14
|
</template>
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
</td>
|
|
29
29
|
<td style="text-align: center;">
|
|
30
30
|
<nobr><font>
|
|
31
|
-
<button type="button" class="btn btn-primary" @click="$parent.$parent.updateData(row)">修改</button>
|
|
32
|
-
<button type="button" class="btn btn-primary" @click="$parent.$parent.delData(row)">删除</button>
|
|
31
|
+
<button v-if="Vue.user.f_role_name.includes('付款预设-修改')" type="button" class="btn btn-primary" @click="$parent.$parent.updateData(row)">修改</button>
|
|
32
|
+
<button v-if="Vue.user.f_role_name.includes('付款预设-删除')" type="button" class="btn btn-primary" @click="$parent.$parent.delData(row)">删除</button>
|
|
33
33
|
</font></nobr>
|
|
34
34
|
</td>
|
|
35
35
|
</tr>
|
|
@@ -40,13 +40,12 @@
|
|
|
40
40
|
width="100%"
|
|
41
41
|
v-model="model.f_apply_type"
|
|
42
42
|
placeholder='报建类型'
|
|
43
|
-
condition="u.f_apply_type
|
|
43
|
+
condition="u.f_apply_type in {}"
|
|
44
44
|
:value.sync="model.f_apply_type"
|
|
45
45
|
:options='$parent.$parent.applytype'
|
|
46
46
|
class="select select_list"
|
|
47
|
-
:
|
|
48
|
-
|
|
49
|
-
close-on-select ></v-select>
|
|
47
|
+
:multiple="true"
|
|
48
|
+
></v-select>
|
|
50
49
|
</div>
|
|
51
50
|
</div>
|
|
52
51
|
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
@@ -111,6 +110,70 @@
|
|
|
111
110
|
</datepicker>
|
|
112
111
|
</div>
|
|
113
112
|
</div>
|
|
113
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
114
|
+
<label class="">计划通气日期:</label>
|
|
115
|
+
<div class="col-xs-8" >
|
|
116
|
+
<datepicker id="startDate" placeholder="计划通气开始日期"
|
|
117
|
+
style="width: 100%!important;"
|
|
118
|
+
v-model="model.jihuastart"
|
|
119
|
+
:value.sync="model.jihuastart"
|
|
120
|
+
:format="'yyyy-MM-dd'"
|
|
121
|
+
:show-reset-button="true"
|
|
122
|
+
condition="u.f_reconnaissance_time >= '{}'">
|
|
123
|
+
</datepicker>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
127
|
+
<label class="">计划通气日期:</label>
|
|
128
|
+
<div class="col-xs-8" >
|
|
129
|
+
<datepicker id="startDate" placeholder="计划通气结束日期"
|
|
130
|
+
style="width: 100%!important;"
|
|
131
|
+
v-model="model.jihuaend"
|
|
132
|
+
:value.sync="model.jihuaend"
|
|
133
|
+
:format="'yyyy-MM-dd'"
|
|
134
|
+
:show-reset-button="true"
|
|
135
|
+
condition="u.f_reconnaissance_time <= '{}'">
|
|
136
|
+
</datepicker>
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
140
|
+
<label class="">预计通气时间:</label>
|
|
141
|
+
<div class="col-xs-8" >
|
|
142
|
+
<datepicker id="startDate" placeholder="预计通气开始时间"
|
|
143
|
+
style="width: 100%!important;"
|
|
144
|
+
v-model="model.yujistart"
|
|
145
|
+
:value.sync="model.yujistart"
|
|
146
|
+
:format="'yyyy-MM-dd'"
|
|
147
|
+
:show-reset-button="true"
|
|
148
|
+
condition="u.f_yjgase_time >= '{}'">
|
|
149
|
+
</datepicker>
|
|
150
|
+
</div>
|
|
151
|
+
</div>
|
|
152
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
153
|
+
<label class="">预计通气时间:</label>
|
|
154
|
+
<div class="col-xs-8" >
|
|
155
|
+
<datepicker id="startDate" placeholder="预计通气结束时间"
|
|
156
|
+
style="width: 100%!important;"
|
|
157
|
+
v-model="model.yujiend"
|
|
158
|
+
:value.sync="model.yujiend"
|
|
159
|
+
:format="'yyyy-MM-dd'"
|
|
160
|
+
:show-reset-button="true"
|
|
161
|
+
condition="u.f_yjgase_time <= '{}'">
|
|
162
|
+
</datepicker>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
166
|
+
<label class="">已收金额>=:</label>
|
|
167
|
+
<div class="col-xs-8" >
|
|
168
|
+
<input class="" v-model=model.f_cumulative_payment_money condition="u.f_cumulative_payment_money >= '{}'" />
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
172
|
+
<label class="">已收金额<=:</label>
|
|
173
|
+
<div class="col-xs-8" >
|
|
174
|
+
<input class="" v-model=model.f_cumulative_payment_money2 condition="u.f_cumulative_payment_money <= '{}'" />
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
114
177
|
<!-- <div class="row form-group app-input" v-if="$parent.$parent.criteriaShow">
|
|
115
178
|
<label class="">稍后处理:</label>
|
|
116
179
|
<div class="col-xs-8" >
|
|
@@ -157,6 +220,10 @@
|
|
|
157
220
|
<p class="col-xs-3 text-left font"><b>客户编号:</b></p>
|
|
158
221
|
<p :class="[ row.defname =='通气点火' && (row.f_apply_nature=='热水器' || row.f_apply_nature=='壁挂炉') ? 'redy' : (row.f_apply_nature=='热水器' || row.f_apply_nature=='壁挂炉' ? 'pred': (row.defname =='通气点火' ? 'p1':''))]" class="col-xs-9 text-left input-font">{{ row.f_userinfo_code }}</p>
|
|
159
222
|
</div>
|
|
223
|
+
<div class="col-xs-12">
|
|
224
|
+
<p class="col-xs-3 text-left font"><b>合同编号:</b></p>
|
|
225
|
+
<p class="col-xs-9 text-left input-font">{{ row.f_contract_number}}</p>
|
|
226
|
+
</div>
|
|
160
227
|
<div class="col-xs-12">
|
|
161
228
|
<p class="col-xs-3 text-left font"><b>合同金额:</b></p>
|
|
162
229
|
<p class="col-xs-9 text-left input-font">{{ row.f_contract_money}}</p>
|
|
@@ -295,7 +362,7 @@ export default {
|
|
|
295
362
|
// applyTypes:[{label:'散户报建',value:'散户报建'},{label:'工商户报建',value:'工商户报建'}],
|
|
296
363
|
criteriaShow: false,
|
|
297
364
|
// applytype: [{label: '全部', value: ''}, {label:'团购转散户',value:'团购转散户'} ], // 所有报建类型
|
|
298
|
-
defnames: [{label: '全部', value: ''}],
|
|
365
|
+
defnames: [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
|
|
299
366
|
applyNatures: [{label: '全部', value: ''}], // 报建性质
|
|
300
367
|
laterList: [
|
|
301
368
|
{label: '全部', value: ''},
|
|
@@ -183,6 +183,31 @@ export default {
|
|
|
183
183
|
|
|
184
184
|
},
|
|
185
185
|
methods: {
|
|
186
|
+
async getdefaultmaterial() {
|
|
187
|
+
this.material = []
|
|
188
|
+
let datarow = {
|
|
189
|
+
workname: 'materials'
|
|
190
|
+
}
|
|
191
|
+
let http = new HttpResetClass()
|
|
192
|
+
let row = await http.load(
|
|
193
|
+
'POST',
|
|
194
|
+
`${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetConfigs`,
|
|
195
|
+
{data: datarow},
|
|
196
|
+
{resolveMsg: null, rejectMsg: '配置数据获取失败!!!'})
|
|
197
|
+
let material = row.data[this.selectdata.f_apply_type]
|
|
198
|
+
if (!isEmpty(material)&& material.length>0){
|
|
199
|
+
for (let i = 0; i < material.length; i++){
|
|
200
|
+
this.material.push({
|
|
201
|
+
f_material_name: material[i].f_material_name,
|
|
202
|
+
f_material_style: material[i].f_material_style,
|
|
203
|
+
f_overlength_unitprice:"0",
|
|
204
|
+
f_overlength_number:"0",
|
|
205
|
+
f_discounts_money_detail:"0",
|
|
206
|
+
f_actual_materials_detail:"0"
|
|
207
|
+
})
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
},
|
|
186
211
|
delete_material(i) {
|
|
187
212
|
console.log('删除项====', i)
|
|
188
213
|
this.material.splice(i, 1)
|
|
@@ -269,6 +294,7 @@ export default {
|
|
|
269
294
|
}
|
|
270
295
|
// 所有型号
|
|
271
296
|
this.newmaterialnameandtype =materialNumbers
|
|
297
|
+
this.getdefaultmaterial()
|
|
272
298
|
}).catch((e) => {
|
|
273
299
|
console.log("933", e)
|
|
274
300
|
})
|
|
@@ -637,7 +663,10 @@ export default {
|
|
|
637
663
|
this.material.forEach((row) => {
|
|
638
664
|
if (row.f_material_price != 0) {
|
|
639
665
|
if(row.f_material_name.name=="自闭阀"){
|
|
640
|
-
str=
|
|
666
|
+
str=this.$appdata.getSingleValue(`报建自闭阀收费类型`)
|
|
667
|
+
}
|
|
668
|
+
if(row.f_material_name.name=="燃具管(连接管)"){
|
|
669
|
+
str=this.$appdata.getSingleValue(`报建燃具管收费类型`)
|
|
641
670
|
}
|
|
642
671
|
otherdetail.push({
|
|
643
672
|
f_brand_spec: [`${str}`],
|