去除打印控制台无效代码
This commit is contained in:
@@ -68,7 +68,6 @@ function iconClick() {
|
|||||||
//监视查询的内容的变化
|
//监视查询的内容的变化
|
||||||
let queryCusForm = reactive({})
|
let queryCusForm = reactive({})
|
||||||
watch(searchContent,(newValue,oldValue)=>{
|
watch(searchContent,(newValue,oldValue)=>{
|
||||||
console.log("输入内容:",searchContent.value)
|
|
||||||
queryCusForm.cusName = searchContent.value
|
queryCusForm.cusName = searchContent.value
|
||||||
getYsCustomerList(queryCusForm).then(res=>{
|
getYsCustomerList(queryCusForm).then(res=>{
|
||||||
dataList.value = res.rows
|
dataList.value = res.rows
|
||||||
|
|||||||
@@ -213,7 +213,6 @@ onUnload(() => {
|
|||||||
|
|
||||||
//选择客户人员
|
//选择客户人员
|
||||||
function chooseClientUser() {
|
function chooseClientUser() {
|
||||||
console.log('点击了输入框', props.cusName);
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/business/CRM/marketActivity/customerUserList?cusName=' + props.cusName + '&chooseType=日常走访'
|
url: '/pages/business/CRM/marketActivity/customerUserList?cusName=' + props.cusName + '&chooseType=日常走访'
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -169,7 +169,6 @@ onShow(() => {
|
|||||||
if (cache.get('checkedLYMyUserList') != null && cache.get('checkedLYMyUserList') != []) {
|
if (cache.get('checkedLYMyUserList') != null && cache.get('checkedLYMyUserList') != []) {
|
||||||
myUserList.value = cache.get('checkedLYMyUserList')
|
myUserList.value = cache.get('checkedLYMyUserList')
|
||||||
}
|
}
|
||||||
console.log(props.status, '获取的状态')
|
|
||||||
|
|
||||||
if (props.status == '完成') {
|
if (props.status == '完成') {
|
||||||
isDisabled.value = true
|
isDisabled.value = true
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ const dataList = ref([])
|
|||||||
|
|
||||||
function getClientUserName() {
|
function getClientUserName() {
|
||||||
crmCustomerUser(queryParams.value).then(res => {
|
crmCustomerUser(queryParams.value).then(res => {
|
||||||
console.log(res, '相应测试')
|
|
||||||
dataList.value = res.rows
|
dataList.value = res.rows
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -135,7 +135,6 @@ function refuse() {
|
|||||||
|
|
||||||
//点击通过
|
//点击通过
|
||||||
function adopt(item) {
|
function adopt(item) {
|
||||||
console.log(item.visistId,4123123)
|
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
title: '提交',
|
title: '提交',
|
||||||
content: '是否要通过本报告?',
|
content: '是否要通过本报告?',
|
||||||
|
|||||||
@@ -129,7 +129,6 @@ let handleSearch = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
console.log(searchValue.value)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 新增
|
// 新增
|
||||||
|
|||||||
@@ -112,7 +112,6 @@ onLoad((options) => {
|
|||||||
onShow(()=>{
|
onShow(()=>{
|
||||||
getUserLike(visistId.value).then(res=>{
|
getUserLike(visistId.value).then(res=>{
|
||||||
zanFlag.value = res.rows[0]?.status==1?true:false
|
zanFlag.value = res.rows[0]?.status==1?true:false
|
||||||
console.log(zanFlag.value,'点赞响应数据内容')
|
|
||||||
if(zanFlag.value==false){
|
if(zanFlag.value==false){
|
||||||
iconType.value = 'hand-up'
|
iconType.value = 'hand-up'
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
@@ -130,14 +130,11 @@ const upCallback = async (mescroll) => {
|
|||||||
} else {
|
} else {
|
||||||
list.value.push(...res.rows);
|
list.value.push(...res.rows);
|
||||||
}
|
}
|
||||||
console.log(res,'长度测试')
|
|
||||||
mescroll.endBySize(res.rows.length, res.total);
|
mescroll.endBySize(res.rows.length, res.total);
|
||||||
}, 500);
|
}, 500);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
mescroll.endErr();
|
mescroll.endErr();
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('长度测试111')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const upOption = ref({
|
const upOption = ref({
|
||||||
|
|||||||
@@ -116,7 +116,6 @@ const formData = ref({
|
|||||||
// 我方人员
|
// 我方人员
|
||||||
let chooseMyLeaderList = reactive([0]);
|
let chooseMyLeaderList = reactive([0]);
|
||||||
const changeValue2 = (item, value) => {
|
const changeValue2 = (item, value) => {
|
||||||
console.log("我方领导", item, value);
|
|
||||||
chooseMyLeaderList = item;
|
chooseMyLeaderList = item;
|
||||||
formData.value.leader = chooseMyLeaderList
|
formData.value.leader = chooseMyLeaderList
|
||||||
};
|
};
|
||||||
@@ -132,7 +131,6 @@ let saveVisistReportForm = reactive({});
|
|||||||
const submitForm = async () => {
|
const submitForm = async () => {
|
||||||
try {
|
try {
|
||||||
// 验证表单
|
// 验证表单
|
||||||
console.log(formRef.value, '表单验证数据')
|
|
||||||
await formRef.value.validate();
|
await formRef.value.validate();
|
||||||
// 验证通过后的操作
|
// 验证通过后的操作
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@@ -207,7 +205,6 @@ onUnmounted(() => {
|
|||||||
const handleCustomerSelected = (data) => {
|
const handleCustomerSelected = (data) => {
|
||||||
formData.value.cusName = data.cusName
|
formData.value.cusName = data.cusName
|
||||||
formData.value.cusId = data.cusId
|
formData.value.cusId = data.cusId
|
||||||
console.log("收到客户数据的值:", customerUser)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//查询签到记录
|
//查询签到记录
|
||||||
|
|||||||
@@ -81,7 +81,6 @@ let bindPickerChange = (e)=>{
|
|||||||
let searchValue = ref(null)
|
let searchValue = ref(null)
|
||||||
// 查询搜索跳转
|
// 查询搜索跳转
|
||||||
let handleSearch = () => {
|
let handleSearch = () => {
|
||||||
console.log(searchValue.value)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const tableData = [
|
const tableData = [
|
||||||
|
|||||||
@@ -75,7 +75,6 @@ onMounted(() => {
|
|||||||
let searchValue = ref(null)
|
let searchValue = ref(null)
|
||||||
// 查询搜索跳转
|
// 查询搜索跳转
|
||||||
let handleSearch = () => {
|
let handleSearch = () => {
|
||||||
console.log(searchValue.value)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 新增
|
// 新增
|
||||||
|
|||||||
@@ -63,7 +63,6 @@ selectGuestList();
|
|||||||
|
|
||||||
// 选择客户列表
|
// 选择客户列表
|
||||||
let bindPickerChange = (e)=>{
|
let bindPickerChange = (e)=>{
|
||||||
console.log('picker发送选择改变,携带值为', e.detail.value)
|
|
||||||
guestIndex.value = e.detail.value
|
guestIndex.value = e.detail.value
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -88,7 +87,6 @@ const rules = {
|
|||||||
|
|
||||||
// 修改日期
|
// 修改日期
|
||||||
let changeDate = (e)=>{
|
let changeDate = (e)=>{
|
||||||
console.log('changeDate:', e);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// 保存走访报告
|
// 保存走访报告
|
||||||
|
|||||||
@@ -88,7 +88,6 @@ let handleExpand = () => {
|
|||||||
// 客户人员
|
// 客户人员
|
||||||
let monIndex1= reactive([0]);
|
let monIndex1= reactive([0]);
|
||||||
const changeValue1 = (item, value) => {
|
const changeValue1 = (item, value) => {
|
||||||
console.log("客户人员", item, value);
|
|
||||||
monIndex1 = value;
|
monIndex1 = value;
|
||||||
};
|
};
|
||||||
const guestList1 = [
|
const guestList1 = [
|
||||||
@@ -102,7 +101,6 @@ const guestList1 = [
|
|||||||
// 我方人员
|
// 我方人员
|
||||||
let monIndex2= reactive([0]);
|
let monIndex2= reactive([0]);
|
||||||
const changeValue2 = (item, value) => {
|
const changeValue2 = (item, value) => {
|
||||||
console.log("我方人员", item, value);
|
|
||||||
monIndex2 = value;
|
monIndex2 = value;
|
||||||
};
|
};
|
||||||
const guestList2 = [
|
const guestList2 = [
|
||||||
@@ -116,7 +114,6 @@ const guestList2 = [
|
|||||||
// 活动内容
|
// 活动内容
|
||||||
let monIndex3= reactive([0]);
|
let monIndex3= reactive([0]);
|
||||||
const changeValue3 = (item, value) => {
|
const changeValue3 = (item, value) => {
|
||||||
console.log("活动内容", item, value);
|
|
||||||
monIndex2 = value;
|
monIndex2 = value;
|
||||||
};
|
};
|
||||||
const guestList3 = [
|
const guestList3 = [
|
||||||
|
|||||||
@@ -43,12 +43,10 @@ import customHeader from '@/components/customHeader.vue'
|
|||||||
let checkFlag = ref(false);
|
let checkFlag = ref(false);
|
||||||
// 签到
|
// 签到
|
||||||
let handleCheckIn = () => {
|
let handleCheckIn = () => {
|
||||||
console.log("签到")
|
|
||||||
checkFlag.value = true;
|
checkFlag.value = true;
|
||||||
}
|
}
|
||||||
// 打卡
|
// 打卡
|
||||||
let handleClockIn = () => {
|
let handleClockIn = () => {
|
||||||
console.log("打卡")
|
|
||||||
checkFlag.value = true;
|
checkFlag.value = true;
|
||||||
}
|
}
|
||||||
// 取消
|
// 取消
|
||||||
|
|||||||
@@ -79,7 +79,6 @@ const rules = {
|
|||||||
|
|
||||||
// 选择工作类型
|
// 选择工作类型
|
||||||
const changeValue = (e) => {
|
const changeValue = (e) => {
|
||||||
console.log("工作类型", e.detail.value);
|
|
||||||
workIndex = e.detail.value;
|
workIndex = e.detail.value;
|
||||||
formData.value.workType = workList[workIndex]
|
formData.value.workType = workList[workIndex]
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user