apply-clients 3.3.110-216 → 3.3.110-219
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/package.json +1 -1
- package/src/components/android/Process/AppServiceControl.vue +3 -3
- package/src/components/product/Material/MaterialDetailed.vue +10 -0
- package/src/components/product/Process/Service/ServiceControl.vue +45 -12
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +21 -0
package/package.json
CHANGED
|
@@ -181,12 +181,12 @@ export default {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && this.show_data.button.button_name === '提交'){
|
|
184
|
+
if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && (this.show_data.button.button_name === '提交'||this.show_data.button.button_name === '保存')){
|
|
185
185
|
let dataz = {
|
|
186
186
|
condition: `u.id = ${this.show_data.id}`,
|
|
187
187
|
data: {
|
|
188
|
-
id:
|
|
189
|
-
orgid:
|
|
188
|
+
id: Vue.user.id,
|
|
189
|
+
orgid: Vue.user.orgid
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
let http = new HttpResetClass()
|
|
@@ -80,6 +80,12 @@
|
|
|
80
80
|
v-on:keyup.enter="$parent.$parent.search()"
|
|
81
81
|
condition="ma.f_material_number = '{}'">
|
|
82
82
|
</div>
|
|
83
|
+
<div class="form-group col-sm-3">
|
|
84
|
+
<label class="font_normal_body">报警器编号:</label>
|
|
85
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='报警器编号' v-model="model.f_bjq_sid"
|
|
86
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
87
|
+
condition="ma.f_bjq_sid = '{}'">
|
|
88
|
+
</div>
|
|
83
89
|
<div class="form-group col-sm-3">
|
|
84
90
|
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
85
91
|
<datepicker id="startDate" placeholder="开始日期"
|
|
@@ -116,6 +122,7 @@
|
|
|
116
122
|
<th>材料型号</th>
|
|
117
123
|
<th>材料单位</th>
|
|
118
124
|
<th>材料数量</th>
|
|
125
|
+
<th>报警器编号</th>
|
|
119
126
|
<th>操作人</th>
|
|
120
127
|
<th>操作时间</th>
|
|
121
128
|
</tr>
|
|
@@ -146,6 +153,9 @@
|
|
|
146
153
|
<td style="text-align: center;">
|
|
147
154
|
<nobr><font>{{row.f_material_number}}</font></nobr>
|
|
148
155
|
</td>
|
|
156
|
+
<td style="text-align: center;">
|
|
157
|
+
<nobr><font>{{row.f_bjq_sid}}</font></nobr>
|
|
158
|
+
</td>
|
|
149
159
|
<td style="text-align: center;">
|
|
150
160
|
<nobr><font>{{row.f_operator}}</font></nobr>
|
|
151
161
|
</td>
|
|
@@ -480,6 +480,27 @@ export default {
|
|
|
480
480
|
}
|
|
481
481
|
})
|
|
482
482
|
},
|
|
483
|
+
// 获取区县
|
|
484
|
+
async getArea () {
|
|
485
|
+
let data = {
|
|
486
|
+
tablename: 't_area',
|
|
487
|
+
condition: `f_filialeid = '${this.$login.f.orgid}'`
|
|
488
|
+
}
|
|
489
|
+
let http = new HttpResetClass()
|
|
490
|
+
let res = await http.load(
|
|
491
|
+
'POST',
|
|
492
|
+
`rs/sql/singleTable`,
|
|
493
|
+
{data: data},
|
|
494
|
+
{resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
|
|
495
|
+
)
|
|
496
|
+
|
|
497
|
+
return res.data.map(item => {
|
|
498
|
+
return {
|
|
499
|
+
label: item.f_residential_area,
|
|
500
|
+
value: item.f_residential_area
|
|
501
|
+
}
|
|
502
|
+
})
|
|
503
|
+
},
|
|
483
504
|
// 缴费前置
|
|
484
505
|
chargeBefore () {
|
|
485
506
|
if (Number(this.show_data.f_due_money) > Number(this.show_data.f_cumulative_payment_money) || Number(this.show_data.f_surplus_money) > 0) {
|
|
@@ -779,14 +800,9 @@ export default {
|
|
|
779
800
|
const dir = upperCaseChars(this.$login.f.orgs) //分公司
|
|
780
801
|
|
|
781
802
|
let type = 0 //类型
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
}else {
|
|
786
|
-
entry_type = this.show_data.f_entry_type
|
|
787
|
-
}
|
|
788
|
-
switch (entry_type){
|
|
789
|
-
case '城区':
|
|
803
|
+
|
|
804
|
+
switch (this.show_data.f_entry_type){
|
|
805
|
+
case '城区/县城':
|
|
790
806
|
type = 1 // 当表达式的结果等于 城区 时,则执行该代码
|
|
791
807
|
break;
|
|
792
808
|
case '新农村':
|
|
@@ -797,7 +813,10 @@ export default {
|
|
|
797
813
|
}
|
|
798
814
|
|
|
799
815
|
let nature = 0 // 性质
|
|
800
|
-
switch (this.show_data.
|
|
816
|
+
switch (this.show_data.f_apply_nature){
|
|
817
|
+
case '楼房':
|
|
818
|
+
nature = 1 // 当表达式的结果等于 楼房 时,则执行该代码
|
|
819
|
+
break;
|
|
801
820
|
case '房产':
|
|
802
821
|
nature = 1 // 当表达式的结果等于 房产 时,则执行该代码
|
|
803
822
|
break;
|
|
@@ -807,6 +826,15 @@ export default {
|
|
|
807
826
|
case '商业':
|
|
808
827
|
nature = 3 // 当表达式的结果等于 商业 时,则执行该代码
|
|
809
828
|
break;
|
|
829
|
+
case '学校':
|
|
830
|
+
nature = 3 // 当表达式的结果等于 学校 时,则执行该代码
|
|
831
|
+
break;
|
|
832
|
+
case '福利机构':
|
|
833
|
+
nature = 3 // 当表达式的结果等于 福利机构 时,则执行该代码
|
|
834
|
+
break;
|
|
835
|
+
case '其他':
|
|
836
|
+
nature = 3 // 当表达式的结果等于 其他 时,则执行该代码
|
|
837
|
+
break;
|
|
810
838
|
case '工业':
|
|
811
839
|
nature = 4 // 当表达式的结果等于 工业 时,则执行该代码
|
|
812
840
|
break;
|
|
@@ -822,10 +850,15 @@ export default {
|
|
|
822
850
|
const newYear = date.year + 1
|
|
823
851
|
const year = date.year.toString().substring(2,4) //年份
|
|
824
852
|
|
|
825
|
-
|
|
853
|
+
let data = {
|
|
854
|
+
dataYm: dataYm,
|
|
855
|
+
newYear: newYear,
|
|
856
|
+
orgid: this.$login.f.orgid,
|
|
857
|
+
condition: `f_apply_nature = '${this.show_data.f_apply_nature}'`
|
|
858
|
+
}
|
|
826
859
|
|
|
827
860
|
let http = new HttpResetClass()
|
|
828
|
-
let res = await http.load('POST', 'rs/sql/contractCount', {data:
|
|
861
|
+
let res = await http.load('POST', 'rs/sql/contractCount', {data:data}, {
|
|
829
862
|
resolveMsg: null,
|
|
830
863
|
rejectMsg: null
|
|
831
864
|
})
|
|
@@ -1486,7 +1519,7 @@ export default {
|
|
|
1486
1519
|
&& (this.show_data.defname === '报装申请')){
|
|
1487
1520
|
await this.contract_number()
|
|
1488
1521
|
}
|
|
1489
|
-
if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && this.show_data.button.button_name === '提交'){
|
|
1522
|
+
if(this.show_data.f_apply_type === '散户报建' && this.show_data.defname === '合同签订' && (this.show_data.button.button_name === '保存'||this.show_data.button.button_name === '提交')){
|
|
1490
1523
|
let dataz = {
|
|
1491
1524
|
condition: `u.id = ${this.show_data.id}`,
|
|
1492
1525
|
data: {
|
|
@@ -545,6 +545,27 @@
|
|
|
545
545
|
value: item.id
|
|
546
546
|
}
|
|
547
547
|
})
|
|
548
|
+
},
|
|
549
|
+
// 获取区县
|
|
550
|
+
async getArea () {
|
|
551
|
+
let data = {
|
|
552
|
+
tablename: 't_area',
|
|
553
|
+
condition: `f_filialeid = '${this.$login.f.orgid}'`
|
|
554
|
+
}
|
|
555
|
+
let http = new HttpResetClass()
|
|
556
|
+
let res = await http.load(
|
|
557
|
+
'POST',
|
|
558
|
+
`rs/sql/singleTable`,
|
|
559
|
+
{data: data},
|
|
560
|
+
{resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
|
|
561
|
+
)
|
|
562
|
+
|
|
563
|
+
return res.data.map(item => {
|
|
564
|
+
return {
|
|
565
|
+
label: item.f_residential_area,
|
|
566
|
+
value: item.f_residential_area
|
|
567
|
+
}
|
|
568
|
+
})
|
|
548
569
|
}
|
|
549
570
|
},
|
|
550
571
|
events:{
|