ソースを参照

接待记录

newStyle
corala 1年前
コミット
25cabb88d0
1個のファイルの変更22行の追加24行の削除
  1. +22
    -24
      src/views/ReceivingRecords/index.vue

+ 22
- 24
src/views/ReceivingRecords/index.vue ファイルの表示

@@ -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();
},


読み込み中…
キャンセル
保存