Commit cecf5e86 by wangzhihui

fixed

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