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.
Files changed (64) hide show
  1. package/dist.zip +0 -0
  2. package/index.html +1 -1
  3. package/package.json +4 -3
  4. package/src/App.vue +126 -15
  5. package/src/apply.js +16 -0
  6. package/src/bootstrap/fonts/PingFangSC-Regular.ttf +0 -0
  7. package/src/bootstrap/less/bootstrap.less +1 -2
  8. package/src/bootstrap/less/standard.less +208 -0
  9. package/src/components/Util.js +4 -0
  10. package/src/components/app_apply/FieldExploration.vue +2 -2
  11. package/src/components/app_apply/Ventilation.vue +2 -2
  12. package/src/components/image/doc.jpg +0 -0
  13. package/src/components/image/excel.jpg +0 -0
  14. package/src/components/image/pdf.jpg +0 -0
  15. package/src/components/image//345/233/276/345/261/20212.png +0 -0
  16. package/src/components/image//345/233/276/345/261/20213.png +0 -0
  17. package/src/components/image//345/233/276/345/261/20216.png +0 -0
  18. package/src/components/image//345/244/232/350/276/271/345/275/2422.png +0 -0
  19. package/src/components/image//345/244/232/350/276/271/345/275/2422/346/213/267/350/264/235.png +0 -0
  20. package/src/components/image//346/244/255/345/234/2062.png +0 -0
  21. package/src/components/image//346/244/255/345/234/2065.png +0 -0
  22. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
  23. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2352.png +0 -0
  24. package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2353.png +0 -0
  25. package/src/components/image//347/273/2044.png +0 -0
  26. package/src/components/image//347/273/2045.png +0 -0
  27. package/src/components/image//347/273/2046.png +0 -0
  28. 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
  29. package/src/components/product/Function/InstallFunction.vue +9 -5
  30. package/src/components/product/Function/InstallInfoSelect.vue +98 -69
  31. package/src/components/product/Function/Service/FunctionServiceControl.vue +47 -4
  32. package/src/components/product/Function/functions/AddContract.vue +161 -139
  33. package/src/components/product/Function/functions/BuyerMessage.vue +285 -137
  34. package/src/components/product/Function/functions/InstallFee.vue +1117 -912
  35. package/src/components/product/MaterialBatchList.vue +109 -0
  36. package/src/components/product/MaterialBatchManage.vue +34 -0
  37. package/src/components/product/Procedures/ProceduresDataGrid.vue +1022 -0
  38. package/src/components/product/Process/ExplorationSelect.vue +208 -73
  39. package/src/components/product/Process/ExplorationUser.vue +94 -39
  40. package/src/components/product/Process/MaterialUseList.vue +159 -0
  41. package/src/components/product/Process/ModifyUserFiles.vue +15 -5
  42. package/src/components/product/Process/ProcessInfo/history_control.vue +139 -110
  43. package/src/components/product/Process/Processes/ApplyUpload.vue +279 -0
  44. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +499 -210
  45. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +949 -753
  46. package/src/components/product/Process/Processes/ProjectSettlement.vue +535 -24
  47. package/src/components/product/Process/Processes/ReceiveBatch.vue +301 -121
  48. package/src/components/product/Process/Processes/Service/ApplyChangeHistory.vue +105 -0
  49. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +27 -14
  50. package/src/components/product/Process/Processes/Service/ServiceControl.vue +1727 -336
  51. package/src/components/product/Process/Processes/Upload.vue +532 -0
  52. package/src/components/product/Process/ShowBackReason.vue +1 -1
  53. package/src/components/product/ServiceView.vue +359 -122
  54. package/src/components/product/Statistics/ApplyStatisticsROOT.vue +27 -0
  55. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +212 -23
  56. package/src/components/product/Supervisory/SupervisoryControl.vue +79 -26
  57. package/src/components/product/Supervisory/SupervisoryList.vue +182 -41
  58. package/src/components/product/Supervisory/SupervisoryhCart.vue +4 -2
  59. package/src/components/product/VueUtils/Tree.vue +330 -0
  60. package/src/components/product/VueUtils/rightview/InstallCardList2.vue +29 -38
  61. package/src/stores/ApplyLoadParams.js +1 -1
  62. package/src/stores/PagedListLogic.js +173 -0
  63. package/.npmignore +0 -12
  64. package/yarn.lock +0 -9008
@@ -1,75 +1,60 @@
1
1
  <template>
2
2
  <div class="d1 flex">
3
- <div class="left col-sm-12">
3
+ <div class="left col-sm-12" v-if="refreshed">
4
4
  <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='search' v-ref:cri>
5
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
6
6
  <form novalidate class="" partial>
7
- <div class="col-sm-10">
8
- <div class="col-sm-2">
9
- <div class="col-sm-11">
10
- <input type="text" class="form-control" v-model="model.f_user_name" v-on:keyup.enter="search"
11
- condition="f_user_name like '{}%'" placeholder="用户姓名">
7
+ <div class="col-sm-12">
8
+ <div class="form-group col-sm-4">
9
+ <label class=" col-sm-6" style="padding-top: 8px">联系人/项目名称/用户名称:</label>
10
+ <div class="col-sm-6">
11
+ <input type="text" class="form-control" v-model="model.f_user_name"
12
+ condition=" (f_user_name like '%{}%' or f_entry_name like '%{}%' or f_company_name like '%{}%') " placeholder='三选一输入'>
12
13
  </div>
13
14
  </div>
14
- <div class="col-sm-2">
15
- <div class="col-sm-11">
16
- <input type="text" class="form-control" v-model="model.f_apply_num" v-on:keyup.enter="search"
17
- condition="f_apply_num like '{}%'" placeholder="报建编号">
15
+ <div class="col-sm-1">
16
+ <!--<label class="col-sm-6">合同编号</label>-->
17
+ <div class="col-sm-12">
18
+ <input type="text" class="form-control" placeholder='合同编号' v-model="model.f_contract_number"
19
+ v-on:keyup.enter="search"
20
+ condition="f_contract_number like '%{}%'">
18
21
  </div>
19
22
  </div>
20
- <!-- <div class="col-sm-2">
21
- <label for="f_user_name" class="col-sm-6"><nobr> 地址:</nobr></label>
22
- <div class="col-sm-6">
23
- <input type="text" class="form-control" v-model="model.f_address" v-on:keyup.enter="search"
24
- condition="f_address like '{}%'" >
25
- </div>
26
- </div> -->
27
- <div class="col-sm-2">
28
- <!--<label for="f_user_name" class="col-sm-6"><nobr> 小区:</nobr></label>-->
29
- <div class="col-sm-11">
30
- <input type="text" class="form-control" v-model="model.f_residential_area" v-on:keyup.enter="search"
31
- condition="f_residential_area like '{}%'" placeholder="小区">
23
+ <div class="col-sm-1">
24
+ <!--<label class="col-sm-6">用户地址</label>-->
25
+ <div class="col-sm-12">
26
+ <input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
27
+ v-on:keyup.enter="search"
28
+ condition="f_address like '%{}%'">
32
29
  </div>
33
30
  </div>
34
- <div class="col-sm-2">
35
- <!--<label for="f_user_name" class="col-sm-6"><nobr> 用户类型:</nobr></label>-->
36
- <div class="col-sm-11" v-if="this.$login.f.f_fengongsi.includes('中燃')">
37
- <v-select :options="$parent.$parent.fapplytype" placeholder='用户类型' condition="f_user_type like '{}%'"
31
+ <div class="col-sm-1">
32
+ <!--<label class="col-sm-6"> 报建类型:</label>-->
33
+ <div class="col-sm-12" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
34
+ <v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"
38
35
  v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
39
36
  </v-select>
40
37
  </div>
41
- <div class="col-sm-11" v-else>
42
- <v-select :options="$parent.$parent.usertype" placeholder='用户类型' condition="f_user_type like '{}%'"
43
- v-model="model.f_user_type" :value.sync="model.f_user_type" close-on-select>
44
- </v-select>
45
- </div>
46
38
  </div>
47
39
  <div class="col-sm-2">
48
- <!--<label for="f_user_type" class="col-sm-6"><nobr> 流程状态:</nobr></label>-->
49
- <div class="col-sm-12">
50
- <v-select :options="$parent.$parent.defnameType" placeholder='流程状态'
51
- condition="act.defname like '%{}%'"
40
+ <label class="col-sm-6">办理环节:</label>
41
+ <div class="col-sm-6">
42
+ <v-select :width ="'90%'" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
43
+ condition="defname = '{}'" placeholder='办理环节'
52
44
  v-model="model.defname" :value.sync="model.defname" close-on-select>
53
45
  </v-select>
54
46
  </div>
55
47
  </div>
56
- <div class="col-sm-2">
57
- <!--<label for="f_user_name" class="col-sm-6"><nobr> 报建类型:</nobr></label>-->
58
- <div class="col-sm-12" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
59
- <v-select :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '{}%'"
60
- v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
61
- </v-select>
62
- </div>
48
+ <div class="col-sm-1">
49
+ <input type="text" class="form-control" placeholder='经办人' v-model="model.f_survey_name"
50
+ v-on:keyup.enter="search"
51
+ condition=" (f_apply_kefu_employee like '%{}%' or f_survey_name like '%{}%') ">
52
+ </div>
53
+ <div class="col-sm-1">
54
+ <button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()">
55
+ <span class="glyphicon glyphicon-search"></span>查询
56
+ </button>
63
57
  </div>
64
- </div>
65
-
66
- <div class="col-sm-2">
67
- <center>
68
- <div class="col-sm-10 pull-right">
69
- <button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()">
70
- <span class="glyphicon glyphicon-search"></span>查询</button>
71
- </div>
72
- </center>
73
58
  </div>
74
59
  </form>
75
60
  </criteria>
@@ -80,26 +65,30 @@
80
65
  <nobr>序号</nobr>
81
66
  </th>
82
67
  <th>
83
- <nobr>当前状态</nobr>
68
+ <nobr>当前环节</nobr>
84
69
  </th>
70
+ <th><nobr>联系人/项目名称/用户名称</nobr></th>
85
71
  <th>
86
- <nobr>用户姓名</nobr>
72
+ <nobr>合同编号</nobr>
87
73
  </th>
88
74
  <th>
89
- <nobr>小区</nobr>
75
+ <nobr>电话</nobr>
76
+ </th>
77
+ <th>
78
+ <nobr>地址</nobr>
90
79
  </th>
91
80
  <th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
92
81
  <nobr>用户类型</nobr>
93
82
  </th>
94
83
  <th>
95
- <nobr>流程状态</nobr>
84
+ <nobr>报建类型</nobr>
96
85
  </th>
97
86
  <th>
98
87
  <nobr>报建日期</nobr>
99
88
  </th>
100
- <th>
101
- <nobr>申请户数</nobr>
102
- </th>
89
+ <!--<th>-->
90
+ <!--<nobr>申请户数</nobr>-->
91
+ <!--</th>-->
103
92
  <th>
104
93
  <nobr>操作</nobr>
105
94
  </th>
@@ -114,30 +103,36 @@
114
103
  <nobr>{{row.defname}}</nobr>
115
104
  </td>
116
105
  <td style="text-align: center;">
117
- <nobr>{{row.f_user_name}}</nobr>
106
+ <nobr>{{row.f_user_name}}/{{row.f_entry_name}}/{{row.f_company_name}}</nobr>
107
+ </td>
108
+ <td style="text-align: center;">
109
+ <nobr>{{row.f_contract_number}}</nobr>
110
+ </td>
111
+ <td style="text-align: center;">
112
+ <nobr>{{row.f_phone}}</nobr>
118
113
  </td>
119
114
  <td style="text-align: center;">
120
- <nobr>{{row.f_residential_area}}</nobr>
115
+ <nobr>{{row.f_address}}</nobr>
121
116
  </td>
122
117
  <td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
123
118
  <nobr>{{row.f_user_type}}</nobr>
124
119
  </td>
125
120
  <td style="text-align: center;">
126
- <nobr>{{row.defname}}</nobr>
121
+ <nobr>{{row.f_apply_type}}</nobr>
127
122
  </td>
128
123
  <td style="text-align: center;">
129
124
  <nobr>{{row.f_apply_date}}</nobr>
130
125
  </td>
126
+ <!--<td style="text-align: center;">-->
127
+ <!--<nobr>{{row.f_apply_count}}</nobr>-->
128
+ <!--</td>-->
131
129
  <td style="text-align: center;">
132
- <nobr>{{row.f_apply_count}}</nobr>
133
- </td>
134
- <td style="text-align: center;">
135
- <dropdown v-if="row.defname != '完工'">
136
- <button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
130
+ <dropdown v-if="row.defname != '完工'" >
131
+ <button @click="$dispatch('checkfuncs',row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
137
132
  <span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
138
133
  </button>
139
134
  <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
140
- <li v-for="(index,func) in $function_vue.functions">
135
+ <li v-for="(index,func) in $parent.$parent.$parent.funcs">
141
136
  <a href="#" @click="$dispatch('func',func,row)">{{func.title}}</a>
142
137
  </li>
143
138
  </ul>
@@ -151,6 +146,7 @@
151
146
  </div>
152
147
  </template>
153
148
  <script>
149
+ import {HttpResetClass} from 'vue-client'
154
150
  import {
155
151
  PagedList
156
152
  } from 'vue-client'
@@ -159,13 +155,16 @@
159
155
  title: '报建业务信息',
160
156
  data() {
161
157
  return {
158
+ refreshed:true,
162
159
  usertype: this.$appdata.getParam('用户类型'),
163
160
  defnameType: this.$appdata.getParam('流程状态'),
164
161
  applytype: this.$appdata.getParam('报建类型'),
165
162
  //中燃 专用
166
163
  fapplytype: this.$appdata.getParam('用户类型'),
164
+ funcs:[],
165
+ defnames:[],
167
166
  showbtn: false,
168
- model: new PagedList('rs/sql/checkuser', 20, {
167
+ model: new PagedList('rs/sql/checkuserfunction', 20, {
169
168
  data: {
170
169
  id: this.$login.f.id,
171
170
  fengongsi: this.$login.f.f_fengongsi
@@ -176,8 +175,38 @@
176
175
  },
177
176
  ready() {
178
177
  this.$refs.cp.$refs.cri.search()
178
+ let http = new HttpResetClass()
179
+ http.load('POST', 'rs/sql/getDefnamesForActivityins', {data:{}}, {
180
+ resolveMsg: null,
181
+ rejectMsg: null
182
+ }).then((res)=>{
183
+ // 先获取所有流程环节
184
+ this.defnames = [{label: '全部', value: ''}]
185
+ for(let i=0;i<res.data.length;i++){
186
+ this.defnames.push({label:res.data[i].defname,value:res.data[i].defname})
187
+ }
188
+ })
189
+ },
190
+ events:{
191
+ async checkfuncs(row){
192
+ if(row.defname =='报装申请'||row.defname =='任务分配'||row.defname =='勘察初设'||row.defname =='合同信息'||row.defname =='合同审核'){
193
+ let temp = JSON.parse(JSON.stringify(this.$function_vue.functions))
194
+ delete temp[0]
195
+ this.funcs = temp // test.splice(1, 1);
196
+ // this.update()
197
+ }else {
198
+ this.funcs = this.$function_vue.functions
199
+ // this.update()z
200
+ }
201
+ }
179
202
  },
180
203
  methods: {
204
+ update(){
205
+ this.refreshed = false
206
+ this.$nextTick(()=>{
207
+ this.refreshed = true
208
+ })
209
+ },
181
210
  clifun(row) {
182
211
  this.$refs.cp.$refs.grid.model.rows = [row]
183
212
  this.$refs.cp.pager = false
@@ -1,19 +1,25 @@
1
1
  <template>
2
2
  <div>
3
- <service-view :data="data" v-if="showview"></service-view>
3
+ <service-view :data="data" v-if="showview" v-ref:serviceview></service-view>
4
4
  <installfee :infee="selectdata" v-if="showinfee"></installfee>
5
5
  <!--预存款-->
6
6
  <preparationfee :selectdata="selectdata" v-if="showpreparation"></preparationfee>
7
7
  <!--预存报建收费-->
8
8
  <prestorefee :infee="selectdata" v-if="showprestorefee" v-ref:prestorefee></prestorefee>
9
+ <!--材料导入-->
10
+ <material-message v-if="showmaterialmessage" v-ref:material
11
+ :selectdata="selectdata"
12
+ :state="2"
13
+ :flag ="'fc'"
14
+ :edit="true"></material-message>
9
15
  <!-- 费用变更 -->
10
16
  <!--<updatefee :upfee="selectdata" v-if="showupfee"></updatefee>-->
11
17
  <!-- 费用减免 -->
12
18
  <!--<reducefee :redufee="selectdata" v-if="showreducefee"></reducefee>-->
13
19
  <!-- 购货方信息 -->
14
- <buyer-message v-ref:buyermessagev :selectdata="selectdata" v-if="showbuyer" ></buyer-message>
20
+ <buyer-message v-ref:buyermessagev :selectdata="selectdata" :state="1" v-if="showbuyer" ></buyer-message>
15
21
  <!-- 领取材料 -->
16
- <receive-batch :selectdata="selectdata" v-if="showreceivebatch" ></receive-batch>
22
+ <receive-batch :selectdata="selectdata" :state="1" v-if="showreceivebatch" ></receive-batch>
17
23
  <!-- 添加合同 -->
18
24
  <addcontract :addcontract="selectdata" v-if="showcontract"></addcontract>
19
25
  <!-- 终止报建 -->
@@ -42,10 +48,35 @@
42
48
  showstop: false, // 终止报建
43
49
  showbill: false, // 打印票据
44
50
  showpreparation: false, // 预付款
45
- show_material:false//报建材料
51
+ show_material:false,//报建材料
52
+ showmaterialmessage:false, // 显示材料导入
46
53
  }
47
54
  },
48
55
  methods: {
56
+ getmodel(){
57
+ return {}
58
+ },
59
+ // 材料导入
60
+ materialImport(){
61
+ this.$parent.$refs.installselect.clifun(this.selectdata)
62
+ // this.selectdata = row
63
+ this.$parent.clishow= true
64
+ this.$parent.show = false
65
+
66
+ this.showbuyer = false
67
+ this.showreceivebatch = false
68
+ this.show_material = false
69
+ this.showview = false
70
+ this.showinfee = false
71
+ this.showprestorefee = false
72
+ this.showupfee = false
73
+ this.showreducefee = false
74
+ this.showstop = false
75
+ this.showcontract = false
76
+ this.showbill = false
77
+ this.showpreparation = false
78
+ this.showmaterialmessage = true
79
+ },
49
80
  // 购货方信息
50
81
  buyerMessage(){
51
82
  this.$parent.$refs.installselect.clifun(this.selectdata)
@@ -54,6 +85,7 @@
54
85
  this.$parent.show = false
55
86
 
56
87
  this.showbuyer = true
88
+ this.showmaterialmessage = false
57
89
  this.showreceivebatch = false
58
90
  this.show_material = false
59
91
  this.showview = false
@@ -74,6 +106,7 @@
74
106
  this.$parent.show = false
75
107
 
76
108
  this.showreceivebatch = true
109
+ this.showmaterialmessage = false
77
110
  this.showbuyer = false
78
111
  this.show_material = false
79
112
  this.showview = false
@@ -94,6 +127,7 @@
94
127
  this.$parent.show = false
95
128
 
96
129
  this.show_material = true
130
+ this.showmaterialmessage = false
97
131
  this.showbuyer = false
98
132
  this.showreceivebatch = false
99
133
  this.showview = false
@@ -114,6 +148,7 @@
114
148
  this.$parent.show = false
115
149
 
116
150
  this.showreceivebatch = false
151
+ this.showmaterialmessage = false
117
152
  this.showbuyer = false
118
153
  this.show_material = false
119
154
  this.showview = false
@@ -134,6 +169,7 @@
134
169
  this.$parent.show = false
135
170
 
136
171
  this.showreceivebatch = false
172
+ this.showmaterialmessage = false
137
173
  this.showbuyer = false
138
174
  this.showview = false
139
175
  this.showinfee = false
@@ -154,6 +190,7 @@
154
190
  this.$parent.show = false
155
191
 
156
192
  this.showreceivebatch = false
193
+ this.showmaterialmessage = false
157
194
  this.showbuyer = false
158
195
  this.showview = false
159
196
  this.showinfee = false
@@ -174,6 +211,7 @@
174
211
  this.$parent.show = false
175
212
 
176
213
  this.showreceivebatch = false
214
+ this.showmaterialmessage = false
177
215
  this.showbuyer = false
178
216
  this.showview = false
179
217
  this.showupfee = false
@@ -200,6 +238,7 @@
200
238
  this.$parent.show = false
201
239
 
202
240
  this.showreceivebatch = false
241
+ this.showmaterialmessage = false
203
242
  this.showbuyer = false
204
243
  this.showview = false
205
244
  this.showbill = false
@@ -275,6 +314,9 @@
275
314
  if(this.funcdata.title==='派工单'){
276
315
  this.receiveBatch()
277
316
  }
317
+ if(this.funcdata.title==='材料导入'){
318
+ this.materialImport()
319
+ }
278
320
  }
279
321
  }
280
322
  },
@@ -295,6 +337,7 @@
295
337
  }
296
338
  }
297
339
  */
340
+ this.$refs.serviceview.update();
298
341
  },
299
342
  // 获取view层button事件
300
343
  async 'button'(model){