3 Commits

Author SHA1 Message Date
  corala 25cabb88d0 接待记录 1 year ago
  corala a548bd9034 Merge branch 'master' into new1209 1 year ago
  corala 56b0b20205 转写 1 year ago
2 changed files with 22 additions and 25 deletions
Split View
  1. +22
    -24
      src/views/ReceivingRecords/index.vue
  2. +0
    -1
      src/views/building/index.vue

+ 22
- 24
src/views/ReceivingRecords/index.vue View File

@@ -658,23 +658,24 @@ export default {
mounted() {
// 获取项目列表
this.zkhousePage();
this.findQuestionList()
},

methods: {
// 获取话术
findQuestionList() {
axios({
url: `/autoSR/zk/keywords/findQuestionList`,
method: 'get',
params: {
houseId: this.houseId
}
}).then(data => {
if (data.code == 0) {
this.questionList = data.data;
this.questionList.length = 20
}
})
axios({
url: `/autoSR/zk/keywords/findQuestionList`,
method: 'get',
params: {
houseId: this.searchForm.projectId
}
}).then(data => {
if (data.code == 0) {
this.questionList = data.data;
this.questionList.length = 20
}
})
},
// 无效接待原因列表
getMarketingInvalidList () {
@@ -805,13 +806,15 @@ export default {
obj.keywordIds = obj.keywordsId.join(",");
obj.dateType = this.searchForm.staDate ? null : this.searchForm.dateType;
this.$api.api.findbypage(obj).then((res) => {
console.log(res);
this.tableData = res.data.records;
this.page.total = res.data.total;
// 表格中设置ref属性,在数据渲染之后或者updated()之后
this.$nextTick(() => {
this.$refs.crud.doLayout();
});
// console.log(res);
if(res.code==0){
this.tableData = res.data.records;
this.page.total = res.data.total;
// 表格中设置ref属性,在数据渲染之后或者updated()之后
this.$nextTick(() => {
this.$refs.crud.doLayout();
});
}
});
},
clearScreen() {
@@ -852,7 +855,6 @@ export default {
this.searchForm.staDate = "";
this.searchForm.endDate = "";
} else {
console.log(e, "asdkasljdlksajl");
this.searchForm.dateType = null;
this.searchForm.staDate = e[0];
this.searchForm.endDate = e[1];
@@ -875,7 +877,6 @@ export default {
type: this.type,
})
.then((res) => {
console.log(res);
this.keywordsList = res.data;
});
},
@@ -905,16 +906,13 @@ export default {
orgType: localStorage.getItem("orgType"),
projectId: this.searchForm.projectId,
});
console.log(result);
this.accountList = result.data;
},
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.page.pageSize = val;
this.findbypage();
},
handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.page.currentPage = val;
this.findbypage();
},


+ 0
- 1
src/views/building/index.vue View File

@@ -1415,7 +1415,6 @@ export default {
this.projectList.forEach(item=>{
if(item.code==row.transliterationMethod){
this.languageList = item.list
this.ruleForm.language = this.languageList[0].code
}
})
}else{


Loading…
Cancel
Save