apply-clients 5.0.35-99 → 5.0.35-ezhou-1

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.
Files changed (43) hide show
  1. package/dist.7z +0 -0
  2. package/package.json +111 -111
  3. package/src/apply.js +1 -13
  4. package/src/components/app_apply/ApplyToDoList.vue +2586 -76
  5. package/src/components/app_apply/PlaceControler.vue +0 -12
  6. package/src/components/app_apply/ServiceControl.vue +348 -687
  7. package/src/components/app_apply/ezhou/ServiceView.vue +57 -139
  8. package/src/components/product/Common/ApplyValidateBill.vue +6 -13
  9. package/src/components/product/Common/PrintBill.vue +6 -7
  10. package/src/components/product/Function/InstallInfoSelect.vue +2 -3
  11. package/src/components/product/Function/Service/FunctionServiceControl.vue +1 -37
  12. package/src/components/product/Function/functions/BuyerMessage.vue +1 -1
  13. package/src/components/product/Function/functions/InstallFee.vue +22 -103
  14. package/src/components/product/Function/functions/InstallFeeInfo.vue +1 -6
  15. package/src/components/product/Process/ExplorationSelect.vue +670 -653
  16. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +907 -907
  17. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +39 -126
  18. package/src/components/product/Process/Processes/Service/PaperTicketBill.vue +1 -1
  19. package/src/components/product/Process/Processes/Service/ServiceControl.vue +1495 -1880
  20. package/src/components/product/ServiceView.vue +5 -15
  21. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +10 -56
  22. package/src/components/product/Supervisory/SupervisoryList.vue +12 -76
  23. package/src/components/product/stopInfo/ApplyStopInfo.vue +1 -2
  24. package/src/ezhouAndroid.js +0 -4
  25. package/src/plugins/commonService.js +1 -1
  26. package/yarn-error.log +8796 -9048
  27. package/src/components/app_apply/Gongcheng.vue +0 -3631
  28. package/src/components/app_apply/OneToMany.vue +0 -194
  29. package/src/components/image/doc.jpg +0 -0
  30. package/src/components/image/dwg.png +0 -0
  31. package/src/components/image/dxf.png +0 -0
  32. package/src/components/image/excel.jpg +0 -0
  33. package/src/components/image/pdf.jpg +0 -0
  34. package/src/components/product/EngineeringManagement/EngineerUpload.vue +0 -304
  35. package/src/components/product/EngineeringManagement/EngineeringManagement.vue +0 -137
  36. package/src/components/product/EngineeringManagement/EngineeringSelect.vue +0 -586
  37. package/src/components/product/EngineeringSupervisory/EngineeringApplyStopInfo.vue +0 -281
  38. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryControl.vue +0 -132
  39. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryList.vue +0 -340
  40. package/src/components/product/EngineeringSupervisory/EngineeringSupervisoryServiceControl.vue +0 -490
  41. package/src/components/product/Function/functions/ApplyUpload.vue +0 -556
  42. package/src/components/product/applyReport/ApplyReport.vue +0 -205
  43. package/src/components/product/applyReport/PrintApplyReport.vue +0 -116
@@ -1,194 +0,0 @@
1
- <template>
2
- <div class="repair-bg auto" id="repair-first" style="padding-bottom:5px;overflow:auto">
3
- <div style="text-align: center"> <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;" @click="addRow()">新增项目</button>
4
- </div>
5
- <div class="panel panel-default repair-info-content auto">
6
- <div class="panel-body">
7
- <div class="panel panel-default well" v-for="row in rows" >
8
- <div class="panel-body bg-info" style="padding: 10px">
9
- <div class="row form-group">
10
- <div class="col-sm-12 col-xs-12 col-md-12">
11
- <div class="row" v-for="field in fields">
12
- <div class="col-sm-12 col-xs-12 col-md-12 padd-div-shu">
13
- {{field.label}}:{{row[field.field]}}
14
- </div>
15
- </div>
16
- </div>
17
- <div class="col-sm-12 col-xs-12 col-md-12">
18
- <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right" @click="deleteRow(row)">删除</button>
19
- </div>
20
- </div>
21
- </div>
22
- </div>
23
- </div>
24
- </div>
25
- <modal :show.sync="show" backdrop="false">
26
- <header slot="modal-header" class="modal-header">
27
- <h3 style="color:black" class="modal-title">新增</h3>
28
- </header>
29
- <article slot="modal-body">
30
- <div class="row">
31
- <label class=" col-sm-4 control-label">收费项目:</label>
32
- <div class="col-sm-5">
33
- <v-select :options="f_project_items" placeholder='收费项目'
34
- :width="100" style="width:100%"
35
- :value-single="true"
36
- v-model="model.f_project_item" :value.sync="model.f_project_item" close-on-select>
37
- </v-select>
38
- </div>
39
- </div>
40
- <div class="row">
41
- <label class=" col-sm-4 control-label">数量:</label>
42
- <div class="col-sm-5">
43
- <input class="form-control" type="text" v-model="model.f_amount" >
44
- </div>
45
- </div>
46
- <div class="row">
47
- <label class=" col-sm-4 control-label">单价:</label>
48
- <div class="col-sm-5">
49
- <input class="form-control" type="text" v-model="model.f_price" >
50
- </div>
51
- </div>
52
- <div class="row">
53
- <label class=" col-sm-4 control-label">金额:</label>
54
- <div class="col-sm-5">
55
- <input class="form-control" type="text" v-model="model.f_money" >
56
- </div>
57
- </div>
58
-
59
- </article>
60
- <footer slot="modal-footer" class="modal-footer">
61
- <button type="button" class="btn btn-success" @click='addclick()'>确定</button>
62
- <button type="button" class="btn btn-default" @click='cancelclick()'>取消</button>
63
- </footer>
64
- </modal>
65
- </div>
66
-
67
- </template>
68
-
69
- <script>
70
- import {HttpResetClass} from "vue-client";
71
-
72
- export default {
73
- title: '收费项目',
74
- props:['item'],
75
- data () {
76
- return {
77
- model:{
78
- f_amount: "",
79
- f_apply_num: "",
80
- f_filiale: "",
81
- f_money: "",
82
- f_price: "",
83
- f_process_id: "",
84
- f_project_item: ""
85
- },
86
- show:false,
87
- f_project_items:[{label:'测试',value:'测试'}],
88
- rows: [],
89
- fields:[]
90
- }
91
- },
92
- ready(){
93
- console.log('item2',this.item)
94
- const param = this.$appdata.getParam("收费项目")
95
- if(param){
96
- this.f_project_items = param
97
- }
98
- this.fields = this.item.fields
99
- this.model.f_process_id = this.item.f_process_id
100
- this.model.f_apply_num = this.item.f_apply_num
101
- this.model.f_filiale = this.item.f_filiale
102
- this.search()
103
- },
104
- methods:{
105
- addclick(){
106
- if(!this.model.f_project_item){
107
- this.$showMessage('请选择收费项目')
108
- return
109
- }
110
- if(!this.model.f_amount){
111
- this.$showMessage('请输入数量')
112
- return
113
- }
114
- if(!this.model.f_price){
115
- this.$showMessage('请输入单价')
116
- return
117
- }
118
- if(!this.model.f_money){
119
- this.$showMessage('请输入金额')
120
- return
121
- }
122
- console.log('this.model',this.model)
123
- const data = {
124
- row:this.model,
125
- tables:this.item.tables
126
- }
127
-
128
- console.log('data',data)
129
- let http=new HttpResetClass()
130
- http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/saveentity`,data).then(res=>{
131
- console.log('res',res)
132
- if(res.data.id){
133
- this.$showMessage('添加成功')
134
- this.cancelclick()
135
- this.search()
136
- }
137
- })
138
-
139
- },
140
- addRow(){
141
- this.show = true
142
- },
143
- cancelclick(){
144
- this.model = Object.assign({},this.model,{
145
- f_amount: "",
146
- f_money: "",
147
- f_price: "",
148
- f_project_item: ""
149
- })
150
- this.show = false
151
- },
152
- deleteRow(row){
153
- console.log('deleteRow',row)
154
- let http=new HttpResetClass()
155
- this.$showMessage('您确定要删除这条记录吗?',['confirm','cancel']).then(res=>{
156
- if(res === 'confirm'){
157
- const param ={
158
- row:row,
159
- tables:this.item.tables
160
- }
161
- http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/applyDeleteValue`,{data:param}).then(res=>{
162
- console.log('res',res)
163
- if(res.data.status === 200){
164
- this.$showMessage('删除成功')
165
- this.search()
166
- }
167
- })
168
- }
169
- })
170
- },
171
- search(){
172
- const param = {
173
- "items":"*",
174
- "tablename":this.item.tables[0],
175
- "condition":`f_process_id='${this.item.f_process_id}'`,
176
- "orderitem":'id desc'
177
- }
178
- let http=new HttpResetClass()
179
- http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`,{data:param}).then(res=>{
180
- console.log(`前台本地报建代办工单查询结果data=>>>${JSON.stringify(res.data)}`)
181
- if(res.data){
182
- this.rows = res.data
183
- }else{
184
- this.rows = []
185
- }
186
- })
187
- }
188
- }
189
- }
190
- </script>
191
-
192
- <style scoped>
193
-
194
- </style>
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,304 +0,0 @@
1
- <template>
2
- <div class="col-sm-12" style="background-color: #FFFFFF">
3
- <div class="col-sm-12" style="padding:50px 100px;height: 25%">
4
- <div class="form-group col-sm-5" v-if="issearch">
5
- <v-select
6
- class="select select_list"
7
- :value.sync="useType"
8
- width="90%"
9
- v-model="useType"
10
- :options='typeOfUse'
11
- :valueSingle="true"></v-select>
12
- </div>
13
- <div class="form-group col-sm-2" style="text-align: center" v-if="issearch">
14
- <button type="button" class="btn btn-primary item_btn" @click="load">搜索</button>
15
- </div>
16
- <div class="form-group col-sm-2" style="text-align: center" v-if="isupload">
17
- <button type="button" class="btn btn-primary item_btn" @click="showUpload = !showUpload">本地上传</button>
18
- </div>
19
- <div class="form-group col-sm-2" style="text-align: center" v-if="takeimg">
20
- <button type="button" class="btn btn-primary item_btn" @click="upload()">高拍仪</button>
21
- </div>
22
- </div>
23
- <hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;"/>
24
- <div class="col-sm-12" style="overflow: scroll;height: 75%">
25
- <div :class="bootstraped ? bootstraped + ' showData' : 'col-sm-6 showData'" v-for="row in fileInfoData">
26
- <div class="col-sm-12 item">
27
- <div class="left col-sm-5">
28
- <a href="#" class="thumbnail" style="width: 100%;height: 100%">
29
- <img v-if="row.f_filetype === 'jpg'||row.f_filetype === 'png'||row.f_filetype === 'gif'||row.f_filetype === 'bmp'" :src="row.f_downloadURL" alt="..."/>
30
- <img v-if="row.f_filetype === 'pdf'" src="../../image/pdf.jpg" alt="" />
31
- <img v-if="row.f_filetype === 'xls'||row.f_filetype === 'xlsx'" src="../../image/excel.jpg" alt="" />
32
- <img v-if="row.f_filetype === 'doc'||row.f_filetype === 'docx'" src="../../image/doc.jpg" alt="" />
33
- <img v-if="row.f_filetype === 'dwg'" src="../../image/dwg.png" alt="" />
34
- <img v-if="row.f_filetype === 'dxf'" src="../../image/dxf.png" alt="" />
35
- </a>
36
- </div>
37
- <div class="right col-sm-7">
38
- <p :title="row.f_filename" class="clears"><strong>文件名:</strong>{{row.f_filename}}</p>
39
- <p :title="row.f_username" class="clears"><strong>操作员:</strong><span>{{row.f_username}}</span></p>
40
- <p :title="row.fusetype" class="clears"><strong>使用类型:</strong><span>{{row.fusetype}}</span></p>
41
- <p :title="row.f_uploaddate" class="clears"><strong>上传时间:</strong><span>{{row.f_uploaddate}}</span></p>
42
- <p :title="row.fremarks" class="clears"><strong>文件说明:</strong>{{row.fremarks}}</p>
43
- <p class="clears">
44
- <a v-if="row.f_filetype === 'jpg' || row.f_filetype==='png' || row.f_filetype==='gif' || row.f_filetype==='bmp'" :href="row.f_downloadURL" style="background:#6aa6e2" class="btn btn-primary" target="_blank" role="button">预览</a>
45
- <a v-if="row.f_filetype === 'dwg' || row.f_filetype==='dxf'" style="background:#6aa6e2" class="btn btn-primary" :href="row.f_downloadURL" role="button" download>下载</a>
46
- <a v-if="row.f_filetype !=='jpg' && row.f_filetype !=='png' && row.f_filetype !=='gif' && row.f_filetype !=='bmp' && row.f_filetype !=='dxf' && row.f_filetype !=='dwg'"
47
- @click="downloadfile(row.f_downloadURL)" style="background:#6aa6e2" class="btn btn-primary" role="button">下载</a>
48
- <a v-if="isdelete && row.defname === defname" @click="delet($index, row)" href="#" class="btn btn-default" role="button" role="button">删除</a>
49
- </p>
50
- </div>
51
- </div>
52
- </div>
53
- </div>
54
- </div>
55
- <high-meter :show.sync="showhighmeter"
56
- @photo-finish="newPhoto"
57
- v-if="showhighmeter"
58
- :isusetype="isusetype"
59
- :isremark="isremark"
60
- v-ref:ltgao></high-meter>
61
- <modal :show.sync="showUpload" v-ref:modal backdrop="false">
62
- <header slot="modal-header" class="modal-header">
63
- <button type="button" class="close" @click="close"><span class="glyphicon glyphicon-remove"></span></button>
64
- <h4 class="modal-title" style="text-align: center">文件上传</h4>
65
- </header>
66
- <article slot="modal-body" class="modal-body form-horizontal">
67
- <div class="form-group" style="text-align: center">
68
- <file-upload class="my-file-uploader" :name="'myFile' + blodid"
69
- action="rs/file/uploadFile" tagname="文件上传" :headers="headers" multiple v-ref:file></file-upload>
70
- </div>
71
- <div class="form-group" v-if="isusetype">
72
- <label class="col-sm-2 control-label">文件类型:</label>
73
- <div class="col-sm-10">
74
- <input-select
75
- class="select select_list"
76
- :value.sync="headers.fusetype"
77
- v-model="headers.fusetype"
78
- :options="$appdata.getParam('工程管理文件类型')"
79
- :valueSingle="true"></input-select>
80
- </div>
81
- </div>
82
- <div class="form-group" v-if="isremark">
83
- <label class="col-sm-2 control-label">文件说明:</label>
84
- <div class="col-sm-10">
85
- <input class="form-control input_view" style=""
86
- v-model="headers.fremarks"
87
- :value="headers.fremarks"/>
88
- </div>
89
- </div>
90
- </article>
91
- <footer slot="modal-footer" class="modal-footer">
92
- </footer>
93
- </modal>
94
- </template>
95
-
96
- <script>
97
- import {HttpResetClass} from 'vue-client'
98
- import {isEmpty} from "../../Util";
99
- export default {
100
- title: '附件',
101
- props: ['blodid', 'businessid', 'isremark', 'isusetype', 'takeimg', 'defname', 'isupload', 'isdelete', 'bootstraped', 'issearch'],
102
- data () {
103
- return {
104
- fileInfoData: [], // 数据库存储的文件记录对象数组
105
- headers: {'username': this.$login.f.name, 'blodid': '','businessid':'', 'fremarks': '','defname':'','fusetype':''}, // 调用rs/file/uploadFile 的参数
106
- showUpload: false, // 上传模态框控制
107
- showhighmeter: false, // 高拍仪组件控制
108
- useType: null
109
- }
110
- },
111
- methods: {
112
- delet(index, row) {
113
- this.$resetdelete('rs/entity/t_files', {id: row.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
114
- this.$dispatch("delResid",row.id)
115
- this.load()
116
- })
117
- },
118
- // 下载
119
- downloadfile(filepath){
120
- var link = document.createElement('a');
121
- link.href = filepath;
122
- link.target='_blank'
123
- link.dispatchEvent(new MouseEvent('click'));
124
- },
125
- // 关闭文件上传对话框
126
- close () {
127
- this.showUpload = false
128
- this.showhighmeter = false
129
- // 将选的文件清空
130
- this.$refs.file.$el.querySelector('input').value = ''
131
- this.headers.fusetype = ''
132
- this.headers.fremarks = ''
133
- this.load()
134
- },
135
- // 查询
136
- async load() {
137
- let condition = ''
138
- if(this.businessid){
139
- condition = `f_businessid= '${this.headers.businessid}' `
140
- }else{
141
- condition = `f_blobid= '${this.headers.blodid}' `
142
- }
143
- if (this.useType != undefined && this.useType != null && this.useType != '') {
144
- condition += `and fusetype = '${this.useType}'`
145
- }
146
- let http = new HttpResetClass()
147
- let data = {
148
- tablename: 't_files',
149
- condition: condition + ` order by f_uploaddate desc `
150
- }
151
- console.log("当前数据",data)
152
- let getFile = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
153
- warnMsg: null,
154
- resolveMsg: null
155
- })
156
-
157
- for (var i = 0; i < getFile.data.length; i++) {
158
- // 如果使用类型包含导入字样,则是execl文件导入的,不做显示
159
- if(getFile.data[i].fusetype&&(getFile.data[i].fusetype.includes('execl导入'))){
160
- getFile.data.splice(i,1)
161
- i--
162
- continue
163
- }
164
- let temp = getFile.data[i].f_downloadpath
165
- if (temp.includes('http:')){
166
- getFile.data[i].f_downloadURL = temp
167
- } else {
168
- let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
169
- getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
170
- }
171
- }
172
- this.fileInfoData = []
173
- this.fileInfoData = getFile.data
174
- },
175
- // 打开高拍仪
176
- upload () {
177
- if(this.showhighmeter){
178
- this.$refs.ltgao.closeVideo()
179
- }
180
- this.showhighmeter = !this.showhighmeter
181
- },
182
- // 高拍仪回调
183
- newPhoto(Imgbase64, fusetype, fremarks) {
184
- this.headers.fusetype = fusetype
185
- this.headers.fremarks = fremarks
186
-
187
- let form = new FormData()
188
- let xhr = new XMLHttpRequest()
189
- let formDataBoundary = "----WebkitFormBoundary" + "GaoPaiYi";
190
- form.append('Content-Type', 'multipart/form-data;boundary=' + formDataBoundary)
191
- form.append('file', this.convertBase64ToBlob(Imgbase64), "GaoPaiYi.jpg")
192
- xhr.open("POST", "rs/file/uploadFile")
193
-
194
- if (this.headers) {
195
- for (var header in this.headers) {
196
- xhr.setRequestHeader(header, encodeURIComponent(this.headers[header]))
197
- }
198
- }
199
- xhr.send(form)
200
- setTimeout(() => {
201
- this.close()
202
- }, 5000)
203
- },
204
- convertBase64ToBlob(base64String) {
205
- // 将base64解码
206
- var bytes = atob(base64String);
207
- //var bytes = base64;
208
- var bytesCode = new ArrayBuffer(bytes.length);
209
- // 转换为类型化数组
210
- var byteArray = new Uint8Array(bytesCode);
211
-
212
- // 将base64转换为ascii码
213
- for (var i = 0; i < bytes.length; i++) {
214
- byteArray[i] = bytes.charCodeAt(i);
215
- }
216
- // 生成Blob对象(文件对象)
217
- return new Blob([bytesCode], {type: 'image/jpeg'});
218
- },
219
- },
220
- ready () {
221
- console.log("当前的流程标asdasd识",this.blodid+'adada'+ this.defname)
222
- this.headers.blodid = this.blodid
223
- this.headers.businessid = this.businessid
224
- this.headers.defname = this.defname
225
- if (this.blodid || this.businessid) {
226
- this.load()
227
- }
228
- },
229
- computed: {
230
- typeOfUse () {
231
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('工程管理文件类型')]
232
- }
233
- },
234
- events: {
235
- onFileUpload: function (file, res) {
236
- this.$dispatch("resid",res.id)
237
- this.headers.fremarks=''
238
- this.close()
239
- }
240
- },
241
- watch: {
242
- 'blodid'(val) {
243
- if (val) {
244
- console.log('观察blodid', val)
245
- this.headers.blodid = this.blodid
246
- this.load(this)
247
- }
248
- },
249
- 'businessid'(val) {
250
- console.log('观察businessid')
251
- if (val) {
252
- console.log('观察businessid', val)
253
- this.headers.businessid = this.businessid
254
- this.load(this)
255
- }
256
- },
257
- 'useType'() {
258
- this.headers.fusetype = this.useType[0] ? this.useType[0] : ''
259
- },
260
- 'defname'() {
261
- this.headers.defname=this.defname
262
- }
263
- },
264
- }
265
- </script>
266
-
267
- <style scoped>
268
- .clears{
269
- overflow:hidden;
270
- text-overflow:ellipsis;
271
- white-space:nowrap;
272
- }
273
- .showData {
274
- padding: 15px 10px 0px 10px;
275
- box-sizing: border-box;
276
- height: 230px;
277
- font-family: "微软雅黑";
278
- }
279
- .showData .item{
280
- padding-bottom: 10px;
281
- border-bottom: solid 1px #c1c1c1;
282
- }
283
- .left {
284
- padding-right: 10px;
285
- }
286
- .left img{
287
- height: 100%;
288
- width: 100%;
289
- }
290
- .right{
291
- height: 100%;
292
- /*display: -webkit-flex;*/
293
- /*display: flex;*/
294
- /*flex-direction: column;*/
295
- /*justify-content: space-around;*/
296
- }
297
- .item_btn{
298
- width: 80%;
299
- background-color: #6aa6e2;
300
- border-radius: 4px;
301
- color: #FFFFFF;
302
- font-family: PingFang;
303
- }
304
- </style>
@@ -1,137 +0,0 @@
1
- <template>
2
- <div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
3
- <div class="tops" v-bind:style="{ height: topheight }">
4
- <engineer-select v-ref:queryuser v-show="show"></engineer-select>
5
- </div>
6
- <div v-show="showtotal" v-bind:style="{ height: botheight ,'margin-top':'20px','background-color' : '#f6f6f6' ,padding:'12px'}">
7
- <div class="col-sm-10">
8
- <tabset v-ref:tabs :close="false">
9
- <tab :header='header' style="background-color :#f6f6f6">
10
- <service-control v-ref:service :selectdata="selectdata" ></service-control>
11
- </tab>
12
- <!-- <tab header='表档案管理'>-->
13
- <!-- <record-message v-ref:record :selectdata="selectdata" :key="tittle2"-->
14
- <!-- :edit = "true">-->
15
- <!-- </record-message>-->
16
- <!-- </tab>-->
17
- <!--<tab header='材料信息' style="background-color :#f6f6f6">-->
18
- <!--<material-message v-ref:material :selectdata="selectdata"-->
19
- <!--:edit = "true">-->
20
- <!--</material-message>-->
21
- <!--</tab>-->
22
- <tab header='附件' style="background-color :#f6f6f6">
23
- <engineer-upload v-ref:file
24
- :blodid = "f_process_id"
25
- :isusetype = "true"
26
- :isremark = "true"
27
- :issearch = "true"
28
- :isupload = "true"
29
- :takeimg = "true"
30
- :defname="selectdata.defname"
31
-
32
- ></engineer-upload>
33
- <!--<customer-file v-ref:file :selectdata="selectdata"></customer-file>-->
34
- </tab>
35
- <!--<tab header='设备新增' v-if="flagg">-->
36
- <!--<equipment-message v-ref:equipment :selectdata="selectdata"-->
37
- <!--:edit = "true">-->
38
- <!--</equipment-message>-->
39
- <!--</tab>-->
40
- <!-- <tab header='设备管理' v-if="flagg">
41
- <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle3"></customer-record-message>
42
- </tab>-->
43
- </tabset>
44
- </div>
45
- <div class="col-sm-2" v-show="showbasic" >
46
- <history_control v-ref:binfo :selectdata="selectdata"></history_control>
47
- </div>
48
- </div>
49
- </div>
50
- </template>
51
- <script>
52
- import Vue from 'vue'
53
- import {HttpResetClass} from 'vue-client'
54
- export default {
55
- title: '工程管理',
56
- data() {
57
- return {
58
- flagg: false,
59
- show: true,
60
- showbasic: false,
61
- showtotal: false,
62
- header: null,
63
- selectdata: {},
64
- botheight: '0%',
65
- topheight: '100%',
66
- tittle1:'户档案管理',
67
- tittle2:'表档案管理',
68
- tittle3:'设备管理',
69
- f_process_id: ''
70
- }
71
- },
72
-
73
- events: {
74
- 'addactive'() {
75
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
76
- this.hidden()
77
- this.showbasic = true
78
- this.topheight = '8%'
79
- this.botheight = '82%'
80
- },
81
- 'changeheight'() {
82
- this.show = true
83
- this.botheight = '0%'
84
- },
85
- 'check'(val) {
86
- this.selectdata = null
87
- this.selectdata = val
88
- this.f_process_id = this.selectdata.f_process_id
89
-
90
- console.log(val)
91
- //如果点击后未结余金额不为0,不允许下发f_unaccounts_money
92
- console.log("当前的流程标识",this.selectdata.f_process_id)
93
- console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
94
- this.topheight = '8%'
95
- this.botheight = '82%'
96
- this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
97
- this.$refs.queryuser.$refs.cp.pager = false
98
- this.showbasic = true
99
- this.header = val.defname
100
- this.hidden()
101
- this.$refs.service.refurbish(val)
102
- },
103
- 'selfsearch'() {
104
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
105
- },
106
- 'close'() {
107
- this.showtotal = false
108
- this.topheight = '100%'
109
- this.botheight = '0%'
110
- this.$refs.queryuser.$refs.cp.pager = true
111
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
112
- }
113
- },
114
- methods: {
115
- hidden() {
116
- this.showtotal = true
117
- },
118
- close() {
119
- this.hidden()
120
- this.topheight = '100%'
121
- this.botheight = '0%'
122
- }
123
- },
124
- async ready(){
125
- },
126
- watch: {
127
- 'selectdata'(val) {
128
- console.log('selectdata:', val)
129
- },
130
- 'selectdata.f_customer_type'() {
131
- if (this.selectdata.f_customer_type == '企业') {
132
- this.flagg = true
133
- }
134
- }
135
- }
136
- }
137
- </script>