apply-clients 7.1.36-yuchuan-58 → 7.1.36-yuchuan-60

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 (68) hide show
  1. package/android.html +27 -27
  2. package/build/dev-server.js +187 -187
  3. package/package.json +1 -1
  4. package/src/apply.js +166 -166
  5. package/src/applyAndroid.js +98 -98
  6. package/src/components/android/AppSign.vue +232 -232
  7. package/src/components/android/Ignition/VentilationIgnition.vue +409 -409
  8. package/src/components/android/Ignition/VentilationIgnitionHandle.vue +472 -472
  9. package/src/components/android/Process/AppExplorationUser.vue +454 -454
  10. package/src/components/android/Process/AppServiceControl.vue +1434 -1434
  11. package/src/components/android/Process/Processes/AppInstallationDetails.vue +1026 -1026
  12. package/src/components/android/Process/Processes/newAppInstallationDetails.vue +671 -671
  13. package/src/components/android/SealBind.vue +382 -382
  14. package/src/components/android/SealManage.vue +278 -278
  15. package/src/components/android/Sign/AppSignTask.vue +183 -183
  16. package/src/components/android/Supervisory/AppProcessSupervisory.vue +344 -344
  17. package/src/components/android/Task/Build/BuildTsak.vue +117 -117
  18. package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -114
  19. package/src/components/android/Task/GuanXianJianShe/AppExplorationGuanXian.vue +317 -317
  20. package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -124
  21. package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -124
  22. package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +431 -431
  23. package/src/components/android/Task/Survey/SurveyTsak.vue +141 -141
  24. package/src/components/android/Task/yiban/AppShowDone.vue +442 -442
  25. package/src/components/android/newPackage/customerServiceManager.vue +218 -218
  26. package/src/components/android/newPackage/projectPrice.vue +218 -218
  27. package/src/components/product/ApplyCharge/ApplyChargeList.vue +1101 -1101
  28. package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +236 -236
  29. package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +325 -325
  30. package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +142 -142
  31. package/src/components/product/ApplyGuanXian/GuanXianExplorationsupervisory.vue +166 -166
  32. package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -119
  33. package/src/components/product/ApplyGuanXian/GuanXiansupsupervisory.vue +140 -140
  34. package/src/components/product/ApplyMap/AppMapLocation.vue +829 -829
  35. package/src/components/product/ApplyMap/ApplyMapInputSearch.vue +335 -335
  36. package/src/components/product/ChongZheng/ApplyChongZhengList.vue +417 -417
  37. package/src/components/product/Function/InstallFunction.vue +132 -132
  38. package/src/components/product/Function/InstallInfoSelect.vue +374 -374
  39. package/src/components/product/Ignition/IgnitionDispatch.vue +90 -90
  40. package/src/components/product/Ignition/IgnitionListManage.vue +604 -604
  41. package/src/components/product/Ignition/IgnitionRecord.vue +380 -380
  42. package/src/components/product/InsuranceApply/InsuranceReport.vue +188 -188
  43. package/src/components/product/List/ShowAllActivity.vue +541 -541
  44. package/src/components/product/List/ShowDevices.vue +279 -279
  45. package/src/components/product/Print/BuildOrder/buildOrderList.vue +446 -446
  46. package/src/components/product/Process/ExplorationSelect.vue +593 -593
  47. package/src/components/product/Process/ExplorationUser.vue +154 -154
  48. package/src/components/product/Process/New1ExplorationUser.vue +196 -196
  49. package/src/components/product/Process/NewExplorationSelect.vue +587 -587
  50. package/src/components/product/Process/NewExplorationUser.vue +216 -216
  51. package/src/components/product/Process/Processes/chargeManagement.vue +714 -714
  52. package/src/components/product/Process/Processes/selectApply.vue +250 -250
  53. package/src/components/product/Process/Processes/selectChaiChuUserinfo.vue +230 -230
  54. package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -241
  55. package/src/components/product/Process/Processes/selectUserinfo.vue +234 -234
  56. package/src/components/product/Process/Service/ServiceControl.vue +2223 -2223
  57. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  58. package/src/components/product/ServiceView.vue +644 -644
  59. package/src/components/product/Stop/StopApplyList.vue +224 -224
  60. package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -175
  61. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +593 -593
  62. package/src/components/product/Supervisory/SupervisoryControl.vue +114 -114
  63. package/src/components/product/Supervisory/SupervisoryList.vue +586 -586
  64. package/src/components/product/Supervisory/SupervisoryhCart.vue +120 -120
  65. package/src/components/product/Supervisory/YiBanSupervisoryControl.vue +111 -111
  66. package/src/components/product/Supervisory/YiBanSupervisoryList.vue +4 -0
  67. package/src/components/product/VueUtils/ApplyUpload.vue +303 -303
  68. package/src/main.js +27 -27
@@ -1,142 +1,142 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <guan-xian-exploration-select v-ref:query :show-data="showData"></guan-xian-exploration-select>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <div class="col-sm-2" style="margin-top: 20px">
9
- <guan-xian-supervisoryh-cart :selectdata="selectdata"></guan-xian-supervisoryh-cart>
10
- </div>
11
- <tabset v-ref:tabs :close="false" :active.sync="active">
12
- <tab :header='selectdata.defname'>
13
- <service-control v-ref:service :selectdata="selectdata"></service-control>
14
- </tab>
15
- <tab header='附件'>
16
- <apply-upload :blodid="selectdata.f_process_id"
17
- :isupload = "true"
18
- :isdelete="true"
19
- :isusetype="true"
20
- :isremark = "true"
21
- :takeimg="true"
22
- :issearch="true"
23
- :defname="selectdata.defname">
24
- </apply-upload>
25
- </tab>
26
- </tabset>
27
- </div>
28
- </div>
29
- </div>
30
- </template>
31
- <script>
32
- import Vue from 'vue'
33
- import {HttpResetClass} from 'vue-client'
34
- export default {
35
- title: '管线建设流程',
36
- data () {
37
- return {
38
- showData: true, // 控制列表数据
39
- showtotal: false, // 详情显示
40
- selectdata: {},
41
- xmlname: '', // 配置文件名
42
- active: 0 // 配置文件名
43
- }
44
- },
45
- ready () {
46
- console.log('=============用户信息=================')
47
- console.log(this.$login.f)
48
- console.log(this.$login.r)
49
- },
50
- methods: {
51
- // 获取页面配置json文件
52
- async loadName () {
53
- let http = new HttpResetClass()
54
- let data = {
55
- workname: this.selectdata.processname
56
- }
57
- let res=await http.load('POST', 'rs/logic/ApplyGetConfigs', {
58
- data
59
- }, {resolveMsg: null, rejectMsg: null})
60
-
61
- Vue.prototype.$workflow_vue = res.data
62
- }
63
- },
64
- events: {
65
- 'onMessage' (data) {
66
- console.log('接收消息')
67
- console.log(data)
68
- if (data.type === 'apply-task') {
69
- this.$refs.query.$refs.cp.$refs.cri.search()
70
- }
71
- },
72
- // 刷新控制层
73
- async 'breakControl' (servicedata) {
74
-
75
- if (servicedata.id) {
76
- let data = {
77
- condition: `u.id = ${servicedata.id}`,
78
- data: {
79
- userid: this.$login.f.id,
80
- f_filiale: "榆林."+this.$login.f.orgs
81
- }
82
- }
83
- let res = await this.$resetpost(
84
- 'rs/sql/getGuanXianApply',
85
- {data: data},
86
- {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
87
- )
88
-
89
- this.selectdata = res.data[0]
90
- } else {
91
- this.selectdata = servicedata
92
- }
93
-
94
- this.showtotal = false
95
- this.$nextTick(() => {
96
- this.showtotal = true
97
- })
98
-
99
- },
100
- // 初始化
101
- async 'apply' (val) {
102
- this.showtotal = false
103
- this.selectdata = val
104
-
105
- // 次方法必须同步执行,否则后续会出问题
106
- // 获取页面json配置文件
107
- await this.loadName()
108
-
109
- // 显示详细
110
- this.showtotal = true
111
- // 关闭列表数据
112
- this.showData = false
113
- // 关闭分页
114
- this.$refs.query.$refs.cp.pager = false
115
- },
116
- 'search' () {
117
- this.selectdata = {}
118
- // 关闭详细
119
- this.showtotal = false
120
- // 显示列表数据
121
- this.showData = true
122
- // 显示分页
123
- this.$refs.query.$refs.cp.pager = true
124
- // 调用查询
125
- this.$refs.query.$refs.cp.$refs.cri.search()
126
- },
127
- 'loadPage' () {
128
- this.selectdata = {}
129
- // 关闭详细
130
- this.showtotal = false
131
- // 显示列表数据
132
- this.showData = true
133
- // 显示分页
134
- this.$refs.query.$refs.cp.pager = true
135
- // 调用查询
136
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
137
- }
138
- },
139
- watch: {
140
- }
141
- }
142
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <guan-xian-exploration-select v-ref:query :show-data="showData"></guan-xian-exploration-select>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <guan-xian-supervisoryh-cart :selectdata="selectdata"></guan-xian-supervisoryh-cart>
10
+ </div>
11
+ <tabset v-ref:tabs :close="false" :active.sync="active">
12
+ <tab :header='selectdata.defname'>
13
+ <service-control v-ref:service :selectdata="selectdata"></service-control>
14
+ </tab>
15
+ <tab header='附件'>
16
+ <apply-upload :blodid="selectdata.f_process_id"
17
+ :isupload = "true"
18
+ :isdelete="true"
19
+ :isusetype="true"
20
+ :isremark = "true"
21
+ :takeimg="true"
22
+ :issearch="true"
23
+ :defname="selectdata.defname">
24
+ </apply-upload>
25
+ </tab>
26
+ </tabset>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </template>
31
+ <script>
32
+ import Vue from 'vue'
33
+ import {HttpResetClass} from 'vue-client'
34
+ export default {
35
+ title: '管线建设流程',
36
+ data () {
37
+ return {
38
+ showData: true, // 控制列表数据
39
+ showtotal: false, // 详情显示
40
+ selectdata: {},
41
+ xmlname: '', // 配置文件名
42
+ active: 0 // 配置文件名
43
+ }
44
+ },
45
+ ready () {
46
+ console.log('=============用户信息=================')
47
+ console.log(this.$login.f)
48
+ console.log(this.$login.r)
49
+ },
50
+ methods: {
51
+ // 获取页面配置json文件
52
+ async loadName () {
53
+ let http = new HttpResetClass()
54
+ let data = {
55
+ workname: this.selectdata.processname
56
+ }
57
+ let res=await http.load('POST', 'rs/logic/ApplyGetConfigs', {
58
+ data
59
+ }, {resolveMsg: null, rejectMsg: null})
60
+
61
+ Vue.prototype.$workflow_vue = res.data
62
+ }
63
+ },
64
+ events: {
65
+ 'onMessage' (data) {
66
+ console.log('接收消息')
67
+ console.log(data)
68
+ if (data.type === 'apply-task') {
69
+ this.$refs.query.$refs.cp.$refs.cri.search()
70
+ }
71
+ },
72
+ // 刷新控制层
73
+ async 'breakControl' (servicedata) {
74
+
75
+ if (servicedata.id) {
76
+ let data = {
77
+ condition: `u.id = ${servicedata.id}`,
78
+ data: {
79
+ userid: this.$login.f.id,
80
+ f_filiale: "榆林."+this.$login.f.orgs
81
+ }
82
+ }
83
+ let res = await this.$resetpost(
84
+ 'rs/sql/getGuanXianApply',
85
+ {data: data},
86
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
87
+ )
88
+
89
+ this.selectdata = res.data[0]
90
+ } else {
91
+ this.selectdata = servicedata
92
+ }
93
+
94
+ this.showtotal = false
95
+ this.$nextTick(() => {
96
+ this.showtotal = true
97
+ })
98
+
99
+ },
100
+ // 初始化
101
+ async 'apply' (val) {
102
+ this.showtotal = false
103
+ this.selectdata = val
104
+
105
+ // 次方法必须同步执行,否则后续会出问题
106
+ // 获取页面json配置文件
107
+ await this.loadName()
108
+
109
+ // 显示详细
110
+ this.showtotal = true
111
+ // 关闭列表数据
112
+ this.showData = false
113
+ // 关闭分页
114
+ this.$refs.query.$refs.cp.pager = false
115
+ },
116
+ 'search' () {
117
+ this.selectdata = {}
118
+ // 关闭详细
119
+ this.showtotal = false
120
+ // 显示列表数据
121
+ this.showData = true
122
+ // 显示分页
123
+ this.$refs.query.$refs.cp.pager = true
124
+ // 调用查询
125
+ this.$refs.query.$refs.cp.$refs.cri.search()
126
+ },
127
+ 'loadPage' () {
128
+ this.selectdata = {}
129
+ // 关闭详细
130
+ this.showtotal = false
131
+ // 显示列表数据
132
+ this.showData = true
133
+ // 显示分页
134
+ this.$refs.query.$refs.cp.pager = true
135
+ // 调用查询
136
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
137
+ }
138
+ },
139
+ watch: {
140
+ }
141
+ }
142
+ </script>
@@ -1,166 +1,166 @@
1
- <template>
2
- <div>
3
- <criteria-paged :model="model" v-ref:cp>
4
- <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="form-group col-sm-2">
8
- <label class="font_normal_body"><strong>管线编号:</strong></label>
9
- <input type="text" style="width:60%" class="input_search" placeholder='管线编号' v-model="model.f_apply_num"
10
- v-on:keyup.enter="$parent.$parent.search()"
11
- condition="f_apply_num like '%{}%'">
12
- </div>
13
- <div class="form-group col-sm-2">
14
- <label class="font_normal_body"><strong>工程名称:</strong></label>
15
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
16
- v-on:keyup.enter="$parent.$parent.search()" condition="f_address_name like '%{}%'" placeholder='道路名'>
17
- </div>
18
- <div class="form-group col-sm-2">
19
- <label class="font_normal_body"><strong>办理环节:</strong></label>
20
- <v-select
21
- v-model="model.defname"
22
- placeholder='办理环节'
23
- condition="defname = '{}'"
24
- :value.sync="model.defname"
25
- :options='$parent.$parent.defnames'
26
- class="select select_list"
27
- :value-single="true"
28
- close-on-select ></v-select>
29
- </div>
30
- <div class="form-group col-sm-3 button-range">
31
- <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
32
- <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
33
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
34
- </div>
35
- </div>
36
- </div>
37
- </criteria>
38
- <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
39
- <template partial='head'>
40
- <tr>
41
- <th style="white-space: nowrap;">序号</th>
42
- <th style="white-space: nowrap;">完成状态</th>
43
- <th style="white-space: nowrap;">管线编号</th>
44
- <th style="white-space: nowrap;">工程名称</th>
45
- <th style="white-space: nowrap;">办理环节</th>
46
- <th style="white-space: nowrap;">流程状态</th>
47
- <th style="white-space: nowrap;">流程开始时间</th>
48
- </tr>
49
- </template>
50
- <template partial='body'>
51
- <tr >
52
- <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
53
- <nobr><font>{{$index+1}}</font></nobr>
54
- </td>
55
- <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
56
- <nobr><font>{{row.f_sub_save_state}}</font></nobr>
57
- </td>
58
- <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
59
- <nobr><font>{{row.f_apply_num}}</font></nobr>
60
- </td>
61
- <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
62
- <nobr><font>{{row.f_address_name}}</font></nobr>
63
- </td>
64
- <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
65
- <nobr><font>{{row.defname}}</font></nobr>
66
- </td>
67
- <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
68
- <nobr><font>{{row.f_sub_state}}</font></nobr>
69
- </td>
70
- <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
71
- <nobr><font>{{row.sendtime}}</font></nobr>
72
- </td>
73
- </tr>
74
- </template>
75
- </data-grid>
76
- </criteria-paged>
77
- </div>
78
- </template>
79
- <script>
80
- import {HttpResetClass, PagedList} from 'vue-client'
81
- import {isEmpty} from '../../Util'
82
-
83
- export default {
84
- title: '工程列表',
85
- props: ['showData'],
86
- data () {
87
- return {
88
- model: new PagedList('rs/sql/getGuanXianliuCheng', 20, {
89
- data: {
90
- userid: this.$login.f.id,
91
- f_filiale: "榆林."+this.$login.f.orgs
92
- }
93
- }),
94
- showModal: false, // 控制发起类型选择
95
- defnames: isEmpty(this.$appdata.getParam('管线建设环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('管线建设环节')], // 流程节点
96
- save_states: [{label: '全部', value: ''},{label: '已完成', value: '已完成'},{label: '已退回', value: '已退回'}], // 报建性质
97
- apply_types: [{label: '管线建设', value: '管线建设'}],
98
- criteriaShow: false,
99
- getfield: {
100
- 'f_apply_num': ' 工 程 编 号 ',
101
- 'f_user_name': ' 客 户 名 称 ',
102
- 'f_contact': ' 联 系 人 ',
103
- 'f_phone': ' 电 话 ',
104
- 'f_user_type': ' 用户类型 ',
105
- 'f_user_classification': ' 用户分类 ',
106
- 'f_address': ' 地 址 ',
107
- 'f_apply_type': ' 报 建 类 型 ',
108
- 'f_apply_nature': ' 报 建 性 质 ',
109
- 'defname': ' 办 理 环 节 ',
110
- 'f_install_count': ' 安装户数 ',
111
- 'f_designer_people':' 设计人员 '
112
- }
113
- }
114
- },
115
- ready () {
116
- // 调用查询
117
- this.search()
118
- },
119
- methods: {
120
- // 点击操作
121
- click (val) {
122
- this.$dispatch('apply', val)
123
- },
124
- loadPage () {
125
- this.$dispatch('loadPage')
126
- },
127
- searchCondition (args) {
128
- this.model.search(args.condition, args.model)
129
- console.log("当前数据",this.model)
130
- },
131
- search () {
132
- this.$dispatch('search')
133
- },
134
- clear () {
135
- Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
136
- this.$refs.cp.$refs.cri.model[key] = null
137
- })
138
- }
139
- },
140
- computed: {
141
- getCondition () {
142
- return {
143
- condition: this.$refs.cp.$refs.cri.condition,
144
- data: {
145
- userid: this.$login.f.id,
146
- f_filiale: "榆林."+this.$login.f.orgs
147
- }
148
- }
149
- }
150
- },
151
- watch: {
152
- },
153
- events: {
154
- }
155
- }
156
- </script>
157
- <style scoped>
158
-
159
- .p1 {
160
- color: #dc0b12;
161
- font-weight:bold
162
- }
163
- .p {
164
- color: #ffaf4f;
165
- }
166
- </style>
1
+ <template>
2
+ <div>
3
+ <criteria-paged :model="model" v-ref:cp>
4
+ <criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="form-group col-sm-2">
8
+ <label class="font_normal_body"><strong>管线编号:</strong></label>
9
+ <input type="text" style="width:60%" class="input_search" placeholder='管线编号' v-model="model.f_apply_num"
10
+ v-on:keyup.enter="$parent.$parent.search()"
11
+ condition="f_apply_num like '%{}%'">
12
+ </div>
13
+ <div class="form-group col-sm-2">
14
+ <label class="font_normal_body"><strong>工程名称:</strong></label>
15
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
16
+ v-on:keyup.enter="$parent.$parent.search()" condition="f_address_name like '%{}%'" placeholder='道路名'>
17
+ </div>
18
+ <div class="form-group col-sm-2">
19
+ <label class="font_normal_body"><strong>办理环节:</strong></label>
20
+ <v-select
21
+ v-model="model.defname"
22
+ placeholder='办理环节'
23
+ condition="defname = '{}'"
24
+ :value.sync="model.defname"
25
+ :options='$parent.$parent.defnames'
26
+ class="select select_list"
27
+ :value-single="true"
28
+ close-on-select ></v-select>
29
+ </div>
30
+ <div class="form-group col-sm-3 button-range">
31
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
32
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
33
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </criteria>
38
+ <data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
39
+ <template partial='head'>
40
+ <tr>
41
+ <th style="white-space: nowrap;">序号</th>
42
+ <th style="white-space: nowrap;">完成状态</th>
43
+ <th style="white-space: nowrap;">管线编号</th>
44
+ <th style="white-space: nowrap;">工程名称</th>
45
+ <th style="white-space: nowrap;">办理环节</th>
46
+ <th style="white-space: nowrap;">流程状态</th>
47
+ <th style="white-space: nowrap;">流程开始时间</th>
48
+ </tr>
49
+ </template>
50
+ <template partial='body'>
51
+ <tr >
52
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
53
+ <nobr><font>{{$index+1}}</font></nobr>
54
+ </td>
55
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
56
+ <nobr><font>{{row.f_sub_save_state}}</font></nobr>
57
+ </td>
58
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
59
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
60
+ </td>
61
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
62
+ <nobr><font>{{row.f_address_name}}</font></nobr>
63
+ </td>
64
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
65
+ <nobr><font>{{row.defname}}</font></nobr>
66
+ </td>
67
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
68
+ <nobr><font>{{row.f_sub_state}}</font></nobr>
69
+ </td>
70
+ <td @click="$parent.$parent.$parent.click(row)" :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
71
+ <nobr><font>{{row.sendtime}}</font></nobr>
72
+ </td>
73
+ </tr>
74
+ </template>
75
+ </data-grid>
76
+ </criteria-paged>
77
+ </div>
78
+ </template>
79
+ <script>
80
+ import {HttpResetClass, PagedList} from 'vue-client'
81
+ import {isEmpty} from '../../Util'
82
+
83
+ export default {
84
+ title: '工程列表',
85
+ props: ['showData'],
86
+ data () {
87
+ return {
88
+ model: new PagedList('rs/sql/getGuanXianliuCheng', 20, {
89
+ data: {
90
+ userid: this.$login.f.id,
91
+ f_filiale: "榆林."+this.$login.f.orgs
92
+ }
93
+ }),
94
+ showModal: false, // 控制发起类型选择
95
+ defnames: isEmpty(this.$appdata.getParam('管线建设环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('管线建设环节')], // 流程节点
96
+ save_states: [{label: '全部', value: ''},{label: '已完成', value: '已完成'},{label: '已退回', value: '已退回'}], // 报建性质
97
+ apply_types: [{label: '管线建设', value: '管线建设'}],
98
+ criteriaShow: false,
99
+ getfield: {
100
+ 'f_apply_num': ' 工 程 编 号 ',
101
+ 'f_user_name': ' 客 户 名 称 ',
102
+ 'f_contact': ' 联 系 人 ',
103
+ 'f_phone': ' 电 话 ',
104
+ 'f_user_type': ' 用户类型 ',
105
+ 'f_user_classification': ' 用户分类 ',
106
+ 'f_address': ' 地 址 ',
107
+ 'f_apply_type': ' 报 建 类 型 ',
108
+ 'f_apply_nature': ' 报 建 性 质 ',
109
+ 'defname': ' 办 理 环 节 ',
110
+ 'f_install_count': ' 安装户数 ',
111
+ 'f_designer_people':' 设计人员 '
112
+ }
113
+ }
114
+ },
115
+ ready () {
116
+ // 调用查询
117
+ this.search()
118
+ },
119
+ methods: {
120
+ // 点击操作
121
+ click (val) {
122
+ this.$dispatch('apply', val)
123
+ },
124
+ loadPage () {
125
+ this.$dispatch('loadPage')
126
+ },
127
+ searchCondition (args) {
128
+ this.model.search(args.condition, args.model)
129
+ console.log("当前数据",this.model)
130
+ },
131
+ search () {
132
+ this.$dispatch('search')
133
+ },
134
+ clear () {
135
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
136
+ this.$refs.cp.$refs.cri.model[key] = null
137
+ })
138
+ }
139
+ },
140
+ computed: {
141
+ getCondition () {
142
+ return {
143
+ condition: this.$refs.cp.$refs.cri.condition,
144
+ data: {
145
+ userid: this.$login.f.id,
146
+ f_filiale: "榆林."+this.$login.f.orgs
147
+ }
148
+ }
149
+ }
150
+ },
151
+ watch: {
152
+ },
153
+ events: {
154
+ }
155
+ }
156
+ </script>
157
+ <style scoped>
158
+
159
+ .p1 {
160
+ color: #dc0b12;
161
+ font-weight:bold
162
+ }
163
+ .p {
164
+ color: #ffaf4f;
165
+ }
166
+ </style>