sale-client 3.6.232 → 3.6.233
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
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div @keyup.enter="search" class="auto basic-main" style="height:95%">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
4
|
+
<criteria @condition-changed='$parent.selfSearch' partial='criteria' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="form-group col-sm-2" >
|
|
8
|
+
<label class="font_normal_body">组织机构</label>
|
|
9
|
+
<res-select :initresid='$parent.$parent.curorgid'
|
|
10
|
+
@res-select="$parent.$parent.getorg"
|
|
11
|
+
class="select select_list"
|
|
12
|
+
restype='organization'
|
|
13
|
+
style="width: 60%">
|
|
14
|
+
</res-select>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="form-group col-sm-2">
|
|
17
|
+
<label for="startDate" class="font_normal_body">操作时间</label>
|
|
18
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
19
|
+
v-model="model.startDate"
|
|
20
|
+
:value.sync="model.startDate"
|
|
21
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
22
|
+
condition="time >= '{} 00:00:00'"
|
|
23
|
+
style="width:60%">
|
|
24
|
+
</datepicker>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="form-group col-sm-2">
|
|
27
|
+
<label for="endDate" class="font_normal_body">操作时间</label>
|
|
28
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
29
|
+
v-model="model.endDate"
|
|
30
|
+
:value.sync="model.endDate"
|
|
31
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
32
|
+
condition="time <= '{} 23:59:59'"
|
|
33
|
+
style="width:60%">
|
|
34
|
+
</datepicker>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="col-sm-3 form-group button-range" style="margin-right: 10px;">
|
|
37
|
+
<button @click="search()" class="button_search button_spacing" v-el:cx>查询</button>
|
|
38
|
+
<button @click="$parent.$parent.clear()" class="button_new button_spacing">清空</button>
|
|
39
|
+
<export-excel
|
|
40
|
+
:data="{condition: $parent.$parent.model.condition}"
|
|
41
|
+
:field="$parent.$parent.getfield"
|
|
42
|
+
sqlurl="rs/logic/saleExport" sql-name="sale_getResourceRecord"
|
|
43
|
+
template-name='资源操作记录导出'
|
|
44
|
+
:choose-col="true">
|
|
45
|
+
</export-excel>
|
|
46
|
+
<div
|
|
47
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
48
|
+
@click="$parent.$parent.criteriaShow=!$parent.$parent.criteriaShow"
|
|
49
|
+
class="button_spacing"
|
|
50
|
+
style="float: right">
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
55
|
+
<div class="col-sm-2 form-group">
|
|
56
|
+
<label class="font_normal_body" for="f_meter_type">操作类型</label>
|
|
57
|
+
<input class="input_search" condition="type like '%{}%'" placeholder='操作类型' style="width:60%"
|
|
58
|
+
type="text"
|
|
59
|
+
v-model="model.type">
|
|
60
|
+
</div>
|
|
61
|
+
<div class="col-sm-2 form-group">
|
|
62
|
+
<label class="font_normal_body">操作描述</label>
|
|
63
|
+
<input class="input_search" condition="operate like '%{}%'" placeholder='操作描述' style="width:60%"
|
|
64
|
+
type="text"
|
|
65
|
+
v-model="model.operate">
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</criteria>
|
|
70
|
+
<data-grid :model="model" class="list_area table_sy" partial='list' v-ref:grid>
|
|
71
|
+
<template partial='head'>
|
|
72
|
+
<tr>
|
|
73
|
+
<th>
|
|
74
|
+
<nobr>序号</nobr>
|
|
75
|
+
</th>
|
|
76
|
+
<th>
|
|
77
|
+
<nobr>操作类型</nobr>
|
|
78
|
+
</th>
|
|
79
|
+
<th>
|
|
80
|
+
<nobr>操作描述</nobr>
|
|
81
|
+
</th>
|
|
82
|
+
<th>
|
|
83
|
+
<nobr>操作时间</nobr>
|
|
84
|
+
</th>
|
|
85
|
+
<th>
|
|
86
|
+
<nobr>操作人</nobr>
|
|
87
|
+
</th>
|
|
88
|
+
<th>
|
|
89
|
+
<nobr>部门</nobr>
|
|
90
|
+
</th>
|
|
91
|
+
<th>
|
|
92
|
+
<nobr>组织机构</nobr>
|
|
93
|
+
</th>
|
|
94
|
+
</tr>
|
|
95
|
+
</template>
|
|
96
|
+
<template partial='body'>
|
|
97
|
+
<tr>
|
|
98
|
+
<td style="text-align:center">
|
|
99
|
+
<nobr>{{ $index + 1 }}</nobr>
|
|
100
|
+
</td>
|
|
101
|
+
<td style="text-align:center">
|
|
102
|
+
<nobr>{{ row.type }}</nobr>
|
|
103
|
+
</td>
|
|
104
|
+
<td style="text-align:center">
|
|
105
|
+
<nobr>{{ row.operate }}</nobr>
|
|
106
|
+
</td>
|
|
107
|
+
<td style="text-align:center">
|
|
108
|
+
<nobr>{{ row.time }}</nobr>
|
|
109
|
+
</td>
|
|
110
|
+
<td style="text-align:center">
|
|
111
|
+
<nobr>{{ row.f_operator }}</nobr>
|
|
112
|
+
</td>
|
|
113
|
+
<td style="text-align:center">
|
|
114
|
+
<nobr>{{ row.f_depname }}</nobr>
|
|
115
|
+
</td>
|
|
116
|
+
<td style="text-align:center">
|
|
117
|
+
<nobr>{{ row.f_orgid }}</nobr>
|
|
118
|
+
</td>
|
|
119
|
+
</tr>
|
|
120
|
+
</template>
|
|
121
|
+
<template partial='foot'></template>
|
|
122
|
+
</data-grid>
|
|
123
|
+
</criteria-paged>
|
|
124
|
+
</div>
|
|
125
|
+
</template>
|
|
126
|
+
|
|
127
|
+
<script>
|
|
128
|
+
import {PagedList} from 'vue-client'
|
|
129
|
+
|
|
130
|
+
let readySomething = async function (self) {
|
|
131
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
|
|
132
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
|
|
133
|
+
self.search()
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export default {
|
|
137
|
+
title: '资源操作记录查询',
|
|
138
|
+
data () {
|
|
139
|
+
return {
|
|
140
|
+
model: new PagedList('rs/sql/sale_getResourceRecord', 20),
|
|
141
|
+
criteriaShow: true,
|
|
142
|
+
orgCondtionStr: '',
|
|
143
|
+
getfield: {
|
|
144
|
+
'type': '操作类型',
|
|
145
|
+
'operate': '操作描述',
|
|
146
|
+
'time': '操作时间',
|
|
147
|
+
'f_operator': '操作人',
|
|
148
|
+
'f_depname': '部门',
|
|
149
|
+
'f_orgname': '组织机构'
|
|
150
|
+
},
|
|
151
|
+
f_orgid: '',
|
|
152
|
+
curorgid: [this.$login.f.orgid]
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
ready () {
|
|
156
|
+
readySomething(this)
|
|
157
|
+
},
|
|
158
|
+
methods: {
|
|
159
|
+
// 清空
|
|
160
|
+
clear() {
|
|
161
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
162
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
163
|
+
})
|
|
164
|
+
},
|
|
165
|
+
getorg (val) {
|
|
166
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
167
|
+
},
|
|
168
|
+
selfSearch (args) {
|
|
169
|
+
if (!this.f_orgid) {
|
|
170
|
+
this.getorg([this.$login.f.orgid])
|
|
171
|
+
}
|
|
172
|
+
if (this.f_orgid) {
|
|
173
|
+
args.condition = `${args.condition}` + ` and f_orgid in ${this.f_orgid}`
|
|
174
|
+
}
|
|
175
|
+
this.model.search(args.condition, args.model)
|
|
176
|
+
},
|
|
177
|
+
search () {
|
|
178
|
+
this.$refs.paged.$refs.cri.search()
|
|
179
|
+
},
|
|
180
|
+
hidden () {
|
|
181
|
+
this.criteriaShow = !this.criteriaShow
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
watch: {}
|
|
185
|
+
}
|
|
186
|
+
</script>
|
package/src/sale.js
CHANGED
|
@@ -1194,4 +1194,6 @@ export default function () {
|
|
|
1194
1194
|
Vue.component('new-price-adjustment', (resolve) => { require(['./components/newpriceadjustment/NewPriceAdjustment'], resolve) })
|
|
1195
1195
|
//卡表收费调价补差
|
|
1196
1196
|
Vue.component('new-price-adjustment-sell', (resolve) => { require(['./components/newpriceadjustment/NewPriceAdjustmentSell'], resolve) })
|
|
1197
|
+
// 资源操作记录
|
|
1198
|
+
Vue.component('sale-resource-record-query', (resolve) => { require(['./components/revenue/comprehen/ResourceRecord/ResourceRecordQuery'], resolve) })
|
|
1197
1199
|
}
|