Commit cecf5e86 by wangzhihui

fixed

1 parent 04b6d2a3
......@@ -95,7 +95,7 @@ export default {
},
{
label: "APP接待结果",
props: "isOrderFinishFlagName"
prop: "isOrderFinishFlagName"
},
{
label: "质检得分",
......
......@@ -159,7 +159,7 @@ export default {
}, 0)
},
async handleConfigureCourse(item) {
console.log(item)
let brandId = this.longAllData[this.longForm.scene][this.activeIndex].id
if (item.merchantCount) {
let data = await this.getStaffInfoData(item.merchantNos)
if (data && data.length > 0) {
......@@ -168,7 +168,7 @@ export default {
query: {
scene: this.longForm.scene,
merchantNos: item.merchantNos,
brandId: item.id
brandId: brandId
}
})
} else {
......
......@@ -474,7 +474,7 @@ export default {
}
}
.select-list {
height: 365px;
// min-height: 365px;
overflow-y: auto;
overflow-x: hidden;
.select-item {
......
......@@ -243,6 +243,11 @@ export default {
</script>
<style scoped lang="scss">
.customer-tags {
.d2-container-content {
margin-top: 0 !important;
}
}
.emptyBg {
display: flex;
flex-direction: column;
......
......@@ -3,7 +3,7 @@
<div class="week-replay">
<div class="header">
上周学习复盘<span class="time"
>({{ longForm.startTime }} 至 {{ longForm.endTime }})</span
>({{ lastForm.startTime }} 至 {{ lastForm.endTime }})</span
>
</div>
<div class="improve">
......
......@@ -18,7 +18,10 @@
</div>
</div>
</div>
<div class="situation-content" v-if="learningInfo.courseRecords.length">
<div
class="situation-content"
v-if="learningInfo.courseRecords && learningInfo.courseRecords.length"
>
<div
class="time-line"
:style="{ width: 476 * learningInfo.courseRecords.length + 'px' }"
......
......@@ -242,8 +242,13 @@ export default {
prop: "courseName"
},
{
label: "学习时长",
prop: "courseTotalDuration"
label: "课程时长",
prop: "courseTotalDuration",
formatter: (cellValue) => {
return cellValue.courseTotalDuration
? +cellValue.courseTotalDuration + "min"
: "-"
}
},
{
label: "学习进度",
......@@ -254,7 +259,7 @@ export default {
(item) => item.confId === cellValue.status
)?.confValue +
(cellValue.status == 2
? `(${(cellValue.progress * 100).toFixed(1)}%)`
? `(${(cellValue.progress * 100).toFixed(0)}%)`
: "")
)
},
......
......@@ -118,7 +118,8 @@ export default {
this.selectStaffList = []
},
handleChooseStaff(index) {
if (this.staffItem.staffUUID !== this.selectStaffList[index].staffUUID) {
console.log()
if (this.staffItem.phone !== this.selectStaffList[index].phone) {
this.selectStaffList[index].active = !this.selectStaffList[index].active
this.checkAll = this.selectStaffList.every((item) => item.active)
}
......@@ -133,16 +134,17 @@ export default {
this.checkAll = this.selectStaffList.every((item) => item.active)
if (
this.selectStaffList.length == 1 &&
this.selectStaffList[0].staffUUID == this.staffItem.staffUUID
this.selectStaffList[0].phone == this.staffItem.phone
) {
this.disabled = true
} else {
this.disabled = false
}
console.log(this.selectStaffList)
},
handleCheckAllChange() {
this.selectStaffList.forEach((item) => {
if (item.staffUUID == this.staffItem.staffUUID) {
if (item.phone == this.staffItem.phone) {
item.active = true
} else {
item.active = this.checkAll
......
......@@ -196,7 +196,7 @@ export default {
},
handleClick(index) {
this.activeIndex = index
this.longForm.scene = this.conditionList[index].confId
this.longForm.scene = this.conditionList[index].value
this.analysisActiveIndex = 0
this.handleSetTime()
this.analysisList[1].isshow = index != 0 ? false : true
......
......@@ -1055,9 +1055,9 @@ export default {
sceneType == 1
? "boutiqueDailyReportFillFlag"
: "quotationDailyReportFillFlag"
] == "Y"
? "N"
: "Y"
] == "N"
? "Y"
: "N"
this.$confirm(
"切换日报填写开关会影响驻店是否需要填日报才能提单!",
"提示",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!