apply-clients 3.3.42 → 3.3.46

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.
@@ -0,0 +1,38 @@
1
+ <template>
2
+ <app-sign></app-sign>
3
+ </template>
4
+ <script>
5
+ import {getNowDate,isEmpty} from '../../../Util'
6
+ import {HttpResetClass} from 'vue-client'
7
+ import Vue from "vue";
8
+
9
+ export default {
10
+ title: '施工签字',
11
+ props: {
12
+ selectdata: {
13
+ type: Object
14
+ },
15
+ mark: {
16
+ type: Number,
17
+ default: 0
18
+ }
19
+ },
20
+ data () {
21
+ return {
22
+ }
23
+ },
24
+ ready () {
25
+ console.log('===========施工签字================')
26
+ },
27
+ methods: {
28
+ },
29
+ events: {
30
+ },
31
+ computed: {
32
+ },
33
+ watch: {
34
+ }
35
+ }
36
+ </script>
37
+ <style scoped lang="less">
38
+ </style>
@@ -9,7 +9,7 @@
9
9
  restype='organization'
10
10
  :initresid='$parent.$parent.curorgid'
11
11
  @res-select="$parent.$parent.getorg"
12
- is-mul="false"
12
+ :is-mul="false"
13
13
  ></res-select>
14
14
  </div>
15
15
  <div class="form-group col-sm-3">
@@ -138,23 +138,17 @@
138
138
  :parentresid="$parent.$parent.curorgid"
139
139
  :initresid='$parent.$parent.curdepid'
140
140
  @res-select="$parent.$parent.getdep"
141
- is-mul="false"
141
+ :is-mul="true"
142
142
  ></res-select>
143
143
  </div>
144
- <div class="form-group col-sm-3" v-if="false">
144
+ <div class="form-group col-sm-3">
145
145
  <label class="font_normal_body">人&emsp;&emsp;员:</label>
146
146
  <res-select
147
147
  restype='user'
148
148
  :parentresid="$parent.$parent.curdepid"
149
149
  :initresid='$parent.$parent.curuserid'
150
150
  @res-select="$parent.$parent.getuser"
151
- is-mul="false"></res-select>
152
- </div>
153
- <div class="form-group col-sm-3">
154
- <label class="font_normal_body">收费人员:</label>
155
- <input type="text" class="input_search" style="width: 60%" placeholder='收费人员' v-model="model.f_charge_collectors"
156
- v-on:keyup.enter="$parent.$parent.search()"
157
- condition="cr.f_charge_collectors like '%{}%'">
151
+ :is-mul="true"></res-select>
158
152
  </div>
159
153
  <div class="form-group col-sm-3">
160
154
  <label class="font_normal_body">缴费状态:</label>
@@ -306,14 +300,16 @@ export default {
306
300
  Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
307
301
  this.$refs.cp.$refs.cri.model[key] = ''
308
302
  })
303
+ this.curdepid = []
304
+ this.curuserid = []
309
305
  },
310
306
  searchCondition (args) {
311
- args.condition = args.condition + ` and cr.f_orgid = '${this.curorgid[0]}'`
307
+ args.condition = args.condition + ` and cr.f_orgid in (${this.curorgid})`
312
308
  if (this.curdepid.length > 0) {
313
- args.condition = args.condition + ` and cr.f_depid = '${this.curdepid[0]}'`
309
+ args.condition = args.condition + ` and cr.f_depid in (${this.curdepid})`
314
310
  }
315
311
  if (this.curuserid.length > 0) {
316
- args.condition = args.condition + ` and cr.f_charge_collectors_id = '${this.curuserid[0]}'`
312
+ args.condition = args.condition + ` and cr.f_charge_collectors_id in (${this.curuserid})`
317
313
  }
318
314
  this.model.search(args.condition, args.model)
319
315
  },
@@ -325,7 +321,7 @@ export default {
325
321
  async getChargeAll () {
326
322
  let http = new HttpResetClass()
327
323
  let data = {
328
- condition: this.model.condition + ` and cr.f_orgid = '${this.curorgid[0]}'`
324
+ condition: this.model.condition
329
325
  }
330
326
  let res = await http.load('POST', 'rs/sql/getChargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
331
327
 
@@ -354,15 +350,13 @@ export default {
354
350
  this.curdepid = []
355
351
  this.curuserid = []
356
352
  this.search()
357
- }
353
+ },
354
+
358
355
  },
359
356
  computed: {
360
357
  getCondition () {
361
358
  return {
362
- condition: this.$refs.cp.$refs.cri.condition,
363
- data: {
364
- orgid: this.$login.f.orgid
365
- }
359
+ condition: this.model.condition,
366
360
  }
367
361
  }
368
362
  }
@@ -224,7 +224,7 @@ export default {
224
224
  computed: {
225
225
  getCondition () {
226
226
  return {
227
- condition: this.$refs.cp.$refs.cri.condition
227
+ condition: this.model.condition
228
228
  }
229
229
  }
230
230
  }