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