apply-clients 3.0.4 → 3.0.5-2
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/dist.zip +0 -0
- package/index.html +1 -1
- package/package.json +4 -3
- package/src/App.vue +126 -15
- package/src/apply.js +16 -0
- package/src/bootstrap/fonts/PingFangSC-Regular.ttf +0 -0
- package/src/bootstrap/less/bootstrap.less +1 -2
- package/src/bootstrap/less/standard.less +208 -0
- package/src/components/Util.js +4 -0
- package/src/components/app_apply/FieldExploration.vue +2 -2
- package/src/components/app_apply/Ventilation.vue +2 -2
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/image//345/233/276/345/261/20212.png +0 -0
- package/src/components/image//345/233/276/345/261/20213.png +0 -0
- package/src/components/image//345/233/276/345/261/20216.png +0 -0
- package/src/components/image//345/244/232/350/276/271/345/275/2422.png +0 -0
- package/src/components/image//345/244/232/350/276/271/345/275/2422/346/213/267/350/264/235.png +0 -0
- package/src/components/image//346/244/255/345/234/2062.png +0 -0
- package/src/components/image//346/244/255/345/234/2065.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2352.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2353.png +0 -0
- package/src/components/image//347/273/2044.png +0 -0
- package/src/components/image//347/273/2045.png +0 -0
- package/src/components/image//347/273/2046.png +0 -0
- package/src/components/image//350/257/235/345/212/241/347/273/237/350/256/241/346/225/260/346/215/256/345/261/225/347/244/272.png +0 -0
- package/src/components/product/Function/InstallFunction.vue +9 -5
- package/src/components/product/Function/InstallInfoSelect.vue +98 -69
- package/src/components/product/Function/Service/FunctionServiceControl.vue +47 -4
- package/src/components/product/Function/functions/AddContract.vue +161 -139
- package/src/components/product/Function/functions/BuyerMessage.vue +285 -137
- package/src/components/product/Function/functions/InstallFee.vue +1117 -912
- package/src/components/product/MaterialBatchList.vue +109 -0
- package/src/components/product/MaterialBatchManage.vue +34 -0
- package/src/components/product/Procedures/ProceduresDataGrid.vue +1022 -0
- package/src/components/product/Process/ExplorationSelect.vue +208 -73
- package/src/components/product/Process/ExplorationUser.vue +94 -39
- package/src/components/product/Process/MaterialUseList.vue +159 -0
- package/src/components/product/Process/ModifyUserFiles.vue +15 -5
- package/src/components/product/Process/ProcessInfo/history_control.vue +139 -110
- package/src/components/product/Process/Processes/ApplyUpload.vue +279 -0
- package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +499 -210
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +949 -753
- package/src/components/product/Process/Processes/ProjectSettlement.vue +535 -24
- package/src/components/product/Process/Processes/ReceiveBatch.vue +301 -121
- package/src/components/product/Process/Processes/Service/ApplyChangeHistory.vue +105 -0
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +27 -14
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +1727 -336
- package/src/components/product/Process/Processes/Upload.vue +532 -0
- package/src/components/product/Process/ShowBackReason.vue +1 -1
- package/src/components/product/ServiceView.vue +359 -122
- package/src/components/product/Statistics/ApplyStatisticsROOT.vue +27 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +212 -23
- package/src/components/product/Supervisory/SupervisoryControl.vue +79 -26
- package/src/components/product/Supervisory/SupervisoryList.vue +182 -41
- package/src/components/product/Supervisory/SupervisoryhCart.vue +4 -2
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/components/product/VueUtils/rightview/InstallCardList2.vue +29 -38
- package/src/stores/ApplyLoadParams.js +1 -1
- package/src/stores/PagedListLogic.js +173 -0
- package/.npmignore +0 -12
- package/yarn.lock +0 -9008
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
export default {
|
|
7
|
+
name: "报装统计根源目录",
|
|
8
|
+
data(){
|
|
9
|
+
return{
|
|
10
|
+
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
created(){
|
|
14
|
+
|
|
15
|
+
},
|
|
16
|
+
methods:{
|
|
17
|
+
|
|
18
|
+
},
|
|
19
|
+
events:{
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
<style scoped>
|
|
26
|
+
|
|
27
|
+
</style>
|
|
@@ -1,65 +1,254 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
2
|
+
<div class="auto col-sm-12">
|
|
3
|
+
<show-back-reason class="auto col-sm-7" v-if="selectdata.f_back_reason && selectdata.f_back_reason!=''"
|
|
4
|
+
:data="show_data"></show-back-reason>
|
|
5
|
+
<div class="auto col-sm-7" v-if="!(selectdata.f_back_reason && selectdata.f_back_reason!='')"></div>
|
|
6
|
+
<div class="auto col-sm-4" >
|
|
7
|
+
<p v-show="changeHistoryData.length>0" class="text-right" href="#" @click="searchChangeHistory"><a href="#">点我查看修改历史</a></p>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<!--<gas-stop v-if="selectdata.defname == '停气碰口'"></gas-stop>-->
|
|
11
|
+
<material-message v-if="selectdata.defname=='材料导入'" v-ref:material
|
|
12
|
+
:selectdata="selectdata"
|
|
13
|
+
:state="2"
|
|
14
|
+
:edit="false" :showprint="showprint"></material-message>
|
|
15
|
+
<material-message v-if="selectdata.defname=='材料审核'" v-ref:material
|
|
16
|
+
:selectdata="selectdata"
|
|
17
|
+
:state="1"
|
|
18
|
+
:edit="false"></material-message>
|
|
19
|
+
<receive-batch v-if="selectdata.defname == '派工单'" :selectdata="selectdata" v-ref:receivebatch :showprint="showprint"></receive-batch>
|
|
20
|
+
<project-settlement v-if="selectdata.defname == '工程结算'" :selectdata="selectdata" :showprint="showprint"></project-settlement>
|
|
21
|
+
<installfee :infee="selectdata" :showfee='true' v-if="selectdata.defname == '通气条件确认'" :showprint="showprint"></installfee>
|
|
22
|
+
<buyer-message v-ref:buyermessagev :selectdata="selectdata" :state="1" :showprint="showprint"
|
|
23
|
+
v-if="selectdata.defname == '收费'||selectdata.defname == '勘察初设'"></buyer-message>
|
|
24
|
+
<installfee :infee="selectdata" :showprint="showprint" v-if="selectdata.defname == '收费'"></installfee>
|
|
25
|
+
<service-view v-ref:service_show :data="data" v-if="showview" :showprint="showprint"></service-view>
|
|
26
|
+
<modal :show.sync="showChangeHistoryInfo" v-ref:modal backdrop="false">
|
|
27
|
+
<header slot="modal-header" class="modal-header">
|
|
28
|
+
<button type="button" class="close" @click="closeChangeHistoryInfo"><span>×</span></button>
|
|
29
|
+
<h4 class="modal-title">更改历史</h4>
|
|
30
|
+
</header>
|
|
31
|
+
<article slot="modal-body" class="modal-body">
|
|
32
|
+
<div class="col-sm-12 span recordTable" style="margin-top: 10px;min-height: 350px">
|
|
33
|
+
<apply-change-history v-if="showChangeHistoryInfo" :history_data = "changeHistoryData"></apply-change-history>
|
|
34
|
+
</div>
|
|
35
|
+
</article>
|
|
36
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
37
|
+
</footer>
|
|
38
|
+
</modal>
|
|
3
39
|
</template>
|
|
4
40
|
<script>
|
|
41
|
+
import Vue from 'vue'
|
|
42
|
+
import {HttpResetClass} from 'vue-client'
|
|
5
43
|
export default {
|
|
6
44
|
title: '报建监控控制层',
|
|
7
45
|
props: ['selectdata'],
|
|
8
|
-
data
|
|
46
|
+
data() {
|
|
9
47
|
return {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
48
|
+
leijijiaofeijine:0,
|
|
49
|
+
showChangeHistoryInfo:false, // 历史数据模态框
|
|
50
|
+
changeHistoryData:[], // 修改历史数据处理
|
|
51
|
+
data: null, // 展示的数据
|
|
52
|
+
json_datas: null, // json配置数据结构
|
|
53
|
+
showprint:false, // 监控界面不显示打印/冲正等
|
|
54
|
+
showview: false // 控制显示层显示
|
|
13
55
|
}
|
|
14
56
|
},
|
|
15
57
|
methods: {
|
|
58
|
+
hasChangeHistory(){
|
|
59
|
+
let http = new HttpResetClass()
|
|
60
|
+
let data = {
|
|
61
|
+
tablename: 't_apply_change_record',
|
|
62
|
+
condition: ` defname = '${this.selectdata.defname}' and f_process_id ='${this.selectdata.f_process_id}' and f_filiale = '${this.$login.f.f_fengongsi}'`
|
|
63
|
+
}
|
|
64
|
+
http.load('POST', 'rs/sql/singleTable', {data: data}, {resolveMsg: null, rejectMsg: "获取合同编号失败"}).then((res)=>{
|
|
65
|
+
this.changeHistoryData = []
|
|
66
|
+
this.changeHistoryData = res.data
|
|
67
|
+
})
|
|
68
|
+
},
|
|
69
|
+
// 查看修改历史记录
|
|
70
|
+
searchChangeHistory(){
|
|
71
|
+
console.log("查看修改历史记录")
|
|
72
|
+
this.showChangeHistoryInfo = true
|
|
73
|
+
},
|
|
74
|
+
// 关闭历史数据模态框
|
|
75
|
+
closeChangeHistoryInfo() {
|
|
76
|
+
this.showChangeHistoryInfo = false
|
|
77
|
+
},
|
|
78
|
+
getmodel(){
|
|
79
|
+
return this.$refs.service_show.getmodel()
|
|
80
|
+
},
|
|
16
81
|
// json配置数据处理 比如下拉框的options
|
|
17
|
-
initializtion() {
|
|
82
|
+
async initializtion() {
|
|
18
83
|
// selectdata 填充 data
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
84
|
+
if (this.selectdata.f_survey_name) {
|
|
85
|
+
let buyerinfos = []
|
|
86
|
+
var numReg = /^[0-9]+$/
|
|
87
|
+
var numRe = new RegExp(numReg)
|
|
88
|
+
if (numRe.test(this.selectdata.f_survey_name)) {
|
|
89
|
+
let querydata = {
|
|
90
|
+
tablename: 't_user',
|
|
91
|
+
condition: `id = ${this.selectdata.f_survey_name}`
|
|
92
|
+
}
|
|
93
|
+
buyerinfos = await this.$resetpost('rs/sql/singleTable', {data: querydata}, {
|
|
94
|
+
resolveMsg: null,
|
|
95
|
+
rejectMsg: '获取人员失败'
|
|
96
|
+
})
|
|
97
|
+
this.selectdata.f_survey_name = {
|
|
98
|
+
id:buyerinfos.data[0].id,
|
|
99
|
+
name:buyerinfos.data[0].name
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
for (let i = 0; i < this.data.fields.length; i++) {
|
|
105
|
+
|
|
106
|
+
if(this.data.fields[i].label === '是否装新表'){
|
|
107
|
+
for(let k=0;k<this.data.fields.length;k++){
|
|
108
|
+
if(this.data.fields[i].value == '是'){
|
|
109
|
+
if(this.data.fields[k].label=='用气性质'||
|
|
110
|
+
this.data.fields[k].label=='气价类型'||
|
|
111
|
+
this.data.fields[k].label=='气价名称'
|
|
112
|
+
){
|
|
113
|
+
this.data.fields[k].required=true,
|
|
114
|
+
this.data.fields[k].hidden=false
|
|
115
|
+
}
|
|
116
|
+
}else{
|
|
117
|
+
if(this.data.fields[k].label=='用气性质'||
|
|
118
|
+
this.data.fields[k].label=='气价类型'||
|
|
119
|
+
this.data.fields[k].label=='气价名称'){
|
|
120
|
+
this.data.fields[k].required=false,
|
|
121
|
+
this.data.fields[k].hidden=true
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
if(this.data.fields[i].label === '累计缴费金额'){
|
|
129
|
+
let http = new HttpResetClass()
|
|
130
|
+
let data = {
|
|
131
|
+
columnname: 'f_charge_money',
|
|
132
|
+
tablename: 't_charge_record',
|
|
133
|
+
condition: `f_charging_status='有效' and f_process_id = '${this.selectdata.f_process_id}'`
|
|
134
|
+
}
|
|
135
|
+
let res = await http.load('POST', 'rs/sql/getSum', {data: data}, {resolveMsg: null, rejectMsg: '获取缴费金额获取失败'})
|
|
136
|
+
this.data.fields[i].value = res.data[0].f_charge_money
|
|
137
|
+
this.leijijiaofeijine = res.data[0].f_charge_money
|
|
138
|
+
for (let k = 0; k < this.data.fields.length; k++) {
|
|
139
|
+
if(this.data.fields[k].label=='未结总金额'){
|
|
140
|
+
this.data.fields[k].value= Number(this.selectdata.f_contract_money) - this.data.fields[i].value
|
|
141
|
+
console.log(this.data.fields[k].label,this.data.fields[k].value)
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
console.log(this.data.fields[i].label,this.data.fields[i].value)
|
|
145
|
+
}
|
|
146
|
+
if(this.data.fields[i].label === '累计开票金额'){
|
|
147
|
+
let http = new HttpResetClass()
|
|
148
|
+
let data = {
|
|
149
|
+
columnname: 'f_charge_money',
|
|
150
|
+
tablename: 't_charge_record',
|
|
151
|
+
condition: `f_charging_status='有效' and f_process_id = '${this.selectdata.f_process_id}' and (f_invoice_num !='' or f_invoice_num is not null)`
|
|
152
|
+
}
|
|
153
|
+
let res = await http.load('POST', 'rs/sql/getSum', {data: data}, {resolveMsg: null, rejectMsg: '获取累计缴费金额获取失败'})
|
|
154
|
+
this.data.fields[i].value = res.data[0].f_charge_money
|
|
155
|
+
for (let k = 0; k < this.data.fields.length; k++) {
|
|
156
|
+
if(this.data.fields[k].label=='未开票金额'){
|
|
157
|
+
this.data.fields[k].value= Number(this.leijijiaofeijine) - res.data[0].f_charge_money
|
|
158
|
+
console.log(this.data.fields[k].label,this.data.fields[k].value)
|
|
159
|
+
console.log("this.data.fields1",this.data.fields)
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
console.log(this.data.fields[i].label,this.data.fields[i].value)
|
|
163
|
+
console.log("this.data.fields",this.data.fields)
|
|
164
|
+
}
|
|
165
|
+
//施工环节 如果是个人报建需要提交表具信息
|
|
166
|
+
// 如果安装户数为1,则显示是否有表选项
|
|
167
|
+
if (this.data.defname === '施工'||this.data.defname === '通气') {
|
|
168
|
+
for (let i = 0; i < this.data.fields.length; i++) {
|
|
169
|
+
if(this.data.f_install_num != 1&&this.data.fields[i].label=='是否有表'){
|
|
170
|
+
this.data.fields[i].hidden = true
|
|
171
|
+
this.data.fields[i].required = false
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
//通气环节可以调出施工环节的表信息来修改
|
|
177
|
+
if (this.data.defname == '通气'||this.data.defname == '施工') {
|
|
178
|
+
for (let i = 0; i < this.data.fields.length; i++) {
|
|
179
|
+
if (this.data.fields[i].label === '气表品牌'
|
|
180
|
+
|| this.data.fields[i].label === '气表型号'
|
|
181
|
+
|| this.data.fields[i].label === '表号'
|
|
182
|
+
|| this.data.fields[i].label === '通气表号'
|
|
183
|
+
|| this.data.fields[i].label === '左右表'
|
|
184
|
+
|| this.data.fields[i].label === '气表厂家') {
|
|
185
|
+
if (this.data.f_install_num == 1&&this.selectdata.f_hasmeter&&this.selectdata.f_hasmeter=='是') {
|
|
186
|
+
this.data.fields[i].hidden = false
|
|
187
|
+
this.data.fields[i].required = true
|
|
188
|
+
}else if(this.data.f_install_num == 1&&this.selectdata.f_hasmeter&&this.selectdata.f_hasmeter=='否'){
|
|
189
|
+
this.data.fields[i].hidden = true
|
|
190
|
+
this.data.fields[i].required = false
|
|
191
|
+
}
|
|
192
|
+
}else if(this.data.fields[i].label === '气表品牌id'||this.data.fields[i].label === '气表型号id'){
|
|
193
|
+
this.data.fields[i].hidden = true
|
|
194
|
+
this.data.fields[i].required = false
|
|
195
|
+
}
|
|
196
|
+
}
|
|
23
197
|
}
|
|
24
198
|
// 如果配置类型为select,获取options
|
|
25
199
|
if(this.data.fields[i].type==='select'){
|
|
26
|
-
this.data.fields[i].options=
|
|
200
|
+
this.data.fields[i].options=[]
|
|
201
|
+
}
|
|
202
|
+
if (typeof this.data.fields[i].value === 'string' && this.data.fields[i].value.startsWith("{") && this.data.fields[i].value.endsWith("}")) {
|
|
203
|
+
this.data.fields[i].value = JSON.parse(this.data.fields[i].value)
|
|
27
204
|
}
|
|
28
205
|
// 将所有field都不可修改,不可操作
|
|
29
|
-
this.data.fields[i].readonly=true
|
|
30
|
-
this.data.fields[i].disabled=true
|
|
206
|
+
this.data.fields[i].readonly = true
|
|
207
|
+
this.data.fields[i].disabled = true
|
|
31
208
|
}
|
|
32
209
|
// 去除button
|
|
33
|
-
this.data.buttons=null
|
|
210
|
+
this.data.buttons = null
|
|
34
211
|
// 完成时间和完成人,部门,分公司
|
|
35
|
-
this.data.filiale= this.selectdata.f_filiale
|
|
212
|
+
this.data.filiale = this.selectdata.f_filiale
|
|
36
213
|
this.data.f_parentname = this.selectdata.f_parentname
|
|
37
214
|
this.data.operate_date = this.selectdata.finishtime
|
|
38
215
|
this.data.operator = this.selectdata.person
|
|
39
216
|
}
|
|
40
217
|
},
|
|
41
|
-
|
|
218
|
+
events:{
|
|
219
|
+
'getmodel'(){
|
|
220
|
+
return this.$refs.service_show.getmodel()
|
|
221
|
+
},
|
|
222
|
+
},
|
|
223
|
+
watch: {
|
|
42
224
|
'selectdata'() {
|
|
43
|
-
this.json_datas=this.$supervisory_vue
|
|
225
|
+
this.json_datas = this.$supervisory_vue
|
|
44
226
|
let sum = 0
|
|
45
|
-
let jsonData ={}
|
|
46
|
-
for(let i=0;i<this.json_datas.activitys.length;i++){
|
|
47
|
-
if(this.selectdata.defname==this.json_datas.activitys[i].title){
|
|
227
|
+
let jsonData = {}
|
|
228
|
+
for (let i = 0; i < this.json_datas.activitys.length; i++) {
|
|
229
|
+
if (this.selectdata.defname == this.json_datas.activitys[i].title) {
|
|
48
230
|
jsonData = this.json_datas.activitys[i]
|
|
49
231
|
sum++
|
|
50
232
|
}
|
|
51
233
|
}
|
|
52
|
-
if(sum==1){
|
|
234
|
+
if (sum == 1) {
|
|
53
235
|
this.data = jsonData
|
|
236
|
+
this.data = Object.assign({}, this.data, this.selectdata)
|
|
237
|
+
for(let i = 0; i < this.data.fields.length; i++){
|
|
238
|
+
if (this.selectdata[this.data.fields[i].field]) {
|
|
239
|
+
this.data.fields[i].value = this.selectdata[this.data.fields[i].field]
|
|
240
|
+
}
|
|
241
|
+
}
|
|
54
242
|
this.initializtion()
|
|
243
|
+
this.hasChangeHistory()
|
|
55
244
|
this.showview = true
|
|
56
|
-
} else if(sum==0) {
|
|
245
|
+
} else if (sum == 0) {
|
|
57
246
|
this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
|
|
58
247
|
} else {
|
|
59
248
|
this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
|
|
60
249
|
}
|
|
61
250
|
},
|
|
62
|
-
deep:true
|
|
251
|
+
deep: true
|
|
63
252
|
}
|
|
64
253
|
}
|
|
65
254
|
</script>
|
|
@@ -12,24 +12,35 @@
|
|
|
12
12
|
<tab :header='header'>
|
|
13
13
|
<supervisory-service-control :selectdata="selectdata" ></supervisory-service-control>
|
|
14
14
|
</tab>
|
|
15
|
-
<tab header='
|
|
15
|
+
<tab header='档案信息'>
|
|
16
16
|
<record-message v-ref:record :selectdata="selectdata" :key="tittle1" :edit = "false"></record-message>
|
|
17
17
|
</tab>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
18
|
+
<!--<tab header='表档案信息'>-->
|
|
19
|
+
<!--<record-message v-ref:record :selectdata="selectdata" :key="tittle2" :edit = "false"></record-message>-->
|
|
20
|
+
<!--</tab>-->
|
|
21
|
+
<!--<tab header='设备信息' v-if="selectdata.f_user_type =='非民用'">-->
|
|
22
|
+
<!--<equipment-message v-ref:equipment :selectdata="selectdata" :key="tittle3" :edit = "false"></equipment-message>-->
|
|
23
|
+
<!--</tab>-->
|
|
24
|
+
<!--<tab header='材料信息'>-->
|
|
25
|
+
<!--<material-message v-ref:material :selectdata="selectdata" :edit = "false"></material-message>-->
|
|
26
|
+
<!--</tab>-->
|
|
27
|
+
|
|
27
28
|
<tab header='附件'>
|
|
28
|
-
<upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="false"
|
|
29
|
-
:isupload = "true"
|
|
30
|
-
:takeimg = "true"
|
|
31
|
-
:edit = "false"
|
|
32
|
-
</upload
|
|
29
|
+
<!-- <apply-upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "false" :isremark ="false"-->
|
|
30
|
+
<!-- :isupload = "true"-->
|
|
31
|
+
<!-- :takeimg = "true"-->
|
|
32
|
+
<!-- :edit = "false">-->
|
|
33
|
+
<!-- </apply-upload>-->
|
|
34
|
+
<apply-upload v-ref:file
|
|
35
|
+
:blodid="selectdata.f_process_id"
|
|
36
|
+
:isupload = "true"
|
|
37
|
+
:isdelete="true"
|
|
38
|
+
:isusetype="true"
|
|
39
|
+
:isremark = "true"
|
|
40
|
+
:takeimg="true"
|
|
41
|
+
:issearch="true"
|
|
42
|
+
:defname="selectdata.defname">
|
|
43
|
+
</apply-upload>
|
|
33
44
|
</tab>
|
|
34
45
|
</tabset>
|
|
35
46
|
</div>
|
|
@@ -55,12 +66,17 @@
|
|
|
55
66
|
tittle1:'户档案管理',
|
|
56
67
|
tittle2:'表档案管理',
|
|
57
68
|
tittle3:'设备管理',
|
|
58
|
-
info: '流程监控'
|
|
69
|
+
info: '流程监控',
|
|
70
|
+
xmlname: ''
|
|
59
71
|
}
|
|
60
72
|
},
|
|
61
73
|
created(){
|
|
62
74
|
let http = new HttpResetClass()
|
|
63
|
-
|
|
75
|
+
let xmldata = {
|
|
76
|
+
data: this.$login.f,
|
|
77
|
+
workname: '工商业报建流程'
|
|
78
|
+
}
|
|
79
|
+
http.load('POST','rs/logic/ApplyGetConfigs', {data:xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
64
80
|
).then((res)=>{
|
|
65
81
|
if(res.data.code && res.data.code == 200){
|
|
66
82
|
Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
|
|
@@ -86,15 +102,52 @@
|
|
|
86
102
|
'check'(val) {
|
|
87
103
|
this.selectdata = ''
|
|
88
104
|
this.selectdata = val
|
|
89
|
-
console.log(
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
105
|
+
console.log('val.f_apply_type:' + val.f_apply_type)
|
|
106
|
+
if (val.f_apply_type === '散户报建' || val.f_apply_type === '民用报建' || val.f_apply_type === '工业报建' || val.f_apply_type === '商业报建' || val.f_apply_type === '管道移改' || val.f_apply_type === '中压管线') {
|
|
107
|
+
console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
|
|
108
|
+
if (this.selectdata.f_apply_type === '工业报建' || this.selectdata.f_apply_type === '商业报建') {
|
|
109
|
+
this.xmlname = '工商业报建流程'
|
|
110
|
+
} else if (this.selectdata.f_apply_type === '散户报建') {
|
|
111
|
+
this.xmlname = '散户报建流程'
|
|
112
|
+
} else if (this.selectdata.f_apply_type === '民用报建') {
|
|
113
|
+
this.xmlname = '民用报建流程'
|
|
114
|
+
} else if (this.selectdata.f_apply_type === '管道移改') {
|
|
115
|
+
this.xmlname = '管道移改报建流程'
|
|
116
|
+
}else if (this.selectdata.f_apply_type === '中压管线') {
|
|
117
|
+
this.xmlname = '中压管线报建流程'
|
|
118
|
+
}else {
|
|
119
|
+
this.xmlname = this.selectdata.type + '报建流程'
|
|
120
|
+
}
|
|
121
|
+
let xmldata = {
|
|
122
|
+
data: this.$login.f,
|
|
123
|
+
workname: this.xmlname
|
|
124
|
+
}
|
|
125
|
+
let http = new HttpResetClass()
|
|
126
|
+
console.log('xmldata.workname:' + xmldata.workname)
|
|
127
|
+
http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
|
|
128
|
+
).then((res)=>{
|
|
129
|
+
if (res.data.code && res.data.code == 200){
|
|
130
|
+
Vue.supervisory_vue = Vue.prototype.$supervisory_vue = res.data.workflow_vue
|
|
131
|
+
if (res.data.msg){
|
|
132
|
+
console.log('获取配置文件信息:', res.data.msg)
|
|
133
|
+
}
|
|
134
|
+
// console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
|
|
135
|
+
console.log("$supervisory_vue---------" + JSON.stringify(this.$supervisory_vue))
|
|
136
|
+
console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
|
|
137
|
+
this.topheight = '20%'
|
|
138
|
+
this.botheight = '80%'
|
|
139
|
+
this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
|
|
140
|
+
this.$refs.queryuser.$refs.cp.pager = false
|
|
141
|
+
this.showbasic = true
|
|
142
|
+
let msg = val.defname
|
|
143
|
+
this.header = msg
|
|
144
|
+
this.hidden()
|
|
145
|
+
} else {
|
|
146
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
147
|
+
return
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
}
|
|
98
151
|
},
|
|
99
152
|
'selfsearch'() {
|
|
100
153
|
this.$refs.queryuser.$refs.cp.$refs.cri.search()
|