apply-clients 5.0.35-7 → 5.0.35-73
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/.eslintrc.js +16 -16
- package/package.json +3 -3
- package/src/AndroidApp.vue +28 -28
- package/src/android.js +1 -1
- package/src/apply.js +14 -1
- package/src/components/app_apply/ApplyDownList.vue +168 -168
- package/src/components/app_apply/ApplyInfo.vue +56 -56
- package/src/components/app_apply/ApplyListUpload.vue +268 -268
- package/src/components/app_apply/ApplyToDoList.vue +2582 -4
- package/src/components/app_apply/Gongcheng.vue +3614 -0
- package/src/components/app_apply/OneToMany.vue +194 -0
- package/src/components/app_apply/PlaceControler.vue +299 -256
- package/src/components/app_apply/ServiceControl.vue +410 -15
- package/src/components/app_apply/ServiceView.vue +383 -383
- package/src/components/app_apply/ezhou/FeiMinYongV.vue +109 -109
- package/src/components/app_apply/ezhou/FeiMinYongVV.vue +100 -100
- package/src/components/app_apply/ezhou/MinYong.vue +92 -92
- package/src/components/app_apply/ezhou/ServiceView.vue +396 -208
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/product/Common/ApplyValidateBill.vue +13 -6
- package/src/components/product/Common/PrintBill.vue +7 -6
- package/src/components/product/EngineeringManagement/EngineerUpload.vue +304 -0
- package/src/components/product/EngineeringManagement/EngineeringManagement.vue +137 -0
- package/src/components/product/EngineeringManagement/EngineeringSelect.vue +588 -0
- package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +281 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +130 -0
- package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +350 -0
- package/src/components/product/Function/InstallInfoSelect.vue +255 -254
- package/src/components/product/Function/Service/FunctionServiceControl.vue +37 -1
- package/src/components/product/Function/functions/ApplyUpload.vue +556 -0
- package/src/components/product/Function/functions/BuyerMessage.vue +512 -512
- package/src/components/product/Function/functions/InstallFee.vue +570 -345
- package/src/components/product/Process/ExplorationSelect.vue +640 -636
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +2 -5
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +123 -37
- package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +85 -0
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2150 -1808
- package/src/components/product/ServiceView.vue +16 -6
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +53 -6
- package/src/components/product/Supervisory/SupervisoryList.vue +350 -349
- package/src/components/product/applyReport/ApplyReport.vue +205 -0
- package/src/components/product/applyReport/PrintApplyReport.vue +116 -0
- package/src/components/product/stopInfo/ApplyStopInfo.vue +281 -280
- package/src/ezhouAndroid.js +13 -10
- package/src/index.js +8 -8
- package/src/main.js +32 -32
- package/src/plugins/commonService.js +11 -7
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
<!--</div>-->
|
|
11
11
|
<validator name="v">
|
|
12
12
|
<form class="form-horizontal">
|
|
13
|
-
<div class="col-sm-12 form-group">
|
|
13
|
+
<div class="col-sm-12 form-group form-group1">
|
|
14
14
|
<div v-for="(index,item) in data.fields">
|
|
15
15
|
<!--input-->
|
|
16
|
-
<div :style="item.style
|
|
16
|
+
<div :style="item.style+';height: 34px;'"
|
|
17
17
|
v-if="item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email'"
|
|
18
18
|
v-show="!item.hidden"
|
|
19
|
-
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
19
|
+
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group form-group1']">
|
|
20
20
|
<label :style="item.label_style? item.label_style:''+';width:85px;'"
|
|
21
21
|
:class="item.label_bootstraped?item.label_bootstraped+' control-label-justify control-label':item.label_style?'':'control-label-justify control-label col-sm-6'">{{item.label}}</label>
|
|
22
22
|
<div :style="item.value_style? item.value_style:''"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<!--时间datepicker-->
|
|
37
37
|
<div :style="item.style? item.style+';height: 34px;':'height: 34px;'" v-if="item.type==='datepicker'"
|
|
38
38
|
v-show="!item.hidden"
|
|
39
|
-
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
39
|
+
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group form-group1']">
|
|
40
40
|
<label style="width:85px"
|
|
41
41
|
:class="item.label_bootstraped?item.label_bootstraped+' control-label-justify control-label':'control-label control-label-justify col-sm-6'">{{item.label}}</label>
|
|
42
42
|
<div :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'">
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
|
|
95
95
|
<!--select-->
|
|
96
96
|
<div style="height: 34px" v-if="item.type==='select'" v-show="!item.hidden"
|
|
97
|
-
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
97
|
+
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group ':'col-sm-4 form-group']">
|
|
98
98
|
<label style="width:85px;"
|
|
99
99
|
:class="item.label_bootstraped?item.label_bootstraped+' control-label control-label-justify':'control-label-justify control-label col-sm-6'">{{item.label}}</label>
|
|
100
100
|
<input-select :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'" @blur="check_disable"
|
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
|
|
107
107
|
</div>
|
|
108
108
|
|
|
109
|
+
|
|
109
110
|
<!--checkbox-->
|
|
110
111
|
<div v-if="item.type==='checkbox'"
|
|
111
112
|
:class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-12 form-group']">
|
|
@@ -122,7 +123,7 @@
|
|
|
122
123
|
</div>
|
|
123
124
|
<!-- onetomany -->
|
|
124
125
|
<div class="col-sm-12" v-for="(i,datagrid) in data.onetomany">
|
|
125
|
-
<table v-show="!datagrid.hidden" class="table table-bordered table-striped table-hover">
|
|
126
|
+
<table v-show="!datagrid.hidden" class="table table-bordered table-striped table-hover" style="margin-top: 80px">
|
|
126
127
|
<tr style="background-color: #00A3F0">
|
|
127
128
|
<th style="text-align: center;border-color: #00A3F0"><font color="white">序号</font></th>
|
|
128
129
|
<th v-for="labels in datagrid.fields" style="text-align: center;border-color: #00A3F0">
|
|
@@ -506,6 +507,12 @@
|
|
|
506
507
|
},
|
|
507
508
|
// 初始化数据
|
|
508
509
|
initializtion() {
|
|
510
|
+
if(this.data.f_apply_type='集体报建' && this.data.f_user_type=='非民用' && this.data.defname=='验收'){
|
|
511
|
+
for(let j=0;j< this.data.fields.length;j++) {
|
|
512
|
+
this.data.fields[j].required = false
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
509
516
|
let fields = this.data.fields
|
|
510
517
|
let flag = false
|
|
511
518
|
for (let i = 0; i < fields.length; i++) {
|
|
@@ -797,4 +804,7 @@
|
|
|
797
804
|
tr {
|
|
798
805
|
height: 34px;
|
|
799
806
|
}
|
|
807
|
+
.form-group{
|
|
808
|
+
margin-top:20px;
|
|
809
|
+
}
|
|
800
810
|
</style>
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
</template>
|
|
21
21
|
<script>
|
|
22
22
|
import {HttpResetClass} from 'vue-client'
|
|
23
|
+
import Vue from "vue";
|
|
23
24
|
export default {
|
|
24
25
|
title: '报建监控控制层',
|
|
25
26
|
props: ['selectdata'],
|
|
@@ -36,6 +37,45 @@
|
|
|
36
37
|
},
|
|
37
38
|
// json配置数据处理 比如下拉框的options
|
|
38
39
|
async initializtion() {
|
|
40
|
+
// onetomany 数据获取
|
|
41
|
+
if (this.data.onetomany) {
|
|
42
|
+
console.log('判断是onetomany,this.data.onetomany的数据为=>' + JSON.stringify(this.data.onetomany))
|
|
43
|
+
for (let index = 0; index < this.data.onetomany.length; index++) {
|
|
44
|
+
let http = new HttpResetClass()
|
|
45
|
+
let data = {}
|
|
46
|
+
if (this.data.onetomany[index].tables[0] == 't_charge_record') {
|
|
47
|
+
data = {
|
|
48
|
+
tablename: this.data.onetomany[index].tables[0],
|
|
49
|
+
condition: `f_apply_num = '${this.selectdata.f_apply_num}' and f_process_id='${this.selectdata.f_process_id}' and f_charging_status != '作废'`
|
|
50
|
+
}
|
|
51
|
+
} else {
|
|
52
|
+
data = {
|
|
53
|
+
tablename: this.data.onetomany[index].tables[0],
|
|
54
|
+
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
58
|
+
resolveMsg: null,
|
|
59
|
+
rejectMsg: 'onetomany查询失败'
|
|
60
|
+
})
|
|
61
|
+
// 初始化 onetomany
|
|
62
|
+
let rows = []
|
|
63
|
+
console.log('查询返回结果res.data=>' + JSON.stringify(res.data))
|
|
64
|
+
this.data.onetomany[index].rows = res.data
|
|
65
|
+
// console.log(JSON.stringify('this.data.onetomany[index].rows=>' + JSON.stringify(this.data.onetomany[index].rows)))
|
|
66
|
+
|
|
67
|
+
// 初始化onetomany中的fields
|
|
68
|
+
for (let j = 0; j < this.data.onetomany[index].fields.length; j++) {
|
|
69
|
+
// 如果配置类型为select,优先从参数列表获取options
|
|
70
|
+
if (this.data.onetomany[index].fields[j].type === 'select') {
|
|
71
|
+
let temp = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
|
|
72
|
+
if (temp && temp.length > 0) {
|
|
73
|
+
this.data.onetomany[index].fields[j].options = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
39
79
|
// selectdata 填充 data
|
|
40
80
|
if (this.selectdata.f_survey_name) {
|
|
41
81
|
let buyerinfos = []
|
|
@@ -133,11 +173,6 @@
|
|
|
133
173
|
}
|
|
134
174
|
]
|
|
135
175
|
}
|
|
136
|
-
// 完成时间和完成人,部门,分公司
|
|
137
|
-
this.data.filiale = this.selectdata.f_filiale
|
|
138
|
-
this.data.f_parentname = this.selectdata.f_parentname
|
|
139
|
-
this.data.operate_date = this.selectdata.finishtime
|
|
140
|
-
this.data.operator = this.selectdata.sender
|
|
141
176
|
}
|
|
142
177
|
},
|
|
143
178
|
events:{
|
|
@@ -393,7 +428,19 @@
|
|
|
393
428
|
if (sum == 1) {
|
|
394
429
|
this.data = jsonData
|
|
395
430
|
this.initializtion()
|
|
396
|
-
|
|
431
|
+
// 完成时间和完成人,部门,分公司
|
|
432
|
+
if(this.selectdata.defname =='完工'){ this.data.filiale = this.selectdata.f_filiale
|
|
433
|
+
this.data.f_parentname = this.selectdata.f_parentname
|
|
434
|
+
this.data.operate_date = this.selectdata.sendtime
|
|
435
|
+
this.data.operator = this.selectdata.sender
|
|
436
|
+
this.showview = true
|
|
437
|
+
}else{
|
|
438
|
+
this.data.f_parentname = this.selectdata.f_parentname
|
|
439
|
+
this.data.operate_date = this.selectdata.finishtime
|
|
440
|
+
this.data.operator = this.selectdata.person
|
|
441
|
+
this.showview = true
|
|
442
|
+
}
|
|
443
|
+
|
|
397
444
|
} else if (sum == 0) {
|
|
398
445
|
this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
|
|
399
446
|
} else {
|