apply-clients 5.0.36-2 → 5.0.37-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.
@@ -118,10 +118,19 @@
118
118
  </v-select>
119
119
  </div>
120
120
  </div>
121
+ <!-- <div class="col-sm-2" style="float: left">
122
+ <label class="col-sm-4 control-label">报装来源</label>
123
+ <div class="col-sm-8">
124
+ <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.alloption"
125
+ condition="f_apply_source = '{}'" placeholder='报装来源'
126
+ v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
127
+ </v-select>
128
+ </div>
129
+ </div> -->
121
130
  <div class="col-sm-2" style="float: left">
122
131
  <label class="col-sm-4 control-label">报装来源</label>
123
132
  <div class="col-sm-8">
124
- <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'全部',value:''},{label:'燃气系统',value:'燃气系统'},{label:'微信',value:'微信'},{label:'住建局',value:'住建局'}]"
133
+ <v-select style="min-width: 100%;" @change="$dispatch('setQueryCondition',model)" :options="[{label:'住建局',value:'住建局'},{label:'燃气系统',value:'燃气系统'},{label:'电话预约',value:'电话预约'},{label:'微信预约',value:'微信预约'}]"
125
134
  condition="f_apply_source = '{}'" placeholder='报装来源'
126
135
  v-model="model.f_apply_source" :value.sync="model.f_apply_source" close-on-select>
127
136
  </v-select>
@@ -295,7 +304,8 @@
295
304
  price: new PagedList('rs/sql/getChargeAllSum', 999999, {orderitem: '`f_total_cost`'}),
296
305
  condition: '',
297
306
  select: '',
298
- alloptions:[]
307
+ alloptions:[],
308
+ alloption:[]
299
309
  }
300
310
  },
301
311
  ready() {
@@ -331,19 +341,30 @@
331
341
  })
332
342
  },
333
343
  getapplyName(datas){
334
- console.log("开始获取所有名")
344
+ debugger
345
+ // console.log("开始获取所有名"+ data.fields[1].value)
346
+ console.log('现在取得的值为这个东西'+datas)
335
347
  let str = datas
336
348
  console.log("开始获取所有名"+JSON.stringify(str))
337
349
  let param = [];
350
+ // let ces = [];
338
351
  // let workflow = JSON.parse(str);
352
+ // 动态获取报装来源
353
+ // let http = new HttpResetClass()
354
+ // http.load('POST', 'rs/sql/findParameter').then((res) => {
355
+ // console.log("这是报装来源:" + res.name)
356
+ // res.forEach(function(res){
357
+ // ces.push({label:res.name,value:res.name});
358
+ // })
359
+ // this.alloption = ces;
360
+ // })
339
361
  param.push({label:"全部",value:""})
340
362
  str.activitys.forEach(function(item){
341
363
  let title = item.title;
342
- console.log(title)
364
+ console.log("这是title的值:" + title)
343
365
  param.push({label:title,value:title});
344
366
  })
345
367
  this.alloptions = param;
346
-
347
368
  },
348
369
  async getConfig(){
349
370
  let http = new HttpResetClass()
@@ -1,281 +1,281 @@
1
- <template>
2
- <div class="d1 flex">
3
- <div class="left col-sm-12">
4
- <criteria-paged :model="model" v-ref:cp>
5
- <criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
6
- <form novalidate class="" partial>
7
- <div class="row">
8
- <div class="col-sm-2">
9
- <label class="col-sm-4 control-label ">联系人</label>
10
- <div class="col-sm-8">
11
- <input type="text" class="form-control" v-model="model.f_user_name" v-on:keyup.enter="search"
12
- condition="u.f_user_name like '{}%'" placeholder="联系人">
13
- </div>
14
- </div>
15
- <div class="col-sm-2">
16
- <label class="col-sm-4 control-label ">项目名称</label>
17
- <div class="col-sm-8">
18
- <input type="text" class="form-control" v-model="model.f_entry_name" v-on:keyup.enter="search"
19
- condition="u.f_entry_name like '{}%'" placeholder="项目名称">
20
- </div>
21
- </div>
22
- <div class="col-sm-2">
23
- <label class="col-sm-4 control-label ">报建编号</label>
24
- <div class="col-sm-8">
25
- <input type="text" class="form-control" v-model="model.f_apply_num" v-on:keyup.enter="search"
26
- condition="u.f_apply_num like '{}%'" placeholder="报建编号">
27
- </div>
28
- </div>
29
-
30
- <div class="col-sm-2">
31
- <label class="col-sm-4 control-label ">小区</label>
32
- <div class="col-sm-8">
33
- <input type="text" class="form-control" v-model="model.f_residential_area" v-on:keyup.enter="search"
34
- condition="f_residential_area like '{}%'" placeholder="小区">
35
- </div>
36
- </div>
37
- <div class="col-sm-2 ">
38
- <label class="col-sm-4 control-label ">开始日期</label>
39
- <div class="col-sm-8">
40
- <datepicker @change="$dispatch('setQueryCondition',model)" id="startDate" placeholder="开始日期"
41
- style="display: block"
42
- v-model="model.startDate"
43
- :value.sync="model.startDate"
44
- :format="'yyyy-MM-dd HH:mm:ss'"
45
- :show-reset-button="true"
46
- condition="u.f_apply_date >= '{}'">
47
- </datepicker>
48
- </div>
49
- </div>
50
- </div>
51
- <div class="row" style="margin-top:5px;">
52
- <div class="col-sm-2">
53
- <label class="col-sm-4 control-label ">终止日期</label>
54
- <div class="col-sm-8">
55
- <datepicker @change="$dispatch('setQueryCondition',model)" id="endDate" placeholder="终止日期"
56
- style="display: block"
57
- v-model="model.endDate"
58
- :value.sync="model.endDate"
59
- :format="'yyyy-MM-dd HH:mm:ss'"
60
- :show-reset-button="true"
61
- condition="u.f_apply_date <= '{}'">
62
- </datepicker>
63
- </div>
64
- </div>
65
-
66
- <div class="col-sm-2">
67
- <label class="col-sm-4 control-label ">用户类型</label>
68
- <div class="col-sm-8">
69
- <v-select :options="$parent.$parent.usertype" placeholder='用户类型' condition="f_user_type like '{}'"
70
- :width="100" style="width:100%"
71
- v-model="model.f_user_type" :value.sync="model.f_user_type" close-on-select>
72
- </v-select>
73
- </div>
74
- </div>
75
-
76
- <div class="col-sm-2">
77
- <label class="col-sm-4 control-label ">报建类型</label>
78
- <div class="col-sm-8">
79
- <v-select :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '{}%'"
80
- :width="100"
81
- v-model="model.f_apply_type" :value.sync="model.f_apply_type" style="width: 100%" close-on-select>
82
- </v-select>
83
- </div>
84
- </div>
85
- <div class="col-sm-4">
86
- <button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()" style="margin-left:10%">
87
- <span class="glyphicon glyphicon-search"></span>查询</button>
88
- <button class="btn-primary btn btn-sm" @click.prevent="$parent.$parent.clear()">清空</button>
89
- </div>
90
- </div>
91
-
92
- </form>
93
- </criteria>
94
- <data-grid :model="model" partial='list' v-ref:grid class="list_area" is-fixed='false'>
95
- <template partial='head'>
96
- <tr class="title">
97
- <th>
98
- <nobr>序号</nobr>
99
- </th>
100
- <th>
101
- <nobr>项目名称</nobr>
102
- </th>
103
- <th>
104
- <nobr>终止流程</nobr>
105
- </th>
106
- <th>
107
- <nobr>报建编号</nobr>
108
- </th>
109
- <th>
110
- <nobr>联系人</nobr>
111
- </th>
112
- <th>
113
- <nobr>小区</nobr>
114
- </th>
115
- <th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
116
- <nobr>用户类型</nobr>
117
- </th>
118
- <th>
119
- <nobr>报建类型</nobr>
120
- </th>
121
- <th>
122
- <nobr>报建日期</nobr>
123
- </th>
124
- <th>
125
- <nobr>终止日期</nobr>
126
- </th>
127
- <th>
128
- <nobr>项目状态</nobr>
129
- </th>
130
- <th>
131
- <nobr>终止人</nobr>
132
- </th>
133
- <th>
134
- <nobr>终止原因</nobr>
135
- </th>
136
- </tr>
137
- </template>
138
- <template partial='body'>
139
- <tr>
140
- <td style="text-align: center;">
141
- <nobr>{{$index+1}}</nobr>
142
- </td>
143
- <td style="text-align: center;">
144
- <nobr>{{row.f_entry_name}}</nobr>
145
- </td>
146
- <td style="text-align: center;">
147
- <nobr>{{row.f_apply_num}}</nobr>
148
- </td>
149
- <td style="text-align: center;">
150
- <nobr>{{row.defname}}</nobr>
151
- </td>
152
- <td style="text-align: center;">
153
- <nobr>{{row.f_user_name}}</nobr>
154
- </td>
155
-
156
- <td style="text-align: center;">
157
- <nobr>{{row.f_residential_area}}</nobr>
158
- </td>
159
- <td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
160
- <nobr>{{row.f_user_type}}</nobr>
161
- </td>
162
- <td style="text-align: center;">
163
- <nobr>{{row.f_apply_type}}</nobr>
164
- </td>
165
- <td style="text-align: center;">
166
- <nobr>{{row.f_apply_date}}</nobr>
167
- </td>
168
- <td style="text-align: center;">
169
- <nobr>{{row.f_date}}</nobr>
170
- </td>
171
- <td style="text-align: center;">
172
- <nobr>{{row.f_sub_state}}</nobr>
173
- </td>
174
- <td style="text-align: center;">
175
- <nobr>{{row.f_operator}}</nobr>
176
- </td>
177
- <td style="text-align: center;">
178
- <nobr><button @click="$parent.$parent.$parent.stopinfoshow($index)">查看终止原因</button></nobr>
179
- </td>
180
-
181
- </tr>
182
- </template>
183
- </data-grid>
184
- </criteria-paged>
185
- </div>
186
- <modal :show.sync="showstopinfoflag" v-ref:modal backdrop="false">
187
- <header slot="modal-header" class="modal-header">
188
- <button type="button" class="close" @click="closestopinfo"><span>&times;</span></button>
189
- <h4 class="modal-title">终止原因</h4>
190
- </header>
191
- <article slot="modal-body" class="modal-body">
192
- <p >{{stopremarks}}</p>
193
- </article>
194
- <footer slot="modal-footer" class="modal-footer">
195
- </footer>
196
- </modal>
197
- </div>
198
- </template>
199
- <script>
200
- Date.prototype.Format = function (fmt) {
201
- var o = {
202
- "M+": this.getMonth() + 1, //月份
203
- "d+": this.getDate(), //日
204
- "H+": this.getHours(), //小时
205
- "m+": this.getMinutes(), //分
206
- "s+": this.getSeconds(), //秒
207
- "q+": Math.floor((this.getMonth() + 3) / 3), //季度
208
- "S": this.getMilliseconds() //毫秒
209
- };
210
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
211
- for (var k in o)
212
- if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
213
- return fmt;
214
- }
215
- import {
216
- PagedList
217
- } from 'vue-client'
218
- import * as Util from '../../Util'
219
-
220
- export default {
221
- title: '报建终止查询',
222
- data() {
223
- return {
224
- usertype: this.$appdata.getParam('用户类型'),
225
- defnameType: this.$appdata.getParam('流程状态'),
226
- applytype: this.$appdata.getParam('报建类型'),
227
- //中燃 专用
228
- fapplytype: this.$appdata.getParam('用户类型'),
229
- showbtn: false,
230
- model: new PagedList('rs/sql/checkuserStop', 20, {
231
- data: {
232
- id: this.$login.f.id,
233
- fengongsi: this.$login.f.f_fengongsi,
234
- f_product_id: 0
235
- }
236
- }),
237
- condition: '',
238
- showstopinfoflag:false,
239
- stopremarks:""
240
- }
241
- },
242
- ready() {
243
- this.$refs.cp.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
244
- this.$refs.cp.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
245
- this.$refs.cp.$refs.cri.search()
246
- },
247
- methods: {
248
- clear(){
249
- this.$refs.cp.$refs.cri.model = {}
250
- },
251
- stopinfoshow(index){
252
- this.showstopinfoflag = true;
253
- let remakrs = this.model.rows[index].f_stop_remarks;
254
- console.log(JSON.stringify(remakrs))
255
- console.log(remakrs)
256
-
257
- this.stopremarks= remakrs;
258
- },
259
- clifun(row) {
260
- this.$refs.cp.$refs.grid.model.rows = [row]
261
- this.$refs.cp.pager = false
262
- this.$dispatch('showbtn', row)
263
- },
264
- showpager() {
265
- this.$refs.cp.pager = true
266
- this.$dispatch('hiddenbtn')
267
- },
268
- closestopinfo(){
269
- this.showstopinfoflag = close;
270
- }
271
- }
272
- }
273
- </script>
274
- <style scoped>
275
- label {
276
- display: flex;
277
- justify-content:center;
278
- align-items:Center;
279
- padding-top: 8px;
280
- }
281
- </style>
1
+ <template>
2
+ <div class="d1 flex">
3
+ <div class="left col-sm-12">
4
+ <criteria-paged :model="model" v-ref:cp>
5
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri style="padding: 20px;background-color: #f6f6f6;">
6
+ <form novalidate class="" partial>
7
+ <div class="row">
8
+ <div class="col-sm-2">
9
+ <label class="col-sm-4 control-label ">联系人</label>
10
+ <div class="col-sm-8">
11
+ <input type="text" class="form-control" v-model="model.f_user_name" v-on:keyup.enter="search"
12
+ condition="u.f_user_name like '{}%'" placeholder="联系人">
13
+ </div>
14
+ </div>
15
+ <div class="col-sm-2">
16
+ <label class="col-sm-4 control-label ">项目名称</label>
17
+ <div class="col-sm-8">
18
+ <input type="text" class="form-control" v-model="model.f_entry_name" v-on:keyup.enter="search"
19
+ condition="u.f_entry_name like '{}%'" placeholder="项目名称">
20
+ </div>
21
+ </div>
22
+ <div class="col-sm-2">
23
+ <label class="col-sm-4 control-label ">报建编号</label>
24
+ <div class="col-sm-8">
25
+ <input type="text" class="form-control" v-model="model.f_apply_num" v-on:keyup.enter="search"
26
+ condition="u.f_apply_num like '{}%'" placeholder="报建编号">
27
+ </div>
28
+ </div>
29
+
30
+ <div class="col-sm-2">
31
+ <label class="col-sm-4 control-label ">小区</label>
32
+ <div class="col-sm-8">
33
+ <input type="text" class="form-control" v-model="model.f_residential_area" v-on:keyup.enter="search"
34
+ condition="f_residential_area like '{}%'" placeholder="小区">
35
+ </div>
36
+ </div>
37
+ <div class="col-sm-2 ">
38
+ <label class="col-sm-4 control-label ">开始日期</label>
39
+ <div class="col-sm-8">
40
+ <datepicker @change="$dispatch('setQueryCondition',model)" id="startDate" placeholder="开始日期"
41
+ style="display: block"
42
+ v-model="model.startDate"
43
+ :value.sync="model.startDate"
44
+ :format="'yyyy-MM-dd HH:mm:ss'"
45
+ :show-reset-button="true"
46
+ condition="u.f_apply_date >= '{}'">
47
+ </datepicker>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ <div class="row" style="margin-top:5px;">
52
+ <div class="col-sm-2">
53
+ <label class="col-sm-4 control-label ">终止日期</label>
54
+ <div class="col-sm-8">
55
+ <datepicker @change="$dispatch('setQueryCondition',model)" id="endDate" placeholder="终止日期"
56
+ style="display: block"
57
+ v-model="model.endDate"
58
+ :value.sync="model.endDate"
59
+ :format="'yyyy-MM-dd HH:mm:ss'"
60
+ :show-reset-button="true"
61
+ condition="u.f_apply_date <= '{}'">
62
+ </datepicker>
63
+ </div>
64
+ </div>
65
+
66
+ <div class="col-sm-2">
67
+ <label class="col-sm-4 control-label ">用户类型</label>
68
+ <div class="col-sm-8">
69
+ <v-select :options="$parent.$parent.usertype" placeholder='用户类型' condition="f_user_type like '{}'"
70
+ :width="100" style="width:100%"
71
+ v-model="model.f_user_type" :value.sync="model.f_user_type" close-on-select>
72
+ </v-select>
73
+ </div>
74
+ </div>
75
+
76
+ <div class="col-sm-2">
77
+ <label class="col-sm-4 control-label ">报建类型</label>
78
+ <div class="col-sm-8">
79
+ <v-select :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '{}%'"
80
+ :width="100"
81
+ v-model="model.f_apply_type" :value.sync="model.f_apply_type" style="width: 100%" close-on-select>
82
+ </v-select>
83
+ </div>
84
+ </div>
85
+ <div class="col-sm-4">
86
+ <button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.showpager()" style="margin-left:10%">
87
+ <span class="glyphicon glyphicon-search"></span>查询</button>
88
+ <button class="btn-primary btn btn-sm" @click.prevent="$parent.$parent.clear()">清空</button>
89
+ </div>
90
+ </div>
91
+
92
+ </form>
93
+ </criteria>
94
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area" is-fixed='false'>
95
+ <template partial='head'>
96
+ <tr class="title">
97
+ <th>
98
+ <nobr>序号</nobr>
99
+ </th>
100
+ <th>
101
+ <nobr>项目名称</nobr>
102
+ </th>
103
+ <th>
104
+ <nobr>终止流程</nobr>
105
+ </th>
106
+ <th>
107
+ <nobr>报建编号</nobr>
108
+ </th>
109
+ <th>
110
+ <nobr>联系人</nobr>
111
+ </th>
112
+ <th>
113
+ <nobr>小区</nobr>
114
+ </th>
115
+ <th v-if="!this.$login.f.f_fengongsi.includes('中燃')">
116
+ <nobr>用户类型</nobr>
117
+ </th>
118
+ <th>
119
+ <nobr>报建类型</nobr>
120
+ </th>
121
+ <th>
122
+ <nobr>报建日期</nobr>
123
+ </th>
124
+ <th>
125
+ <nobr>终止日期</nobr>
126
+ </th>
127
+ <th>
128
+ <nobr>项目状态</nobr>
129
+ </th>
130
+ <th>
131
+ <nobr>终止人</nobr>
132
+ </th>
133
+ <th>
134
+ <nobr>终止原因</nobr>
135
+ </th>
136
+ </tr>
137
+ </template>
138
+ <template partial='body'>
139
+ <tr>
140
+ <td style="text-align: center;">
141
+ <nobr>{{$index+1}}</nobr>
142
+ </td>
143
+ <td style="text-align: center;">
144
+ <nobr>{{row.f_entry_name}}</nobr>
145
+ </td>
146
+ <td style="text-align: center;">
147
+ <nobr>{{row.f_apply_num}}</nobr>
148
+ </td>
149
+ <td style="text-align: center;">
150
+ <nobr>{{row.defname}}</nobr>
151
+ </td>
152
+ <td style="text-align: center;">
153
+ <nobr>{{row.f_user_name}}</nobr>
154
+ </td>
155
+
156
+ <td style="text-align: center;">
157
+ <nobr>{{row.f_residential_area}}</nobr>
158
+ </td>
159
+ <td style="text-align: center;" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
160
+ <nobr>{{row.f_user_type}}</nobr>
161
+ </td>
162
+ <td style="text-align: center;">
163
+ <nobr>{{row.f_apply_type}}</nobr>
164
+ </td>
165
+ <td style="text-align: center;">
166
+ <nobr>{{row.f_apply_date}}</nobr>
167
+ </td>
168
+ <td style="text-align: center;">
169
+ <nobr>{{row.f_date}}</nobr>
170
+ </td>
171
+ <td style="text-align: center;">
172
+ <nobr>{{row.f_sub_state}}</nobr>
173
+ </td>
174
+ <td style="text-align: center;">
175
+ <nobr>{{row.f_operator}}</nobr>
176
+ </td>
177
+ <td style="text-align: center;">
178
+ <nobr><button @click="$parent.$parent.$parent.stopinfoshow($index)">查看终止原因</button></nobr>
179
+ </td>
180
+
181
+ </tr>
182
+ </template>
183
+ </data-grid>
184
+ </criteria-paged>
185
+ </div>
186
+ <modal :show.sync="showstopinfoflag" v-ref:modal backdrop="false">
187
+ <header slot="modal-header" class="modal-header">
188
+ <button type="button" class="close" @click="closestopinfo"><span>&times;</span></button>
189
+ <h4 class="modal-title">终止原因</h4>
190
+ </header>
191
+ <article slot="modal-body" class="modal-body">
192
+ <p >{{stopremarks}}</p>
193
+ </article>
194
+ <footer slot="modal-footer" class="modal-footer">
195
+ </footer>
196
+ </modal>
197
+ </div>
198
+ </template>
199
+ <script>
200
+ Date.prototype.Format = function (fmt) {
201
+ var o = {
202
+ "M+": this.getMonth() + 1, //月份
203
+ "d+": this.getDate(), //日
204
+ "H+": this.getHours(), //小时
205
+ "m+": this.getMinutes(), //分
206
+ "s+": this.getSeconds(), //秒
207
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
208
+ "S": this.getMilliseconds() //毫秒
209
+ };
210
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
211
+ for (var k in o)
212
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
213
+ return fmt;
214
+ }
215
+ import {
216
+ PagedList
217
+ } from 'vue-client'
218
+ import * as Util from '../../Util'
219
+
220
+ export default {
221
+ title: '报建终止查询',
222
+ data() {
223
+ return {
224
+ usertype: this.$appdata.getParam('用户类型'),
225
+ defnameType: this.$appdata.getParam('流程状态'),
226
+ applytype: this.$appdata.getParam('报建类型'),
227
+ //中燃 专用
228
+ fapplytype: this.$appdata.getParam('用户类型'),
229
+ showbtn: false,
230
+ model: new PagedList('rs/sql/checkuserStop', 20, {
231
+ data: {
232
+ id: this.$login.f.id,
233
+ fengongsi: this.$login.f.f_fengongsi,
234
+ f_product_id: 0
235
+ }
236
+ }),
237
+ condition: '',
238
+ showstopinfoflag:false,
239
+ stopremarks:""
240
+ }
241
+ },
242
+ ready() {
243
+ this.$refs.cp.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
244
+ this.$refs.cp.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
245
+ this.$refs.cp.$refs.cri.search()
246
+ },
247
+ methods: {
248
+ clear(){
249
+ this.$refs.cp.$refs.cri.model = {}
250
+ },
251
+ stopinfoshow(index){
252
+ this.showstopinfoflag = true;
253
+ let remakrs = this.model.rows[index].f_stop_remarks;
254
+ console.log(JSON.stringify(remakrs))
255
+ console.log(remakrs)
256
+
257
+ this.stopremarks= remakrs;
258
+ },
259
+ clifun(row) {
260
+ this.$refs.cp.$refs.grid.model.rows = [row]
261
+ this.$refs.cp.pager = false
262
+ this.$dispatch('showbtn', row)
263
+ },
264
+ showpager() {
265
+ this.$refs.cp.pager = true
266
+ this.$dispatch('hiddenbtn')
267
+ },
268
+ closestopinfo(){
269
+ this.showstopinfoflag = close;
270
+ }
271
+ }
272
+ }
273
+ </script>
274
+ <style scoped>
275
+ label {
276
+ display: flex;
277
+ justify-content:center;
278
+ align-items:Center;
279
+ padding-top: 8px;
280
+ }
281
+ </style>