|
@@ -181,8 +181,8 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
/>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- <el-form-item label="添加时间" prop="createTime">
|
|
|
|
|
- <el-date-picker v-model="queryParams.createTime" size="small" style="width: 220px" value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" @change="change"></el-date-picker>
|
|
|
|
|
|
|
+ <el-form-item label="添加时间">
|
|
|
|
|
+ <el-date-picker v-model="daterange" size="small" style="width: 220px" value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -427,6 +427,7 @@ export default {
|
|
|
components: { PaginationMore },
|
|
components: { PaginationMore },
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ daterange: [],
|
|
|
// 遮罩层
|
|
// 遮罩层
|
|
|
loading: false,
|
|
loading: false,
|
|
|
// 导出遮罩层
|
|
// 导出遮罩层
|
|
@@ -516,6 +517,8 @@ export default {
|
|
|
isRepeat: null,
|
|
isRepeat: null,
|
|
|
commentStatus: null,
|
|
commentStatus: null,
|
|
|
isBindMini:null,
|
|
isBindMini:null,
|
|
|
|
|
+ sTime:null,
|
|
|
|
|
+ eTime:null
|
|
|
},
|
|
},
|
|
|
//标签
|
|
//标签
|
|
|
changeTagDialog:{
|
|
changeTagDialog:{
|
|
@@ -609,6 +612,13 @@ export default {
|
|
|
/** 查询企业微信客户列表 */
|
|
/** 查询企业微信客户列表 */
|
|
|
getList() {
|
|
getList() {
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
|
|
|
+ if(this.daterange!=null){
|
|
|
|
|
+ this.queryParams.sTime=this.daterange[0];
|
|
|
|
|
+ this.queryParams.eTime=this.daterange[1];
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.queryParams.sTime=null;
|
|
|
|
|
+ this.queryParams.eTime=null;
|
|
|
|
|
+ }
|
|
|
listExternalContact(this.queryParams).then(response => {
|
|
listExternalContact(this.queryParams).then(response => {
|
|
|
this.externalContactList = response.rows;
|
|
this.externalContactList = response.rows;
|
|
|
this.total = response.total;
|
|
this.total = response.total;
|
|
@@ -646,7 +656,6 @@ export default {
|
|
|
status: 0,
|
|
status: 0,
|
|
|
stageStatus: "0",
|
|
stageStatus: "0",
|
|
|
createBy: null,
|
|
createBy: null,
|
|
|
- createTime: null,
|
|
|
|
|
updateBy: null,
|
|
updateBy: null,
|
|
|
updateTime: null,
|
|
updateTime: null,
|
|
|
transferTime: null,
|
|
transferTime: null,
|
|
@@ -672,16 +681,6 @@ export default {
|
|
|
};
|
|
};
|
|
|
this.resetForm("form");
|
|
this.resetForm("form");
|
|
|
},
|
|
},
|
|
|
- change(){
|
|
|
|
|
- if(this.createTime!=null){
|
|
|
|
|
- this.queryParams.sTime=this.createTime[0];
|
|
|
|
|
- this.queryParams.eTime=this.createTime[1];
|
|
|
|
|
- }else{
|
|
|
|
|
- this.queryParams.sTime=null;
|
|
|
|
|
- this.queryParams.eTime=null;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- },
|
|
|
|
|
/** 搜索按钮操作 */
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
handleQuery() {
|
|
|
//验证是否选择企业
|
|
//验证是否选择企业
|
|
@@ -720,10 +719,10 @@ export default {
|
|
|
this.queryParams.corpId= this.qwCompanyList[0].dictValue;
|
|
this.queryParams.corpId= this.qwCompanyList[0].dictValue;
|
|
|
this.selectTags=[];
|
|
this.selectTags=[];
|
|
|
this.queryParams.qwUserId = null;
|
|
this.queryParams.qwUserId = null;
|
|
|
- this.createTime=null;
|
|
|
|
|
this.queryParams.sTime=null;
|
|
this.queryParams.sTime=null;
|
|
|
this.queryParams.eTime=null;
|
|
this.queryParams.eTime=null;
|
|
|
this.externalContactList=[];
|
|
this.externalContactList=[];
|
|
|
|
|
+ this.daterange=[];
|
|
|
if(this.qwCompanyList!=null){
|
|
if(this.qwCompanyList!=null){
|
|
|
this.queryParams.companyId=this.qwCompanyList[0].companyId;
|
|
this.queryParams.companyId=this.qwCompanyList[0].companyId;
|
|
|
this.getAllUserlist(this.queryParams.companyId);
|
|
this.getAllUserlist(this.queryParams.companyId);
|