mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 18:46:43 +08:00
img拼接
This commit is contained in:
@@ -164,10 +164,17 @@ export default {
|
||||
this.text = '正常'
|
||||
}
|
||||
if (this.flagGo == '1') {
|
||||
if(this.goWorkTime!==null){
|
||||
this.goWorkTime = this.goWorkTime.split(' ')[1]
|
||||
}
|
||||
if(this.offWorkTime!==null){
|
||||
this.offWorkTime = this.offWorkTime.split(' ')[1]
|
||||
}
|
||||
this.text1 = '缺勤'
|
||||
}
|
||||
if (this.flagGo == '2') {
|
||||
this.goWorkTime = this.goWorkTime.split(' ')[1]
|
||||
console.log(this.goWorkTime)
|
||||
// this.goWorkTime = this.goWorkTime.split(' ')[1]
|
||||
this.text1 = '迟到'
|
||||
}
|
||||
if (this.flagOff == '3') {
|
||||
@@ -224,7 +231,7 @@ export default {
|
||||
this.text1 = '缺勤'
|
||||
}
|
||||
if (this.flagGo == '2') {
|
||||
this.offWorkTime = this.offWorkTime.split(' ')[1]
|
||||
this.goWorkTime = this.goWorkTime.split(' ')[1]
|
||||
this.text1 = '迟到'
|
||||
}
|
||||
if (this.flagOff == '3') {
|
||||
|
||||
@@ -162,8 +162,8 @@ export default {
|
||||
parmas.code = this.list[i].code,
|
||||
parmas.date = this.dateTime
|
||||
parmas.mask = '1'
|
||||
parmas.agentCode=this.data1[i].managerCode
|
||||
parmas.Name = this.data1[i].name
|
||||
parmas.agentCode=this.list[i].code
|
||||
parmas.Name = this.list[i].name
|
||||
parmas.buName=this.unitName
|
||||
localStorage.parmas2 = JSON.stringify(parmas)
|
||||
this.$jump({
|
||||
@@ -208,9 +208,6 @@ export default {
|
||||
console.log(res)
|
||||
if (res.result == 0) {
|
||||
this.list = res.content.list
|
||||
for(let i=0;i<res.content.list.length;i++){
|
||||
this.list[i].name=this.data1[i].name
|
||||
}
|
||||
console.log(this.list)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -255,6 +255,7 @@ export default {
|
||||
if (res.result == 0) {
|
||||
for (let i = 0; i < res.content.length; i++) {
|
||||
res.content[i].isShowImg = true
|
||||
res.content[i].imgUrl=encodeURIComponent(config.imgDomain + '/returnDirectStream?imgPath=' +res.content[i].imgUrl)
|
||||
}
|
||||
this.headerList = res.content
|
||||
console.log(this.headerList)
|
||||
|
||||
Reference in New Issue
Block a user