@@ -63,7 +63,8 @@ axios.interceptors.response.use(res => { | |||
NProgress.done() | |||
const status = Number(res.status) || 200 | |||
const message = res.data.msg || errorCode[status] || errorCode['default'] | |||
if (status === 401 || status === 500) { | |||
if (status === 401) { | |||
// if (status === 401 || status === 500) { | |||
idx++ | |||
if(idx==1){ | |||
Message({ | |||
@@ -320,7 +320,7 @@ | |||
</div> | |||
<div class="mark-item"> | |||
<img class="markicon" :src="imgArr[3]"/> | |||
<p class="marktext">销讲词销讲词</p> | |||
<p class="marktext">销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词销讲词</p> | |||
</div> | |||
</div> | |||
<!-- <div class="showmark" v-if="item.types"> --> | |||
@@ -2528,7 +2528,7 @@ export default { | |||
padding: 10px 20px; | |||
} | |||
.huashu{ | |||
width: 400px; | |||
width: 260px; | |||
padding: 0 20px 30px; | |||
display: flex; | |||
align-items: center; | |||
@@ -2603,6 +2603,7 @@ export default { | |||
line-height: 18px; | |||
word-break: break-all; | |||
margin: 0; | |||
max-width: 150px; | |||
} | |||
} | |||
} | |||
@@ -364,7 +364,7 @@ | |||
<el-form :model="form" v-else> | |||
<el-form-item label="转写方式" :label-width="80"> | |||
<el-select v-model="form.project" placeholder="请选择项目" @change="changeFun"> | |||
<el-option v-for="(item,index) in projectlist" :label="item.name" :key="index" :value="item.code"></el-option> | |||
<el-option v-for="(item,index) in projectList" :label="item.name" :key="index" :value="item.code"></el-option> | |||
</el-select> | |||
<el-select v-model="form.language" placeholder="请选择语种"> | |||
<el-option v-for="(item,index) in languageList" :label="item.name" :key="index" :value="item.code"></el-option> | |||
@@ -391,7 +391,7 @@ export default { | |||
xiaojianglist: [], //销讲业务 | |||
desc: '请等待录音合并之后再重新转写!', | |||
dialogVisible: false, | |||
projectlist: [], | |||
projectList: [], | |||
languageList: [], | |||
form: { | |||
language: '', | |||
@@ -675,9 +675,10 @@ export default { | |||
changeFun(value){ | |||
// console.log(value) | |||
this.form.language = '' | |||
this.projectlist.forEach(item=>{ | |||
this.projectList.forEach(item=>{ | |||
if(item.code==value){ | |||
this.languageList = item.list | |||
this.languageList = item.list | |||
this.form.language = this.languageList[0].code | |||
} | |||
}) | |||
}, | |||
@@ -686,7 +687,7 @@ export default { | |||
this.$api.api.findTransferMethod().then((res) => { | |||
console.log(res); | |||
if(res.data&&res.data.obj){ | |||
this.projectlist = res.data.data||[] | |||
this.projectList = res.data.data||[] | |||
this.languageList = res.data.data&&res.data.data[0].list||[] | |||
} | |||
}); | |||
@@ -717,7 +718,7 @@ export default { | |||
// this.title = row.mergeFlag==1?'提醒':'重新转写'; | |||
this.form.project = row.transferMethod||''; | |||
if(row.transferLanguage){ | |||
this.projectlist.forEach(item=>{ | |||
this.projectList.forEach(item=>{ | |||
if(item.code==row.transferLanguage){ | |||
this.languageList = item.list | |||
this.form.language = row.transferLanguage||'' | |||
@@ -15,11 +15,11 @@ | |||
</el-radio-group> | |||
<div style="margin-left: 26px" v-if="TimetoAhoose == 7"> | |||
<el-date-picker | |||
style="width: 270px; height: 32px; line-height: 32px" | |||
style="width: 300px; height: 32px; line-height: 32px" | |||
@change="confirmtime" | |||
v-model="customtime" | |||
type="daterange" | |||
range-separator="至" | |||
range-separator="-" | |||
value-format="yyyy-MM-dd" | |||
start-placeholder="开始日期" | |||
end-placeholder="结束日期" | |||
@@ -244,7 +244,7 @@ | |||
</div> | |||
<!-- 需求挖掘排行 --> | |||
<div class="box-card"> | |||
<div class="title">需求类型挖掘执行排行</div> | |||
<div class="title">需求挖掘排行</div> | |||
<div class="control-tab" style="justify-content: flex-end"> | |||
<div> | |||
<el-select v-model="rankTypeVal" placeholder="请选择"> | |||
@@ -439,6 +439,7 @@ | |||
</div> | |||
</template> | |||
<script> | |||
import * as echarts from "echarts"; | |||
export default { | |||
data() { | |||
return { | |||
@@ -640,13 +641,13 @@ export default { | |||
}; | |||
}, | |||
created() { | |||
}, | |||
mounted() { | |||
this.houseId = localStorage.getItem("houseId"); | |||
this.getAllDeptName(); /// 获取楼盘下全部部门-团队下拉数据 | |||
// this.excuteMethods(); | |||
this.getAllAccountName(); // 全部顾问 | |||
}, | |||
mounted() { | |||
this.excuteMethods(); | |||
}, | |||
methods: { | |||
// 部门 | |||
getAllDeptName() { | |||
@@ -956,7 +957,6 @@ export default { | |||
}, | |||
}).then((data) => { | |||
if (data.code == 0) { | |||
console.log(data); | |||
this.teams = data.data.map((item) => { | |||
return { | |||
name: item.deptName, | |||
@@ -976,7 +976,6 @@ export default { | |||
deptId: this.fromobj.team, | |||
}, | |||
}).then((data) => { | |||
// console.log(data); | |||
if (data.code == 0) { | |||
this.consultants = data.data.map((item) => { | |||
return { | |||
@@ -996,18 +995,12 @@ export default { | |||
let firstStartDate = this.TimetoAhoose == 7 ? this.fromobj.starttime : ""; | |||
let firstEndDate = this.TimetoAhoose == 7 ? this.fromobj.endoftime : ""; | |||
var daochuparams = | |||
"?houseId=" + | |||
this.houseId + | |||
"&deptId=" + | |||
this.fromobj.team + | |||
"&createUser=" + | |||
this.fromobj.consultant + | |||
"&dateType=" + | |||
TimetoAhoose + | |||
"&firstStartDate=" + | |||
firstStartDate + | |||
"&firstEndDate=" + | |||
firstEndDate; | |||
"?houseId=" + this.houseId + | |||
"&deptId=" + this.fromobj.team + | |||
"&createUser=" + this.fromobj.consultant + | |||
"&dateType=" + TimetoAhoose + | |||
"&firstStartDate=" + firstStartDate + | |||
"&firstEndDate=" + firstEndDate; | |||
if (type == "rank") { | |||
//排行 | |||
window.location.href ="/autoSR/customer/wordMiningRankExport" + daochuparams; | |||
@@ -1059,9 +1052,10 @@ export default { | |||
Userrecord.id = item.id; | |||
Userrecord.name = ""; | |||
Userrecord.keywordsId = ""; | |||
Userrecord.wordFraction = item.name;//需求挖掘率 | |||
} | |||
localStorage.setItem("Userrecord", JSON.stringify(Userrecord)); | |||
location.href = "/autoSR/matchKeywords/receptionIndex"; | |||
this.$router.push({path:'/ReceivingRecords/index'}) | |||
}, | |||
//清空筛选条件 | |||
Emptycondition() { | |||
@@ -2,11 +2,11 @@ | |||
* 配置参考: | |||
* https://cli.vuejs.org/zh/config/ | |||
*/ | |||
// const url = 'http://192.168.31.160:9999' //长龙 | |||
const url = 'http://192.168.31.160:9999' //长龙 | |||
// const url = 'http://192.168.31.149:9999' // 胜浩 | |||
// const url = 'http://127.0.0.1:9999' // 本地 | |||
const url = 'http://39.97.244.65:9999' // 测试服务器 | |||
// const url = 'http://39.97.244.65:9999' // 测试服务器 | |||
// const url = 'http://62.234.122.43:9999' //正式服务器1 | |||
// const url = 'http://82.156.35.22:9999' // 正式服务器2 | |||