去除打印控制台无效代码

This commit is contained in:
wangyang
2025-08-18 15:28:41 +08:00
parent 0e2de9d6de
commit 46f12f9be4
15 changed files with 18 additions and 41 deletions

View File

@@ -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

View File

@@ -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=日常走访'
}) })

View File

@@ -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

View File

@@ -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
}) })
} }

View File

@@ -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: '是否要通过本报告?',

View File

@@ -129,7 +129,6 @@ let handleSearch = () => {
} }
}) })
console.log(searchValue.value)
} }
// 新增 // 新增

View File

@@ -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{

View File

@@ -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({

View File

@@ -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)
} }
//查询签到记录 //查询签到记录

View File

@@ -28,7 +28,7 @@
</picker> </picker>
<button type="default" @click="handleSearch" size="mini" class="btn-search">查询</button> <button type="default" @click="handleSearch" size="mini" class="btn-search">查询</button>
</view> </view>
<!-- 回款信息查询 --> <!-- 回款信息查询 -->
<view class="white-bg"> <view class="white-bg">
<view class="table-title">回款信息查询</view> <view class="table-title">回款信息查询</view>
@@ -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 = [
@@ -93,7 +92,7 @@ const tableData = [
{ name: '张志钢',guestName:'其他',tragetReturnMoney:558703.02,returnMoney:558703.02,completRate:'100%'}, { name: '张志钢',guestName:'其他',tragetReturnMoney:558703.02,returnMoney:558703.02,completRate:'100%'},
{ name: '张志钢',guestName:'武汉航空仪表有限责任公司',tragetReturnMoney:'9807328.00',returnMoney:8692300.93,completRate:'88.6%'}, { name: '张志钢',guestName:'武汉航空仪表有限责任公司',tragetReturnMoney:'9807328.00',returnMoney:8692300.93,completRate:'88.6%'},
{ name: '张志钢',guestName:'武汉永力科技股份有限公司',tragetReturnMoney:539087.21,returnMoney:539087.21,completRate:'100%'}, { name: '张志钢',guestName:'武汉永力科技股份有限公司',tragetReturnMoney:539087.21,returnMoney:539087.21,completRate:'100%'},
] ]
</script> </script>
@@ -166,4 +165,4 @@ const tableData = [
border-bottom:2px solid #E7E7E7; border-bottom:2px solid #E7E7E7;
padding-bottom:20rpx; padding-bottom:20rpx;
} }
</style> </style>

View File

@@ -23,7 +23,7 @@
/> />
<button type="default" @click="handleSearch" size="mini" class="btn-search">查询</button> <button type="default" @click="handleSearch" size="mini" class="btn-search">查询</button>
</view> </view>
<!-- 分页部分 --> <!-- 分页部分 -->
<mescroll-uni ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback" <mescroll-uni ref="mescrollRef" @init="mescrollInit" @down="downCallback" @up="upCallback"
:up="upOption" :down="downOption" :fixed="false" textColor="#ffffff" bgColor="#ffffff" :up="upOption" :down="downOption" :fixed="false" textColor="#ffffff" bgColor="#ffffff"
@@ -75,7 +75,6 @@ onMounted(() => {
let searchValue = ref(null) let searchValue = ref(null)
// 查询搜索跳转 // 查询搜索跳转
let handleSearch = () => { let handleSearch = () => {
console.log(searchValue.value)
} }
// 新增 // 新增
@@ -148,7 +147,7 @@ const getGetYsVisistList = (pageIndex, pageSize) => {
pageIndex, pageIndex,
pageSize pageSize
} }
let res = await getYsVisistList(param); let res = await getYsVisistList(param);
resolve({ resolve({
list: res.list, list: res.list,
@@ -160,7 +159,7 @@ const getGetYsVisistList = (pageIndex, pageSize) => {
// 跳转到详情 // 跳转到详情
let handleDetail=(item)=>{ let handleDetail=(item)=>{
uni.navigateTo({ uni.navigateTo({
url: "/pages/business/CRM/visitorReportDetail?id="+item.id url: "/pages/business/CRM/visitorReportDetail?id="+item.id
}) })
} }
@@ -195,7 +194,7 @@ let handleDetail=(item)=>{
} }
.search .custom-search{ .search .custom-search{
width:80%; width:80%;
} }
.search .custom-search.uni-searchbar{ .search .custom-search.uni-searchbar{
padding-right:0 !important; padding-right:0 !important;
@@ -213,4 +212,4 @@ let handleDetail=(item)=>{
padding-bottom:10rpx; padding-bottom:10rpx;
} }
</style> </style>

View File

@@ -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
} }
@@ -83,12 +82,11 @@ const rules = {
{ required: true, errorMessage: '我方领导不能为空' } { required: true, errorMessage: '我方领导不能为空' }
] ]
} }
}; };
// 修改日期 // 修改日期
let changeDate = (e)=>{ let changeDate = (e)=>{
console.log('changeDate:', e);
}; };
// 保存走访报告 // 保存走访报告
@@ -147,4 +145,4 @@ const submitForm = async () => {
padding-left:20rpx; padding-left:20rpx;
color:#919191; color:#919191;
} }
</style> </style>

View File

@@ -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 = [
@@ -212,4 +209,4 @@ const submitForm = async () => {
margin-bottom:22px !important; margin-bottom:22px !important;
} }
</style> </style>

View File

@@ -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;
} }
// 取消 // 取消
@@ -74,8 +72,8 @@ let handleSubmit = () => {
/* #ifndef APP-PLUS */ /* #ifndef APP-PLUS */
height: calc(100vh - 98px); height: calc(100vh - 98px);
/* #endif */ /* #endif */
} }
.btn-image { .btn-image {
@@ -182,4 +180,4 @@ let handleSubmit = () => {
color: #fff; color: #fff;
/* padding: 0rpx 60rpx; */ /* padding: 0rpx 60rpx; */
} }
</style> </style>

View File

@@ -32,7 +32,7 @@
<view class="flex"> <view class="flex">
{{workList[workIndex]}} {{workList[workIndex]}}
<uni-icons type="down" size="20" color="#A0A0A0"></uni-icons> <uni-icons type="down" size="20" color="#A0A0A0"></uni-icons>
</view> </view>
</picker> </picker>
</view> </view>
</uni-forms-item> </uni-forms-item>
@@ -40,12 +40,12 @@
<uni-easyinput type="textarea" autoHeight v-model="formData.content" placeholder="请输入" class="form-texarea" /> <uni-easyinput type="textarea" autoHeight v-model="formData.content" placeholder="请输入" class="form-texarea" />
</uni-forms-item> </uni-forms-item>
</uni-forms> </uni-forms>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</template> </template>
@@ -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]
}; };
@@ -139,4 +138,4 @@ const submitForm = async () => {
margin-bottom:22px !important; margin-bottom:22px !important;
} }
</style> </style>