apply-clients 5.0.35-ezhou-25-3 → 5.0.35-ezhou-25-4
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.
package/package.json
CHANGED
|
@@ -1,150 +1,148 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="basic-main" style="height: 100%">
|
|
3
|
-
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="col-sm-2" >
|
|
8
|
-
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
-
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
-
v-model="model.startDate"
|
|
11
|
-
:value.sync="model.startDate"
|
|
12
|
-
:disabled-days-of-Week="[]"
|
|
13
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
-
:show-reset-button="reset">
|
|
15
|
-
</datepicker>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-sm-2" >
|
|
18
|
-
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
-
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
-
v-model="model.endDate"
|
|
21
|
-
:value.sync="model.endDate"
|
|
22
|
-
:disabled-days-of-Week="[]"
|
|
23
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
-
:show-reset-button="reset">
|
|
25
|
-
</datepicker>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="form-group col-sm-2">
|
|
28
|
-
<label class="col-sm-4 control-label linehhh">组织机构</label>
|
|
29
|
-
<div class="col-sm-8">
|
|
30
|
-
<right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source'
|
|
31
|
-
@re-res="$parent.$parent.getRes"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
<span v-show="$parent.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
</
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
this.
|
|
123
|
-
this.
|
|
124
|
-
this
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="form-group col-sm-2">
|
|
28
|
+
<label class="col-sm-4 control-label linehhh">组织机构</label>
|
|
29
|
+
<div class="col-sm-8">
|
|
30
|
+
<right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source'
|
|
31
|
+
@re-res="$parent.$parent.getRes" condition="f_orgstr like {}"></right-tree>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="span" style = "float:right;">
|
|
36
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
37
|
+
<report-print id='gasprice1' top='1cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
38
|
+
<report-excel id='gasprice1'></report-excel>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</criteria>
|
|
42
|
+
<div partial='list' v-el:handcollect id='gasprice1' style="overflow-y: scroll">
|
|
43
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
44
|
+
<thead>
|
|
45
|
+
<tr>
|
|
46
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
47
|
+
<h3 style="text-align: center">报建收费报表</h3>
|
|
48
|
+
</th>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<th :colspan='$parent. spans' style="font-weight: normal; text-align: center;">
|
|
52
|
+
开始时间:{{model.model.startDate}}
|
|
53
|
+
结束时间:{{ model.model.endDate }}
|
|
54
|
+
</th>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
58
|
+
打印时间:{{{$parent.printTime}}}
|
|
59
|
+
</th>
|
|
60
|
+
</tr>
|
|
61
|
+
<tr>
|
|
62
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
63
|
+
<div>
|
|
64
|
+
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
65
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
66
|
+
<span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
67
|
+
</div>
|
|
68
|
+
</th>
|
|
69
|
+
</tr>
|
|
70
|
+
</thead>
|
|
71
|
+
<tr>
|
|
72
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
73
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
74
|
+
</td>
|
|
75
|
+
</tr>
|
|
76
|
+
<tfoot>
|
|
77
|
+
</tfoot>
|
|
78
|
+
</table>
|
|
79
|
+
</div>
|
|
80
|
+
</criteria-paged>
|
|
81
|
+
</div>
|
|
82
|
+
</template>
|
|
83
|
+
|
|
84
|
+
<script>
|
|
85
|
+
import { DataModel } from 'vue-client'
|
|
86
|
+
export default {
|
|
87
|
+
title: '报建收费报表',
|
|
88
|
+
props: ['data'],
|
|
89
|
+
data () {
|
|
90
|
+
return {
|
|
91
|
+
filialeNameStr: null,
|
|
92
|
+
filialeCodeStr: this.$login.f.f_orgids,
|
|
93
|
+
printTime: this.$login.toStandardTimeString(),
|
|
94
|
+
depresid: [],
|
|
95
|
+
userresid: [],
|
|
96
|
+
f_orgid: this.$login.f.orgid,
|
|
97
|
+
f_depid: this.$login.f.depids,
|
|
98
|
+
f_operatorid: this.$login.f.id,
|
|
99
|
+
operatorid: [],
|
|
100
|
+
depid: [],
|
|
101
|
+
orgname: '',
|
|
102
|
+
depname: '',
|
|
103
|
+
operatorname: '',
|
|
104
|
+
f_inputtor: [],
|
|
105
|
+
f_user_type: '',
|
|
106
|
+
orgCondtionStr: '1=1',
|
|
107
|
+
model: new DataModel('rs/report/aonstruction_fee', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', filiale: 'this.model.filiale'}),
|
|
108
|
+
reportStr: null,
|
|
109
|
+
spans: 0,
|
|
110
|
+
userid: this.$login.f.id,
|
|
111
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
ready () {
|
|
115
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
116
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
117
|
+
},
|
|
118
|
+
methods: {
|
|
119
|
+
getRes (obj) {
|
|
120
|
+
this.filialeNameStr = obj.res
|
|
121
|
+
this.filialeCodeStr = obj.resids
|
|
122
|
+
this.$refs.paged.$refs.criteria.model.filiale = obj.res
|
|
123
|
+
console.log(this.filialeNameStr)
|
|
124
|
+
console.log(this.filialeCodeStr)
|
|
125
|
+
},
|
|
126
|
+
searchData () {
|
|
127
|
+
this.$refs.paged.$refs.criteria.search()
|
|
128
|
+
},
|
|
129
|
+
selfSearch (args) {
|
|
130
|
+
args.condition = args.condition + ` and ta.f_filialeids like '%${this.filialeCodeStr}%'`
|
|
131
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = args.condition
|
|
132
|
+
this.$refs.paged.search(args)
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
watch: {
|
|
136
|
+
'model.data' (val) {
|
|
137
|
+
this.spans = val.split('</tr>').map(item => item.split('</td>').length-1).reduce((x, y) => x > y ? x : y)
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
computed: {
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
</script>
|
|
144
|
+
<style scoped>
|
|
145
|
+
.noborder{
|
|
146
|
+
border: none;
|
|
147
|
+
}
|
|
148
|
+
</style>
|