sale-client 3.7.71 → 3.7.72
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 +1 -1
- package/src/filiale/shimen/UploadIdCard.vue +543 -0
- package/src/filiale/shimen/sale.js +4 -0
- package/src/main.js +3 -3
package/package.json
CHANGED
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="background-color: #FFFFFF;min-height:800px;">
|
|
3
|
+
<div class="form-group col-sm-12"
|
|
4
|
+
style="background-color: #FFFFFF;height: auto;min-height:470px;border-radius: 8px">
|
|
5
|
+
<div style="position: relative;height: 34px;width:75%;margin: 30px auto 10px auto;">
|
|
6
|
+
<div class="col-sm-3" v-if="isremark">
|
|
7
|
+
<input v-model="headers.fremarks" class="inp" placeholder="文件说明"/>
|
|
8
|
+
</div>
|
|
9
|
+
<div v-if="isusetype" class="col-sm-3">
|
|
10
|
+
<v-select type="button" width="100%" placeholder="使用类型" :options="foptions"
|
|
11
|
+
:value-single="true" :close-on-select="true" :value.sync="fusetype" v-model="fusetype"></v-select>
|
|
12
|
+
</div>
|
|
13
|
+
<!-- <div class="inp_button" type="button" @click="upload()" v-show="!takeimg">拍照</div>-->
|
|
14
|
+
<div class="inp_button" type="button" @click="fileUpload()" v-show="!isupload">本地上传</div>
|
|
15
|
+
<div class="inp_button" type="button" @click="load(this)">查询</div>
|
|
16
|
+
<!-- <high-meter :show.sync="showhighmeter" :fusetype="headers.fusetype" @confirm-info="confirmInfo" @photo-finish="newPhoto" v-if="showhighmeter"></high-meter>-->
|
|
17
|
+
</div>
|
|
18
|
+
<hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;margin-top: 60px"/>
|
|
19
|
+
<div class="showList col-sm-12" style="padding: 10px;margin-top: 20px;">
|
|
20
|
+
<div class="col-sm-6" style="padding:10px 10px 0px 10px;height: auto;box-sizing: border-box"
|
|
21
|
+
v-for="row in fileInfoData">
|
|
22
|
+
<div class="showData">
|
|
23
|
+
<div class="left">
|
|
24
|
+
<img :src="row.f_downloadURL"/>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="right">
|
|
27
|
+
<div class="top">
|
|
28
|
+
<div class="">上传时间: <span>{{row.f_uploaddate}}</span></div>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="top">
|
|
31
|
+
<div class="">操作员: <span>{{row.f_username}}</span></div>
|
|
32
|
+
</div>
|
|
33
|
+
<!-- <div class="top">-->
|
|
34
|
+
<!-- <div class="">文件名: <span>{{row.f_filename}}</span></div>-->
|
|
35
|
+
<!-- </div>-->
|
|
36
|
+
<div class="top">文件类型: {{row.fusetype}}</div>
|
|
37
|
+
<div class="top">文件说明: {{row.fremarks}}</div>
|
|
38
|
+
<ul class="buttonList top">
|
|
39
|
+
<li>
|
|
40
|
+
<a target="_blank" :href="row.f_downloadURL">预览</a>
|
|
41
|
+
</li>
|
|
42
|
+
<li v-show="isDelete == '1'" @click="delet($index,row)">删除</li>
|
|
43
|
+
</ul>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
<modal :show.sync="showUpload" v-ref:modal backdrop="false">
|
|
50
|
+
<header slot="modal-header" class="modal-header">
|
|
51
|
+
<button type="button" class="close" @click="close"><span>×</span></button>
|
|
52
|
+
<h4 class="modal-title">文件上传</h4>
|
|
53
|
+
</header>
|
|
54
|
+
<article slot="modal-body" class="modal-body">
|
|
55
|
+
<div class="form-group">
|
|
56
|
+
<file-upload class="my-file-uploader" name="myFile+{{blodid}}"
|
|
57
|
+
action="rs/file/uploadFile" tagname="文件上传" :headers="headers" multiple v-ref:file></file-upload>
|
|
58
|
+
</div>
|
|
59
|
+
</article>
|
|
60
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
61
|
+
</footer>
|
|
62
|
+
</modal>
|
|
63
|
+
</div>
|
|
64
|
+
</template>
|
|
65
|
+
<script>
|
|
66
|
+
import { HttpResetClass } from 'vue-client'
|
|
67
|
+
// import HttpResetClass from '../plugins/HttpResetClass'
|
|
68
|
+
|
|
69
|
+
export default {
|
|
70
|
+
title: "附件",
|
|
71
|
+
//takeimg 拍照显示按钮
|
|
72
|
+
props: ['blodid','isremark', 'isusetype','takeimg','defname','isupload','fusetype'],
|
|
73
|
+
data() {
|
|
74
|
+
return {
|
|
75
|
+
isDelete: '1', // 删除按钮,可以进行控制(权限等)
|
|
76
|
+
fileInfoData: [], // 数据库存储的文件记录对象数组
|
|
77
|
+
headers: {'username': this.$login.f.name, 'blodid': '', 'fremarks': '','defname':'','fusetype':this.fusetype?this.fusetype:''}, // 调用rs/file/uploadFile 的参数
|
|
78
|
+
showUpload: false, // 上传模态框控制
|
|
79
|
+
showhighmeter: false, // 高拍仪组件控制
|
|
80
|
+
useType: '', // 使用类型
|
|
81
|
+
fileRemark: '' // 文件说明
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
methods: {
|
|
85
|
+
// 查询按钮事件
|
|
86
|
+
delet(index, row) {
|
|
87
|
+
this.$resetdelete('rs/entity/t_files', {id: row.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
88
|
+
this.fileInfoData.splice(index, 1)
|
|
89
|
+
})
|
|
90
|
+
},
|
|
91
|
+
GetRequest() {
|
|
92
|
+
var url = location.search;
|
|
93
|
+
var theRequest = new Object();
|
|
94
|
+
if (url.indexOf("?") != -1) {
|
|
95
|
+
var str = url.substr(1);
|
|
96
|
+
let strs = str.split("&");
|
|
97
|
+
for (var i = 0; i < strs.length; i++) {
|
|
98
|
+
theRequest[strs[i].split("=")[0]] = decodeURIComponent(strs[i].split("=")[1]);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return theRequest;
|
|
102
|
+
},
|
|
103
|
+
upload() {
|
|
104
|
+
this.showhighmeter = !this.showhighmeter
|
|
105
|
+
},
|
|
106
|
+
async load(self) {
|
|
107
|
+
let condition = `f_blobid= '${self.headers.blodid}' `
|
|
108
|
+
if(this.fusetype!==''){
|
|
109
|
+
condition += ` and fusetype='${this.fusetype}'`
|
|
110
|
+
}
|
|
111
|
+
var http = new HttpResetClass()
|
|
112
|
+
let data = {
|
|
113
|
+
tablename: 't_files',
|
|
114
|
+
condition: condition+` order by f_uploaddate desc `
|
|
115
|
+
}
|
|
116
|
+
let getFile = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
117
|
+
warnMsg: null,
|
|
118
|
+
resolveMsg: null
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
for (var i = 0; i < getFile.data.length; i++) {
|
|
122
|
+
// 如果使用类型包含导入字样,则是execl文件导入的,不做显示
|
|
123
|
+
if(getFile.data[i].fusetype&&(getFile.data[i].fusetype.includes('execl导入'))){
|
|
124
|
+
getFile.data.splice(i,1)
|
|
125
|
+
i--
|
|
126
|
+
continue
|
|
127
|
+
}
|
|
128
|
+
let temp = getFile.data[i].f_downloadpath
|
|
129
|
+
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
|
130
|
+
getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
|
|
131
|
+
}
|
|
132
|
+
self.fileInfoData = []
|
|
133
|
+
self.fileInfoData = getFile.data
|
|
134
|
+
},
|
|
135
|
+
// 数据库时间格式化
|
|
136
|
+
formatdate(val) {
|
|
137
|
+
//20180914151603 : 2018-09-14 15:16:03
|
|
138
|
+
if (val.length != 14)
|
|
139
|
+
return
|
|
140
|
+
let year = val.substr(0, 4)
|
|
141
|
+
let month = val.substr(4, 2)
|
|
142
|
+
let day = val.substr(6, 2)
|
|
143
|
+
let hour = val.substr(8, 2)
|
|
144
|
+
let min = val.substr(10, 2)
|
|
145
|
+
let second = val.substr(12, 2)
|
|
146
|
+
return year + '-' + month + '-' + day + ' ' + hour + ':' + min + ':' + second
|
|
147
|
+
},
|
|
148
|
+
// 打开文件上传对话框
|
|
149
|
+
fileUpload() {
|
|
150
|
+
this.showUpload = true
|
|
151
|
+
},
|
|
152
|
+
// 关闭文件上传对话框
|
|
153
|
+
close() {
|
|
154
|
+
this.showUpload = false
|
|
155
|
+
// 将选的文件清空
|
|
156
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
157
|
+
this.load(this)
|
|
158
|
+
},
|
|
159
|
+
convertBase64ToBlob(base64String) {
|
|
160
|
+
// 将base64解码
|
|
161
|
+
var bytes = atob(base64String);
|
|
162
|
+
//var bytes = base64;
|
|
163
|
+
var bytesCode = new ArrayBuffer(bytes.length);
|
|
164
|
+
// 转换为类型化数组
|
|
165
|
+
var byteArray = new Uint8Array(bytesCode);
|
|
166
|
+
|
|
167
|
+
// 将base64转换为ascii码
|
|
168
|
+
for (var i = 0; i < bytes.length; i++) {
|
|
169
|
+
byteArray[i] = bytes.charCodeAt(i);
|
|
170
|
+
}
|
|
171
|
+
// 生成Blob对象(文件对象)
|
|
172
|
+
return new Blob([bytesCode], {type: 'image/jpeg'});
|
|
173
|
+
},
|
|
174
|
+
confirmInfo(param){
|
|
175
|
+
this.$emit('confirm-info', param)
|
|
176
|
+
},
|
|
177
|
+
newPhoto(Imgbase64) {
|
|
178
|
+
console.log('开始上传')
|
|
179
|
+
let form = new FormData()
|
|
180
|
+
let xhr = new XMLHttpRequest()
|
|
181
|
+
let formDataBoundary = "----WebkitFormBoundary" + "GaoPaiYi";
|
|
182
|
+
form.append('Content-Type', 'multipart/form-data;boundary=' + formDataBoundary)
|
|
183
|
+
form.append('file', this.convertBase64ToBlob(Imgbase64), "GaoPaiYi.jpg")
|
|
184
|
+
xhr.open("POST", "rs/file/uploadFile")
|
|
185
|
+
|
|
186
|
+
if (this.headers) {
|
|
187
|
+
for (var header in this.headers) {
|
|
188
|
+
xhr.setRequestHeader(header, encodeURIComponent(this.headers[header]))
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
xhr.send(form)
|
|
192
|
+
setTimeout(() => {
|
|
193
|
+
this.load(this)
|
|
194
|
+
}, 5000)
|
|
195
|
+
},
|
|
196
|
+
},
|
|
197
|
+
ready() {
|
|
198
|
+
this.headers.blodid = this.blodid
|
|
199
|
+
console.log('123222', this.blobid)
|
|
200
|
+
if (this.blodid) {
|
|
201
|
+
this.load(this)
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
watch: {
|
|
205
|
+
'blodid'(val) {
|
|
206
|
+
if (val) {
|
|
207
|
+
console.log('观察blodid', val)
|
|
208
|
+
this.headers.blodid = this.blodid
|
|
209
|
+
this.load(this)
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
|
|
213
|
+
'fusetype'() {
|
|
214
|
+
this.headers.fusetype = this.fusetype ? this.fusetype: ''
|
|
215
|
+
},
|
|
216
|
+
'defname'() {
|
|
217
|
+
this.headers.defname=this.defname
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
computed: {
|
|
221
|
+
foptions() {
|
|
222
|
+
return [{label:'全部',value:""}, ...this.$appdata.getParam('使用类型')]
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
events: {
|
|
226
|
+
onFileUpload: function (file, res) {
|
|
227
|
+
console.log("上传完毕")
|
|
228
|
+
this.headers.fremarks=''
|
|
229
|
+
this.close()
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
</script>
|
|
234
|
+
<style scoped>
|
|
235
|
+
|
|
236
|
+
* {
|
|
237
|
+
padding: 0px;
|
|
238
|
+
margin: 0px;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.inpGroup {
|
|
242
|
+
position: absolute;
|
|
243
|
+
left: 0px;
|
|
244
|
+
right: 220px;
|
|
245
|
+
font-family: "微软雅黑";
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.navWin {
|
|
249
|
+
position: relative;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.navWin .navShow {
|
|
253
|
+
margin-top: 5px;
|
|
254
|
+
height: 34px;
|
|
255
|
+
font-size: 20px;
|
|
256
|
+
line-height: 34px;
|
|
257
|
+
color: rgb(180, 180, 180);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.navWin .navShow span {
|
|
261
|
+
display: inline-block;
|
|
262
|
+
height: 34px;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.navWin .navShow .icon {
|
|
266
|
+
height: 34px;
|
|
267
|
+
margin-right: 10px;
|
|
268
|
+
color: rgb(200, 200, 200);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.navWin .navList {
|
|
272
|
+
position: absolute;
|
|
273
|
+
width: 100%;
|
|
274
|
+
z-index: 99;
|
|
275
|
+
list-style: none;
|
|
276
|
+
background-color: rgba(241, 241, 241, 0.9);
|
|
277
|
+
line-height: 34px;
|
|
278
|
+
color: #8d8d8d;
|
|
279
|
+
visibility: hidden;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.navWin:hover .navList {
|
|
283
|
+
visibility: visible;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.navWin .navList li {
|
|
287
|
+
font-size: 18px;
|
|
288
|
+
padding-left: 30px;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.navWin .navList li:hover {
|
|
292
|
+
background-color: rgba(220, 220, 220, 0.9);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.inp {
|
|
296
|
+
box-sizing: border-box;
|
|
297
|
+
width: 79%;
|
|
298
|
+
padding: 0px 10px;
|
|
299
|
+
height: 34px;
|
|
300
|
+
font-size: 14px;
|
|
301
|
+
line-height: 36px;
|
|
302
|
+
color: #999999;
|
|
303
|
+
border: solid 1px #c1c1c1;
|
|
304
|
+
border-radius: 2px;
|
|
305
|
+
background: none;
|
|
306
|
+
outline: none;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.inp::-webkit-input-placeholder {
|
|
310
|
+
color: #999999;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.inp_button {
|
|
314
|
+
float: right;
|
|
315
|
+
margin-left: 10px;
|
|
316
|
+
/* position: absolute;
|
|
317
|
+
right: 35px;
|
|
318
|
+
height: 40px;*/
|
|
319
|
+
width: 100px;
|
|
320
|
+
font-size: 14px;
|
|
321
|
+
line-height: 34px;
|
|
322
|
+
color: #ffffff;
|
|
323
|
+
text-align: center;
|
|
324
|
+
background-color: rgb(90, 180, 90);
|
|
325
|
+
border-radius: 4px;
|
|
326
|
+
cursor: pointer;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.btn-group {
|
|
330
|
+
height: 34px;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.inp_button2 {
|
|
334
|
+
float: right;
|
|
335
|
+
margin-left: 10px;
|
|
336
|
+
/* position: absolute;
|
|
337
|
+
right: 35px;
|
|
338
|
+
height: 40px;*/
|
|
339
|
+
width: auto;
|
|
340
|
+
font-size: 16px;
|
|
341
|
+
line-height: 34px;
|
|
342
|
+
color: #ffffff;
|
|
343
|
+
text-align: center;
|
|
344
|
+
border-radius: 4px;
|
|
345
|
+
cursor: pointer;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.inp_button:hover {
|
|
349
|
+
/*background-color: rgb(80, 150, 80);*/
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.inp_button:active {
|
|
353
|
+
font-size: 20px;
|
|
354
|
+
/*background-color: rgb(150, 200, 150);*/
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.showData {
|
|
358
|
+
height: auto;
|
|
359
|
+
position: relative;
|
|
360
|
+
padding-bottom: 7px;
|
|
361
|
+
border-bottom: solid 1px #c1c1c1;
|
|
362
|
+
font-family: "微软雅黑";
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.showData .left {
|
|
366
|
+
height: 180px;
|
|
367
|
+
width: 210px;
|
|
368
|
+
background-color: rgb(240, 240, 240);
|
|
369
|
+
overflow: hidden;
|
|
370
|
+
line-height: 180px;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.showData .left img {
|
|
374
|
+
width: 100%;
|
|
375
|
+
height: auto;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.showData .right {
|
|
379
|
+
position: absolute;
|
|
380
|
+
top: 0px;
|
|
381
|
+
left: 220px;
|
|
382
|
+
right: 0px;
|
|
383
|
+
height: 180px;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.showData .right .top {
|
|
387
|
+
height: 30px;
|
|
388
|
+
line-height: 30px;
|
|
389
|
+
color: rgb(98, 98, 98);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.showData .right .top .topleft {
|
|
393
|
+
float: left;
|
|
394
|
+
font-size: 16px;
|
|
395
|
+
margin-right: 20px;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.showData .right .top .topright {
|
|
399
|
+
float: right;
|
|
400
|
+
margin-left: 20px;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.showData .right .text {
|
|
404
|
+
word-wrap: break-word;
|
|
405
|
+
overflow: hidden;
|
|
406
|
+
/*height: 100px;*/
|
|
407
|
+
color: #999999;
|
|
408
|
+
/*padding: 8px 0px;*/
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.showData .right ul {
|
|
412
|
+
height: 20px;
|
|
413
|
+
padding: 0px;
|
|
414
|
+
margin: 0px;
|
|
415
|
+
font-size: 0px;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.showData .right ul li {
|
|
419
|
+
display: inline-block;
|
|
420
|
+
height: 20px;
|
|
421
|
+
list-style: none;
|
|
422
|
+
font-size: 16px;
|
|
423
|
+
line-height: 20px;
|
|
424
|
+
color: #FFFFFF;
|
|
425
|
+
background-color: #5bb85d;
|
|
426
|
+
padding: 0px 7px;
|
|
427
|
+
margin-right: 10px;
|
|
428
|
+
cursor: pointer;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.showData .right ul li:hover {
|
|
432
|
+
background-color: rgb(80, 150, 80);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.showData .right ul li:active {
|
|
436
|
+
background-color: rgb(150, 200, 150);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.showData .right ul li a {
|
|
440
|
+
width: 100%;
|
|
441
|
+
height: 100%;
|
|
442
|
+
text-decoration: none;
|
|
443
|
+
color: #FFFFFF;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
body {
|
|
447
|
+
color: black;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.search {
|
|
451
|
+
width: 75%;
|
|
452
|
+
margin: 10px auto 30px auto;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.search .searchAll {
|
|
456
|
+
height: 34px;
|
|
457
|
+
font-size: 18px;
|
|
458
|
+
color: #999999;
|
|
459
|
+
line-height: 34px;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.search .searchAll span {
|
|
463
|
+
display: inline-block;
|
|
464
|
+
width: 15px;
|
|
465
|
+
height: 15px;
|
|
466
|
+
border: #999999 1px solid;
|
|
467
|
+
position: relative;
|
|
468
|
+
top: 2px;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.search .searchAll .spanAll {
|
|
472
|
+
background-color: rgb(90, 180, 90);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.search .itemList {
|
|
476
|
+
font-size: 16px;
|
|
477
|
+
color: #999999;
|
|
478
|
+
line-height: 34px;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.search .itemList .item {
|
|
482
|
+
height: 34px;
|
|
483
|
+
position: relative;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.search .itemList .item .descript {
|
|
487
|
+
display: inline-block;
|
|
488
|
+
width: 80px;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.search .itemList .item .inputBox {
|
|
492
|
+
height: 30px;
|
|
493
|
+
position: absolute;
|
|
494
|
+
top: 0px;
|
|
495
|
+
left: 80px;
|
|
496
|
+
right: 20px;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.search .itemList .item .inputBox input {
|
|
500
|
+
width: 100%;
|
|
501
|
+
height: 100%;
|
|
502
|
+
outline: none;
|
|
503
|
+
padding: 0px 5px;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.search .itemList .item .inputBox input::-webkit-input-placeholder {
|
|
507
|
+
color: #999999;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.searchItem {
|
|
511
|
+
height: 30px;
|
|
512
|
+
position: absolute;
|
|
513
|
+
top: 0px;
|
|
514
|
+
left: 80px;
|
|
515
|
+
right: 20px;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
.searchItem .show {
|
|
519
|
+
padding-left: 10px;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.searchItem ul {
|
|
523
|
+
position: relative;
|
|
524
|
+
list-style: none;
|
|
525
|
+
background-color: rgba(190, 190, 190, 0.9);
|
|
526
|
+
color: #717171;
|
|
527
|
+
z-index: 99;
|
|
528
|
+
visibility: hidden;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.searchItem ul li {
|
|
532
|
+
padding-left: 10px;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.searchItem:hover ul {
|
|
536
|
+
visibility: visible;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.searchItem ul li:hover {
|
|
540
|
+
background-color: rgba(168, 168, 168, 0.8);
|
|
541
|
+
color: #646464;
|
|
542
|
+
}
|
|
543
|
+
</style>
|
package/src/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import Vue from 'vue'
|
|
|
2
2
|
import all from 'vue-client/src/all'
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
|
-
import FilialeSale from './filiale/
|
|
5
|
+
import FilialeSale from './filiale/shimen/sale'
|
|
6
6
|
import sale from './sale'
|
|
7
7
|
import address from 'address-client/src/address'
|
|
8
8
|
import ldap from 'ldap-clients/src/ldap'
|
|
@@ -24,10 +24,10 @@ system(false)
|
|
|
24
24
|
sale()
|
|
25
25
|
address()
|
|
26
26
|
ldap()
|
|
27
|
-
|
|
27
|
+
FilialeSale()
|
|
28
28
|
require('system-clients/src/styles/less/bootstrap.less')
|
|
29
29
|
|
|
30
30
|
new Vue({
|
|
31
31
|
el: 'body',
|
|
32
|
-
components: {
|
|
32
|
+
components: {App}
|
|
33
33
|
})
|