manage-client 3.2.69 → 3.2.70-wuan
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/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/build/dev-server.js +176 -174
- package/package.json +101 -101
- package/src/components/SellReport/ManageBusSummary.vue +62 -41
- package/src/components/webmeter/DrillData/UserGasAll.vue +607 -607
- package/src/filiale/wuan/ChargeQuery.vue +4 -4
- package/src/filiale/wuan/DefaultPrint.js +6 -0
- package/src/filiale/wuan/RecordInfoQuery.vue +1436 -0
- package/src/filiale/wuan/exportConfig.js +2775 -0
- package/src/filiale/wuan/sale.js +8 -7
- package/src/main.js +1 -1
- package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.5/gc.properties +0 -0
- /package/.gradle/{5.5 → 4.4}/fileChanges/last-build.bin +0 -0
|
@@ -28,24 +28,28 @@
|
|
|
28
28
|
<label class="font_normal_body"> 公司 </label>
|
|
29
29
|
<right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
30
|
</div>
|
|
31
|
-
<div class="col-sm-
|
|
32
|
-
<label class="font_normal_body"
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
<div class="col-sm-3 form-group">
|
|
32
|
+
<label class="font_normal_body" for="dep" >部  门:</label>
|
|
33
|
+
<v-select id="dep" style="width: 60%"
|
|
34
|
+
:multiple="true"
|
|
35
|
+
@change="$parent.$parent.getDep"
|
|
36
|
+
:value.sync="model.f_depid"
|
|
37
|
+
v-model="model.f_depid"
|
|
38
|
+
:options='$parent.$parent.depresid' placeholder='请选择'
|
|
39
|
+
condition="f_depid in {}">
|
|
40
|
+
</v-select>
|
|
39
41
|
|
|
40
42
|
</div>
|
|
41
|
-
<div class="col-sm-
|
|
42
|
-
<label class="font_normal_body"
|
|
43
|
-
<
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
<div class="col-sm-3 form-group">
|
|
44
|
+
<label class="font_normal_body" for="oper">人  员:</label>
|
|
45
|
+
<v-select id="oper" style="width: 60%"
|
|
46
|
+
:multiple="false"
|
|
47
|
+
@change="$parent.$parent.getOpe"
|
|
48
|
+
:value.sync="model.f_operatorid"
|
|
49
|
+
v-model="model.f_operatorid"
|
|
50
|
+
:options='$parent.$parent.userresid' placeholder='请选择'
|
|
51
|
+
condition="f_operatorid in {}">
|
|
52
|
+
</v-select>
|
|
49
53
|
</div>
|
|
50
54
|
</div>
|
|
51
55
|
<div class="span" style = "float:right;">
|
|
@@ -89,7 +93,7 @@
|
|
|
89
93
|
<div>
|
|
90
94
|
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
91
95
|
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
92
|
-
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$
|
|
96
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>
|
|
93
97
|
</div>
|
|
94
98
|
</th>
|
|
95
99
|
</tr>
|
|
@@ -107,16 +111,40 @@
|
|
|
107
111
|
</tr>
|
|
108
112
|
</tfoot>
|
|
109
113
|
</table>
|
|
110
|
-
{{{ $parent.reportStr}}}
|
|
111
114
|
</div>
|
|
112
115
|
</criteria-paged>
|
|
113
116
|
</div>
|
|
114
117
|
</template>
|
|
115
118
|
|
|
116
119
|
<script>
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
|
121
|
+
import co from 'co'
|
|
122
|
+
let getorg = async function (self) {
|
|
123
|
+
new HttpResetClass().load("POST",'rs/sql/singleTableParam',
|
|
124
|
+
{
|
|
125
|
+
data: {
|
|
126
|
+
items: 'name label,id value',
|
|
127
|
+
tablename: 't_department',
|
|
128
|
+
condition: `1=1`
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{resolveMsg: null, rejectMsg: null})
|
|
132
|
+
.then((res) => {
|
|
133
|
+
self.depresid = res.data
|
|
134
|
+
})
|
|
135
|
+
new HttpResetClass().load("POST",'rs/sql/singleTableParam',
|
|
136
|
+
{
|
|
137
|
+
data: {
|
|
138
|
+
items: 'name label,id value',
|
|
139
|
+
tablename: 't_user',
|
|
140
|
+
condition: `state = '在职' and f_department_name is not null`
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{resolveMsg: null, rejectMsg: null})
|
|
144
|
+
.then((res) => {
|
|
145
|
+
self.userresid = res.data
|
|
146
|
+
})
|
|
147
|
+
}
|
|
120
148
|
export default {
|
|
121
149
|
title: '收费结账报表',
|
|
122
150
|
props: ['data'],
|
|
@@ -135,7 +163,7 @@
|
|
|
135
163
|
criteriaShow: false,
|
|
136
164
|
operatorname: '',
|
|
137
165
|
orgCondtionStr: '1=1',
|
|
138
|
-
f_state:
|
|
166
|
+
f_state:'',
|
|
139
167
|
model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
140
168
|
f_orgid: 'this.model.f_orgid'}),
|
|
141
169
|
reportStr: null,
|
|
@@ -148,6 +176,7 @@
|
|
|
148
176
|
}
|
|
149
177
|
},
|
|
150
178
|
ready () {
|
|
179
|
+
getorg(this)
|
|
151
180
|
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
152
181
|
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
153
182
|
console.log(this.$login.f)
|
|
@@ -158,20 +187,14 @@
|
|
|
158
187
|
},
|
|
159
188
|
selfSearch (args) {
|
|
160
189
|
this.printTime = this.$login.toStandardTimeString()
|
|
161
|
-
let orgcondition ='
|
|
162
|
-
if (this.f_orgid
|
|
163
|
-
orgcondition +=
|
|
164
|
-
}
|
|
165
|
-
if (this.f_depid && this.f_depid[0]) {
|
|
166
|
-
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
167
|
-
}
|
|
168
|
-
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
169
|
-
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
190
|
+
let orgcondition = ''
|
|
191
|
+
if (this.f_orgid[0]) {
|
|
192
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid.toString().replace(/,/g, "','")}')`
|
|
170
193
|
}
|
|
171
194
|
if(this.f_state && this.f_state[0]) {
|
|
172
195
|
orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
|
|
173
196
|
}
|
|
174
|
-
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
197
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = args.condition + orgcondition
|
|
175
198
|
this.$refs.paged.search(args)
|
|
176
199
|
},
|
|
177
200
|
|
|
@@ -180,18 +203,16 @@
|
|
|
180
203
|
},
|
|
181
204
|
getRes (obj) {
|
|
182
205
|
this.orgname = obj.res[0]
|
|
183
|
-
this.depresid = obj.resids
|
|
184
206
|
this.f_orgid = obj.resids
|
|
185
207
|
},
|
|
186
|
-
|
|
187
|
-
this.depname = val
|
|
188
|
-
this.
|
|
189
|
-
|
|
208
|
+
getDep(val){
|
|
209
|
+
this.depname = this.depresid.filter(x => val.includes(x.value)).map(x=>x.label).toString()
|
|
210
|
+
console.log('dep',this.depname )
|
|
211
|
+
},
|
|
212
|
+
getOpe(val){
|
|
213
|
+
this.operatorname = this.userresid.filter(x => val.includes(x.value)).map(x=>x.label).toString()
|
|
214
|
+
console.log('operatorname',this.operatorname )
|
|
190
215
|
},
|
|
191
|
-
getuser ( obj, val) {
|
|
192
|
-
this.operatorname = val[0]
|
|
193
|
-
this.f_operatorid = obj
|
|
194
|
-
}
|
|
195
216
|
},
|
|
196
217
|
watch: {
|
|
197
218
|
'model.data' (val) {
|