去除打印控制台无效代码

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({})
watch(searchContent,(newValue,oldValue)=>{
console.log("输入内容:",searchContent.value)
queryCusForm.cusName = searchContent.value
getYsCustomerList(queryCusForm).then(res=>{
dataList.value = res.rows

View File

@@ -213,7 +213,6 @@ onUnload(() => {
//选择客户人员
function chooseClientUser() {
console.log('点击了输入框', props.cusName);
uni.navigateTo({
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') != []) {
myUserList.value = cache.get('checkedLYMyUserList')
}
console.log(props.status, '获取的状态')
if (props.status == '完成') {
isDisabled.value = true

View File

@@ -60,7 +60,6 @@ const dataList = ref([])
function getClientUserName() {
crmCustomerUser(queryParams.value).then(res => {
console.log(res, '相应测试')
dataList.value = res.rows
})
}

View File

@@ -135,7 +135,6 @@ function refuse() {
//点击通过
function adopt(item) {
console.log(item.visistId,4123123)
uni.showModal({
title: '提交',
content: '是否要通过本报告?',

View File

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

View File

@@ -112,7 +112,6 @@ onLoad((options) => {
onShow(()=>{
getUserLike(visistId.value).then(res=>{
zanFlag.value = res.rows[0]?.status==1?true:false
console.log(zanFlag.value,'点赞响应数据内容')
if(zanFlag.value==false){
iconType.value = 'hand-up'
}else{

View File

@@ -130,14 +130,11 @@ const upCallback = async (mescroll) => {
} else {
list.value.push(...res.rows);
}
console.log(res,'长度测试')
mescroll.endBySize(res.rows.length, res.total);
}, 500);
} catch (error) {
mescroll.endErr();
}
console.log('长度测试111')
}
const upOption = ref({

View File

@@ -116,7 +116,6 @@ const formData = ref({
// 我方人员
let chooseMyLeaderList = reactive([0]);
const changeValue2 = (item, value) => {
console.log("我方领导", item, value);
chooseMyLeaderList = item;
formData.value.leader = chooseMyLeaderList
};
@@ -132,7 +131,6 @@ let saveVisistReportForm = reactive({});
const submitForm = async () => {
try {
// 验证表单
console.log(formRef.value, '表单验证数据')
await formRef.value.validate();
// 验证通过后的操作
uni.showToast({
@@ -207,7 +205,6 @@ onUnmounted(() => {
const handleCustomerSelected = (data) => {
formData.value.cusName = data.cusName
formData.value.cusId = data.cusId
console.log("收到客户数据的值:", customerUser)
}
//查询签到记录

View File

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

View File

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

View File

@@ -63,7 +63,6 @@ selectGuestList();
// 选择客户列表
let bindPickerChange = (e)=>{
console.log('picker发送选择改变携带值为', e.detail.value)
guestIndex.value = e.detail.value
}
@@ -83,12 +82,11 @@ const rules = {
{ required: true, errorMessage: '我方领导不能为空' }
]
}
};
// 修改日期
let changeDate = (e)=>{
console.log('changeDate:', e);
};
// 保存走访报告
@@ -147,4 +145,4 @@ const submitForm = async () => {
padding-left:20rpx;
color:#919191;
}
</style>
</style>

View File

@@ -88,7 +88,6 @@ let handleExpand = () => {
// 客户人员
let monIndex1= reactive([0]);
const changeValue1 = (item, value) => {
console.log("客户人员", item, value);
monIndex1 = value;
};
const guestList1 = [
@@ -102,7 +101,6 @@ const guestList1 = [
// 我方人员
let monIndex2= reactive([0]);
const changeValue2 = (item, value) => {
console.log("我方人员", item, value);
monIndex2 = value;
};
const guestList2 = [
@@ -116,7 +114,6 @@ const guestList2 = [
// 活动内容
let monIndex3= reactive([0]);
const changeValue3 = (item, value) => {
console.log("活动内容", item, value);
monIndex2 = value;
};
const guestList3 = [
@@ -212,4 +209,4 @@ const submitForm = async () => {
margin-bottom:22px !important;
}
</style>
</style>

View File

@@ -43,12 +43,10 @@ import customHeader from '@/components/customHeader.vue'
let checkFlag = ref(false);
// 签到
let handleCheckIn = () => {
console.log("签到")
checkFlag.value = true;
}
// 打卡
let handleClockIn = () => {
console.log("打卡")
checkFlag.value = true;
}
// 取消
@@ -74,8 +72,8 @@ let handleSubmit = () => {
/* #ifndef APP-PLUS */
height: calc(100vh - 98px);
/* #endif */
}
.btn-image {
@@ -182,4 +180,4 @@ let handleSubmit = () => {
color: #fff;
/* padding: 0rpx 60rpx; */
}
</style>
</style>

View File

@@ -32,7 +32,7 @@
<view class="flex">
{{workList[workIndex]}}
<uni-icons type="down" size="20" color="#A0A0A0"></uni-icons>
</view>
</view>
</picker>
</view>
</uni-forms-item>
@@ -40,12 +40,12 @@
<uni-easyinput type="textarea" autoHeight v-model="formData.content" placeholder="请输入" class="form-texarea" />
</uni-forms-item>
</uni-forms>
</view>
</view>
</view>
</view>
</template>
@@ -79,7 +79,6 @@ const rules = {
// 选择工作类型
const changeValue = (e) => {
console.log("工作类型", e.detail.value);
workIndex = e.detail.value;
formData.value.workType = workList[workIndex]
};
@@ -139,4 +138,4 @@ const submitForm = async () => {
margin-bottom:22px !important;
}
</style>
</style>