apply-clients 5.0.35-16 → 5.0.35-20

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.
@@ -196,57 +196,57 @@
196
196
  filialeNameStr: null,
197
197
  filialeCodeStr: this.$login.f.f_orgids,
198
198
  userid: this.$login.f.id,
199
- source:`tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
199
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
200
200
  // f_operate_start_date:new Date().Format('yyyy-MM-dd HH:mm:ss'),
201
201
  // f_operate_end_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
202
- model: new PagedList('rs/sql/getApplyCharge', 30, { orderitem: '`id`'}),
203
- modeluse: new PagedList('rs/sql/getApplyCharge', 999999, { orderitem: '`id`'}),
204
- price: new PagedList('rs/sql/getChargeAll', 999999, { orderitem: '`f_charge_money`'}),
205
- human:[],
206
- filiale:[],
207
- method:[],
208
- correct:[
202
+ model: new PagedList('rs/sql/getApplyCharge', 30, {orderitem: '`id`'}),
203
+ modeluse: new PagedList('rs/sql/getApplyCharge', 999999, {orderitem: '`id`'}),
204
+ price: new PagedList('rs/sql/getChargeAll', 999999, {orderitem: '`f_charge_money`'}),
205
+ human: [],
206
+ filiale: [],
207
+ method: [],
208
+ correct: [
209
209
  {label: '是', value: '是'},
210
- {label:'否', value: '否'}
210
+ {label: '否', value: '否'}
211
211
  ],
212
- state:[
212
+ state: [
213
213
  {label: '有效', value: '有效'},
214
- {label:'无效', value: '无效'}
214
+ {label: '无效', value: '无效'}
215
215
  ]
216
216
  }
217
217
  },
218
218
  ready () {
219
- this.$refs.cp.$refs.cri.model.f_operate_start_date = Util.toStandardDateString() + ' 00:00:00'
220
- this.$refs.cp.$refs.cri.model.f_operate_end_date = Util.toStandardDateString() + ' 23:59:59'
219
+ this.$refs.paged.$refs.criteria.model.f_operate_start_date = Util.toStandardDateString() + ' 00:00:00'
220
+ this.$refs.paged.$refs.criteria.model.f_operate_end_date = Util.toStandardDateString() + ' 23:59:59'
221
221
  this.search()
222
222
  this.gethuman()
223
223
  },
224
224
  methods: {
225
- clear(){
226
- this.$refs.cp.$refs.cri.model = {}
225
+ clear () {
226
+ this.$refs.paged.$refs.criteria.model = {}
227
227
  },
228
- getRes(obj) {
228
+ getRes (obj) {
229
229
  this.filialeNameStr = obj.res
230
230
  this.filialeCodeStr = obj.resids
231
231
  console.log(this.filialeNameStr)
232
232
  console.log(this.filialeCodeStr)
233
233
  },
234
- showpager() {
234
+ showpager () {
235
235
  // this.$refs.cp.pager = true
236
236
  this.$dispatch('hiddenbtn')
237
237
  },
238
238
  search () {
239
- let condition = "1=1 and r.f_filiale like '%"+this.$login.f.f_fengongsi+"%'"
239
+ let condition = "1=1 and r.f_filiale like '%" + this.$login.f.f_fengongsi + "%'"
240
240
  this.model.search(condition)
241
241
  this.modeluse.search(condition)
242
242
  this.price.search(condition)
243
243
  },
244
244
 
245
- selfSearch(args) {
245
+ selfSearch (args) {
246
246
  args.condition = args.condition + ` and tbd.f_orgstr like '%${this.filialeCodeStr}%'`
247
247
  this.model.search(args.condition, args.model)
248
248
  },
249
- cleaner() {
249
+ cleaner () {
250
250
  Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
251
251
  this.$refs.paged.$refs.criteria.model[key] = ''
252
252
  })
@@ -256,14 +256,14 @@
256
256
  this.modeluse.search(this.$refs.paged.$refs.criteria.condition)
257
257
  this.price.search(this.$refs.paged.$refs.criteria.condition)
258
258
  },
259
- gethuman(){
259
+ gethuman () {
260
260
  console.log('获取人员')
261
261
  this.$resetpost('rs/logic/getChargeList', {data: {condition: `1=1`}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
262
262
  // this.params.rows.splice(index, 1)
263
- console.log('获取成功',res)
263
+ console.log('获取成功', res)
264
264
  let house = []
265
- for (let row of res.data.human){
266
- house.push({label: row.f_charge_collectors,value: row.f_charge_collectors})
265
+ for (let row of res.data.human) {
266
+ house.push({label: row.f_charge_collectors, value: row.f_charge_collectors})
267
267
  }
268
268
  this.human = house
269
269
  let house2 = []
@@ -277,9 +277,7 @@
277
277
  }
278
278
  this.method = house3
279
279
  })
280
-
281
- },
282
-
280
+ }
283
281
  },
284
282
  computed: {
285
283
 
@@ -1,85 +1,85 @@
1
- <template>
2
- <div class="auto form-horizontal" >
3
- <modal :show.sync="show" v-ref:modal large backdrop="false">
4
- <header slot="modal-header" class="modal-header">
5
- <h3 style="color:black" class="modal-title">发票号</h3>
6
- </header>
7
- <article slot="modal-body" class="modal-body">
8
-
9
- <validator name='v'>
10
- <form class="form-horizontal select-overspread">
11
- <div class="row" style="display: flex;justify-content: center;" id='normal-bill' >
12
- <div class="form-group col-sm-6">
13
- <label class=" col-sm-2 control-label">发票代码:</label>
14
- <input type="text" class="form-control" v-model="model.f_bill_code" style="width:60%"
15
- placeholder="发票代码" disabled
16
- >
17
- </div>
18
- <div class="form-group col-sm-6">
19
- <label class=" col-sm-2 control-label">发票号码:</label>
20
- <input type="text" class="form-control" v-model="model.f_bill_number" style="width:60%"
21
- placeholder="发票号码" disabled
22
- >
23
- </div>
24
- </div>
25
- </form>
26
- </validator>
27
- </article>
28
- <footer slot="modal-footer" class="modal-footer">
29
- <button type="button" class="btn btn-default" @click='cancel()' >取消</button>
30
- </footer>
31
- </modal>
32
- </div>
33
- </template>
34
- <script>
35
- import { DataModel } from 'vue-client'
36
- let getBillData = async function(self) {
37
- if(self.data.eticketid){
38
- let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` id= ${self.data.eticketid}`}})
39
- console.log("看看res",res)
40
- self.model.f_bill_code=res.data[0].f_bill_code
41
- self.model.f_bill_number=res.data[0].f_bill_number
42
- }else{
43
- let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` f_sell_id=${self.data.id}`}})
44
- console.log("看看res",res)
45
- self.model.f_bill_code=res.data[0].f_bill_code
46
- self.model.f_bill_number=res.data[0].f_bill_number
47
- }
48
- }
49
-
50
- export default {
51
- title: '收费发票',
52
- data () {
53
- return {
54
- model:{
55
- f_bill_code:'',
56
- f_bill_number:''
57
- }
58
- }
59
- },
60
- props: ['show', 'data'],
61
- ready () {
62
- },
63
- methods: {
64
- cancel () {
65
- this.$dispatch('toggle')
66
- },
67
- },
68
- watch: {
69
- 'show' (val) {
70
- if (val) {
71
- getBillData(this, val).then(() => {
72
- this.$emit('ready')
73
- }).catch((error) => {
74
- this.$emit('error', error)
75
- })
76
- }
77
- }
78
- },
79
- events: {
80
- }
81
- }
82
-
83
- </script>
84
- <style >
85
- </style>
1
+ <template>
2
+ <div class="auto form-horizontal" >
3
+ <modal :show.sync="show" v-ref:modal large backdrop="false">
4
+ <header slot="modal-header" class="modal-header">
5
+ <h3 style="color:black" class="modal-title">发票号</h3>
6
+ </header>
7
+ <article slot="modal-body" class="modal-body">
8
+
9
+ <validator name='v'>
10
+ <form class="form-horizontal select-overspread">
11
+ <div class="row" style="display: flex;justify-content: center;" id='normal-bill' >
12
+ <div class="form-group col-sm-6">
13
+ <label class=" col-sm-2 control-label">发票代码:</label>
14
+ <input type="text" class="form-control" v-model="model.f_bill_code" style="width:60%"
15
+ placeholder="发票代码" disabled
16
+ >
17
+ </div>
18
+ <div class="form-group col-sm-6">
19
+ <label class=" col-sm-2 control-label">发票号码:</label>
20
+ <input type="text" class="form-control" v-model="model.f_bill_number" style="width:60%"
21
+ placeholder="发票号码" disabled
22
+ >
23
+ </div>
24
+ </div>
25
+ </form>
26
+ </validator>
27
+ </article>
28
+ <footer slot="modal-footer" class="modal-footer">
29
+ <button type="button" class="btn btn-default" @click='cancel()' >取消</button>
30
+ </footer>
31
+ </modal>
32
+ </div>
33
+ </template>
34
+ <script>
35
+ import { DataModel } from 'vue-client'
36
+ let getBillData = async function(self) {
37
+ if(self.data.eticketid){
38
+ let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` id= ${self.data.eticketid}`}})
39
+ console.log("看看res",res)
40
+ self.model.f_bill_code=res.data[0].f_bill_code
41
+ self.model.f_bill_number=res.data[0].f_bill_number
42
+ }else{
43
+ let res=await self.$resetpost("rs/sql/applysingleTable",{data:{tablename:"t_eticket",condition:` f_sell_id=${self.data.id}`}})
44
+ console.log("看看res",res)
45
+ self.model.f_bill_code=res.data[0].f_bill_code
46
+ self.model.f_bill_number=res.data[0].f_bill_number
47
+ }
48
+ }
49
+
50
+ export default {
51
+ title: '收费发票',
52
+ data () {
53
+ return {
54
+ model:{
55
+ f_bill_code:'',
56
+ f_bill_number:''
57
+ }
58
+ }
59
+ },
60
+ props: ['show', 'data'],
61
+ ready () {
62
+ },
63
+ methods: {
64
+ cancel () {
65
+ this.$dispatch('toggle')
66
+ },
67
+ },
68
+ watch: {
69
+ 'show' (val) {
70
+ if (val) {
71
+ getBillData(this, val).then(() => {
72
+ this.$emit('ready')
73
+ }).catch((error) => {
74
+ this.$emit('error', error)
75
+ })
76
+ }
77
+ }
78
+ },
79
+ events: {
80
+ }
81
+ }
82
+
83
+ </script>
84
+ <style >
85
+ </style>
@@ -1,44 +1,44 @@
1
- import Vue from 'vue'
2
- import { all } from 'vue-client'
3
- Vue.config.silent = true
4
- import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
5
- import ApplyLoadParams from './stores/ApplyLoadParams'
6
- /** ****************服务插件*********************/
7
-
8
- export default function () {
9
- Vue.use(ApplyGetSaleParam)
10
- Vue.use(ApplyLoadParams)
11
- /** ***************************报建模块*********************************/
12
- // 报建 总入口
13
- Vue.component('apply_app', (resolve) => { require(['./components/app_apply/ApplyApp'], resolve) })
14
- // 报建 待办流程页
15
- Vue.component('placecontrolerapp', (resolve) => { require(['./components/app_apply/PlaceControler'], resolve) })
16
- // 报建 已办事项
17
- Vue.component('applydownlist', (resolve) => { require(['./components/app_apply/ApplyDownList'], resolve) })
18
- // 报建 上传
19
- Vue.component('applylistupload', (resolve) => { require(['./components/app_apply/ApplyListUpload'], resolve) })
20
- // 报建 待办事项
21
- Vue.component('applytodolist', (resolve) => { require(['./components/app_apply/ApplyToDoList'], resolve) })
22
- // 报建 用户信息
23
- Vue.component('apply-user-info', (resolve) => { require(['./components/app_apply/ApplyUserInfo'], resolve) })
24
- // 报建 报建流程信息
25
- Vue.component('apply-info', (resolve) => { require(['./components/app_apply/ApplyInfo'], resolve) })
26
- // 报建 现场勘探
27
- Vue.component('fieldexploration', (resolve) => { require(['./components/app_apply/FieldExploration'], resolve) })
28
- // 报建 竣工验收
29
- Vue.component('acceptance', (resolve) => { require(['./components/app_apply/Acceptance'], resolve) })
30
- // 报建 通气点火
31
- Vue.component('ventilation', (resolve) => { require(['./components/app_apply/Ventilation'], resolve) })
32
-
33
- Vue.component('back-page', (resolve) => { require(['./components/app_apply/ToolsPage.vue'], resolve) })
34
-
35
- // 业务tab(control层)页
36
- Vue.component('service-control-app', (resolve) => { require(['./components/app_apply/ServiceControl'], resolve) })
37
- // 公共业务显示(view层)页
38
- Vue.component('service-view-app', (resolve) => { require(['./components/app_apply/ezhou/ServiceView'], resolve) })
39
- Vue.component('minyong', (resolve) => { require(['./components/app_apply/ezhou/MinYong'], resolve) })
40
- Vue.component('feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongV'], resolve) })
41
- Vue.component('feiminyongvv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongVV'], resolve) })
42
- // Vue.component('hetong-minyong', (resolve) => { require(['./components/app_apply/ezhou/HeTongMinYong'], resolve) })
43
- // Vue.component('hetong-feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/HeTongFeiMinYongV'], resolve) })
44
- }
1
+ import Vue from 'vue'
2
+ import { all } from 'vue-client'
3
+ Vue.config.silent = true
4
+ import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
5
+ import ApplyLoadParams from './stores/ApplyLoadParams'
6
+ /** ****************服务插件*********************/
7
+
8
+ export default function () {
9
+ Vue.use(ApplyGetSaleParam)
10
+ Vue.use(ApplyLoadParams)
11
+ /** ***************************报建模块*********************************/
12
+ // 报建 总入口
13
+ Vue.component('apply_app', (resolve) => { require(['./components/app_apply/ApplyApp'], resolve) })
14
+ // 报建 待办流程页
15
+ Vue.component('placecontrolerapp', (resolve) => { require(['./components/app_apply/PlaceControler'], resolve) })
16
+ // 报建 已办事项
17
+ Vue.component('applydownlist', (resolve) => { require(['./components/app_apply/ApplyDownList'], resolve) })
18
+ // 报建 上传
19
+ Vue.component('applylistupload', (resolve) => { require(['./components/app_apply/ApplyListUpload'], resolve) })
20
+ // 报建 待办事项
21
+ Vue.component('applytodolist', (resolve) => { require(['./components/app_apply/ApplyToDoList'], resolve) })
22
+ // 报建 用户信息
23
+ Vue.component('apply-user-info', (resolve) => { require(['./components/app_apply/ApplyUserInfo'], resolve) })
24
+ // 报建 报建流程信息
25
+ Vue.component('apply-info', (resolve) => { require(['./components/app_apply/ApplyInfo'], resolve) })
26
+ // 报建 现场勘探
27
+ Vue.component('fieldexploration', (resolve) => { require(['./components/app_apply/FieldExploration'], resolve) })
28
+ // 报建 竣工验收
29
+ Vue.component('acceptance', (resolve) => { require(['./components/app_apply/Acceptance'], resolve) })
30
+ // 报建 通气点火
31
+ Vue.component('ventilation', (resolve) => { require(['./components/app_apply/Ventilation'], resolve) })
32
+
33
+ Vue.component('back-page', (resolve) => { require(['./components/app_apply/ToolsPage.vue'], resolve) })
34
+
35
+ // 业务tab(control层)页
36
+ Vue.component('service-control-app', (resolve) => { require(['./components/app_apply/ServiceControl'], resolve) })
37
+ // 公共业务显示(view层)页
38
+ Vue.component('service-view-app', (resolve) => { require(['./components/app_apply/ezhou/ServiceView'], resolve) })
39
+ Vue.component('minyong', (resolve) => { require(['./components/app_apply/ezhou/MinYong'], resolve) })
40
+ Vue.component('feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongV'], resolve) })
41
+ Vue.component('feiminyongvv', (resolve) => { require(['./components/app_apply/ezhou/FeiMinYongVV'], resolve) })
42
+ // Vue.component('hetong-minyong', (resolve) => { require(['./components/app_apply/ezhou/HeTongMinYong'], resolve) })
43
+ // Vue.component('hetong-feiminyongv', (resolve) => { require(['./components/app_apply/ezhou/HeTongFeiMinYongV'], resolve) })
44
+ }
package/src/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import apply from './apply'
2
- import applyAndroid from './applyAndroid'
3
- import ezhouAndroid from './ezhouAndroid'
4
- export {
5
- apply,
6
- applyAndroid,
7
- ezhouAndroid
8
- }
1
+ import apply from './apply'
2
+ import applyAndroid from './applyAndroid'
3
+ import ezhouAndroid from './ezhouAndroid'
4
+ export {
5
+ apply,
6
+ applyAndroid,
7
+ ezhouAndroid
8
+ }
package/src/main.js CHANGED
@@ -1,32 +1,32 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import {ldap} from 'ldap-clients'
5
- import {system} from 'system-clients'
6
- import {sale} from 'sale-client'
7
- import {material} from 'material-client'
8
-
9
- import apply from './apply'
10
- import applyAndroid from './ezhouAndroid'
11
- import 'lib-flexible/flexible.js'
12
- /*import vueBubble from 'vue-bubble'
13
- Vue.use(vueBubble)*/
14
- // import AndroidPlugin from './AndroidPlugin.js'
15
- import {systemphonegrid} from 'system-phone'
16
- // var Verificationfalg = false
17
- // system(Verificationfalg)
18
- all()
19
- system(false)
20
- apply()
21
- ldap()
22
- sale()
23
- material()
24
-
25
- applyAndroid()
26
- // Vue.use(AndroidPlugin)
27
- require('./bootstrap/less/bootstrap.less')
28
-
29
- new Vue({
30
- el: 'body',
31
- components: { App }
32
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import {ldap} from 'ldap-clients'
5
+ import {system} from 'system-clients'
6
+ import {sale} from 'sale-client'
7
+ import {material} from 'material-client'
8
+
9
+ import apply from './apply'
10
+ import applyAndroid from './ezhouAndroid'
11
+ import 'lib-flexible/flexible.js'
12
+ /*import vueBubble from 'vue-bubble'
13
+ Vue.use(vueBubble)*/
14
+ // import AndroidPlugin from './AndroidPlugin.js'
15
+ import {systemphonegrid} from 'system-phone'
16
+ // var Verificationfalg = false
17
+ // system(Verificationfalg)
18
+ all()
19
+ system(false)
20
+ apply()
21
+ ldap()
22
+ sale()
23
+ material()
24
+
25
+ applyAndroid()
26
+ // Vue.use(AndroidPlugin)
27
+ require('./bootstrap/less/bootstrap.less')
28
+
29
+ new Vue({
30
+ el: 'body',
31
+ components: { App }
32
+ })