@@ -9,6 +9,7 @@ | |||||
"sh": "vue-cli-service serve --mode shdevelopment", | "sh": "vue-cli-service serve --mode shdevelopment", | ||||
"local": "vue-cli-service serve --mode localdevelopment", | "local": "vue-cli-service serve --mode localdevelopment", | ||||
"build": "vue-cli-service build", | "build": "vue-cli-service build", | ||||
"build:test": "vue-cli-service build --mode development", | |||||
"build:docker": "vue-cli-service build --dest=./docker/dist/", | "build:docker": "vue-cli-service build --dest=./docker/dist/", | ||||
"lint": "vue-cli-service lint", | "lint": "vue-cli-service lint", | ||||
"analyze": "vue-cli-service build --report" | "analyze": "vue-cli-service build --report" | ||||
@@ -2623,37 +2623,10 @@ export default { | |||||
statDateEnd: this.statDateEnd, | statDateEnd: this.statDateEnd, | ||||
}; | }; | ||||
this.$api.http.houseIndex(obj).then((res) => { | this.$api.http.houseIndex(obj).then((res) => { | ||||
this.cardlist.datalist = { | |||||
receptionCount: res.data.todayStat.receptionCount, | |||||
activeCustomer: res.data.todayStat.activeCustomer, | |||||
receivingCustomer: res.data.todayStat.receivingCustomer, | |||||
avgDuration: res.data.todayStat.avgDuration, | |||||
fraction: res.data.todayStat.fraction, | |||||
prohibitedCustomer: res.data.todayStat.prohibitedCustomer, | |||||
prohibitedZb: res.data.todayStat.prohibitedZb, | |||||
accountNum: res.data.todayStat.accountNum, | |||||
}; | |||||
this.cardlist.liftlist = { | |||||
receptionCount: res.data.comparedStat.receptionCount, | |||||
activeCustomer: res.data.comparedStat.activeCustomer, | |||||
receivingCustomer: res.data.comparedStat.receivingCustomer, | |||||
avgDuration: res.data.comparedStat.avgDuration, | |||||
fraction: res.data.comparedStat.fraction, | |||||
prohibitedCustomer: res.data.comparedStat.prohibitedCustomer, | |||||
prohibitedZb: res.data.comparedStat.prohibitedZb, | |||||
accountNum: res.data.comparedStat.accountNum, | |||||
}; | |||||
this.cardlist.sequential = { | |||||
receptionCount: res.data.yesterdayStat.receptionCount, | |||||
activeCustomer: res.data.yesterdayStat.activeCustomer, | |||||
receivingCustomer: res.data.yesterdayStat.receivingCustomer, | |||||
avgDuration: res.data.yesterdayStat.avgDuration, | |||||
fraction: res.data.yesterdayStat.fraction, | |||||
prohibitedCustomer: res.data.yesterdayStat.prohibitedCustomer, | |||||
prohibitedZb: res.data.yesterdayStat.prohibitedZb, | |||||
accountNum: res.data.yesterdayStat.accountNum, | |||||
}; | |||||
}); | |||||
this.cardlist.datalist = res.data.todayStat | |||||
this.cardlist.liftlist = res.data.comparedStat | |||||
this.cardlist.sequential = res.data.yesterdayStat | |||||
}) | |||||
}, | }, | ||||
//获取设备 | //获取设备 | ||||
findAllZkEquipment() { | findAllZkEquipment() { | ||||
@@ -511,11 +511,7 @@ | |||||
}}%</el-radio-button | }}%</el-radio-button | ||||
> | > | ||||
<el-radio-button :label="1">禁忌执行</el-radio-button> | <el-radio-button :label="1">禁忌执行</el-radio-button> | ||||
<el-radio-button :label="2" | |||||
>需求挖掘率{{ | |||||
userinformationlist.wordFraction || 0 | |||||
}}%</el-radio-button | |||||
> | |||||
<el-radio-button :label="2">需求挖掘率</el-radio-button> | |||||
</el-radio-group> | </el-radio-group> | ||||
</div> | </div> | ||||
<div v-if="zhixingcenterindex == 0" class="xiaojaingBox"> | <div v-if="zhixingcenterindex == 0" class="xiaojaingBox"> | ||||
@@ -623,13 +619,17 @@ | |||||
</div> | </div> | ||||
<!-- 需求挖掘 --> | <!-- 需求挖掘 --> | ||||
<div v-if="zhixingcenterindex == 2" class="wajueBox"> | <div v-if="zhixingcenterindex == 2" class="wajueBox"> | ||||
<div style="display: flex"> | |||||
<div style="padding: 0 10px;flex: 1;line-height: 44px;">挖掘执行率 {{ userinformationlist.wordFraction || 0 }}%</div> | |||||
<div style="padding: 0 10px;flex: 1;line-height: 44px;">挖掘成功率 {{ userinformationlist.wordFinishFraction || 0 }}%</div> | |||||
</div> | |||||
<div class="wajue-title"> | <div class="wajue-title"> | ||||
<div class="label1">指标</div> | <div class="label1">指标</div> | ||||
<div class="label2">执行</div> | <div class="label2">执行</div> | ||||
<div class="label3">匹配标签</div> | <div class="label3">匹配标签</div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div id="zxldiv" v-if="zhixingcenterindex == 2"> | |||||
<div id="zxldiv" style="height: calc(70vh - 230px)" v-if="zhixingcenterindex == 2"> | |||||
<div | <div | ||||
style="width: 100%" | style="width: 100%" | ||||
v-for="(item, index) in keyWordsList" | v-for="(item, index) in keyWordsList" | ||||
@@ -22,7 +22,6 @@ export default { | |||||
sortable: true, | sortable: true, | ||||
label: '接待开始时间', | label: '接待开始时间', | ||||
prop: 'createTime', | prop: 'createTime', | ||||
overHidden: true, | |||||
}, | }, | ||||
{ | { | ||||
label: "顾问", | label: "顾问", | ||||
@@ -615,7 +615,7 @@ export default { | |||||
keywordsId: item.markid, | keywordsId: item.markid, | ||||
showFormatExpression: item.editText, //文本形式 | showFormatExpression: item.editText, //文本形式 | ||||
formatExpression: this.replaceFun(item.editValue), // 问题表达式,关键词加#号 | formatExpression: this.replaceFun(item.editValue), // 问题表达式,关键词加#号 | ||||
originalExpression: item.editValue, // html==带span标签 | |||||
original: item.editValue, // html==带span标签 | |||||
}; | }; | ||||
}); | }); | ||||
} | } | ||||
@@ -460,7 +460,7 @@ export default { | |||||
keywordsId: item.markid, | keywordsId: item.markid, | ||||
showFormatExpression: item.editText, //文本形式 | showFormatExpression: item.editText, //文本形式 | ||||
formatExpression: this.replaceFun(item.editValue), // 问题表达式,关键词加#号 | formatExpression: this.replaceFun(item.editValue), // 问题表达式,关键词加#号 | ||||
originalExpression: item.editValue, // html==带span标签 | |||||
original: item.editValue, // html==带span标签 | |||||
}; | }; | ||||
}); | }); | ||||
} | } | ||||
@@ -208,7 +208,7 @@ | |||||
</div> | </div> | ||||
<div v-if="dynamiclist.length">需求挖掘匹配:</div> | <div v-if="dynamiclist.length">需求挖掘匹配:</div> | ||||
<div class="dynamicbox"> | <div class="dynamicbox"> | ||||
<div v-for="(item,index) in dynamiclist" :key="item" class="itemlist"> | |||||
<div v-for="(item,index) in dynamiclist" :key="index" class="itemlist"> | |||||
<el-select size="small" v-model="item.markid" @change="checkrepeat" placeholder="标签" clearable> | <el-select size="small" v-model="item.markid" @change="checkrepeat" placeholder="标签" clearable> | ||||
<el-option v-for="(mark,i) in wajueList" :disabled="mark.disabled" :key="i" :label="mark.name" :value="mark.id"></el-option> | <el-option v-for="(mark,i) in wajueList" :disabled="mark.disabled" :key="i" :label="mark.name" :value="mark.id"></el-option> | ||||
</el-select> | </el-select> | ||||
@@ -438,7 +438,7 @@ export default { | |||||
keywordsId: item.markid, | keywordsId: item.markid, | ||||
showFormatExpression: item.editText,//文本形式 | showFormatExpression: item.editText,//文本形式 | ||||
formatExpression: this.replaceFun(item.editValue),// 问题表达式,关键词加#号 | formatExpression: this.replaceFun(item.editValue),// 问题表达式,关键词加#号 | ||||
originalExpression: item.editValue // html,带span标签 | |||||
original: item.editValue // html,带span标签 | |||||
} | } | ||||
}) | }) | ||||
this.$api.api.updateKeywordsModel({ | this.$api.api.updateKeywordsModel({ | ||||
@@ -880,8 +880,8 @@ export default { | |||||
time: "22:00", // 日报推送时间 | time: "22:00", // 日报推送时间 | ||||
closeTime: "120", // 接待时长(自动结束) | closeTime: "120", // 接待时长(自动结束) | ||||
offLine: ["08:00", "20:00"], // 离线推送时间段 | offLine: ["08:00", "20:00"], // 离线推送时间段 | ||||
caseShow: '0', // 优秀案例 | |||||
tagMatching: '0', // 客户标签匹配 | |||||
caseShow: 0, // 优秀案例 | |||||
tagMatching: 0, // 客户标签匹配 | |||||
transliterationMethod: '',//转写方式 | transliterationMethod: '',//转写方式 | ||||
language:'',//语言 | language:'',//语言 | ||||
}, | }, | ||||