客户搜索关键词

master
xy 1 year ago
parent 791e5e45d5
commit a55ba0956c

@ -4,7 +4,7 @@ let ROOTPATH = ''; //域名
switch (mode) {
case 'development':
ROOTPATH = "http://sstt.ali251.langye.net"
//ROOTPATH = "https://sstt.115.langye.net"
// ROOTPATH = "https://sstt.115.langye.net"
break;
case 'production':
ROOTPATH = "https://sstt.115.langye.net"

@ -420,7 +420,7 @@ export default {
if (res[1]?.id) {
this.form.admin_sign_image_id = res[1].id
}
this.form.file_ids = this.$refs.uUpload.lists.filter(i => i.progress === 100).map(i => i.response?.id)
this.form.file_ids = this.$refs.uUpload.lists.filter(i => i.progress === 100).map(i => i.response?.id).filter(i => i)
if (this.type === 'add') {
delete this.form.id
} else {
@ -433,6 +433,8 @@ export default {
})
setTimeout(() => {
uni.navigateBack()
this.$u.vuex('vuex_admin_sign_image', '')
this.$u.vuex('vuex_sign_image', '')
},1500)
})
}).catch(err => {

@ -59,7 +59,7 @@
<view>
<u-icon name="eye-off" size="28" color="#1479FF"></u-icon>
</view>
<view class="text">失能登记{{ item.level_type_detail ? item.level_type_detail.value : '' }} {{ item.level_detail ? item.level_detail.value : '' }}</view>
<view class="text">失能等级{{ item.level_type_detail ? item.level_type_detail.value : '' }} {{ item.level_detail ? item.level_detail.value : '' }}</view>
</view>
<view class="contact">
<view>

@ -95,6 +95,17 @@
</view>
</view>
<!-- 备注-->
<view class="remark" v-show="detail.status !== 0">
<view class="title">
备注
</view>
<view class="content">
<u-input v-model="form.remark" type="textarea" border :height="100" auto-height />
</view>
</view>
<!-- 打卡 -->
<view class="clock">
<view class="btn" v-if="detail.status === 1 && detail.logs_count < detail.product.process_total"
@ -140,6 +151,7 @@
<view class="u-order-desc">{{typeFormat(item.type)}}</view>
<view class="u-order-time">{{item.created_at}}</view>
<view class="u-order-address">{{item.address}}</view>
<view class="u-order-remark">{{item.remark ? item.remark : ' '}}</view>
<view v-for="(img,tindex) in item.upload_list" :key='tindex' @click="showimg(img)">
<u-image width="100%" v-if='img.upload' height='400rpx' :src="img.upload.url">
</u-image>
@ -209,6 +221,7 @@
lng: '',
address: '',
type: '',
remark: '',
upload_list: [],
},
skuList: [],
@ -901,6 +914,9 @@
}
}
}
.remark {
@extend .today-nursing;
}
.logs {
@extend .today-nursing;
@ -974,6 +990,10 @@
color: rgb(140, 140, 140);
font-size: 25rpx;
}
.u-order-remark {
color: rgb(60, 60, 60);
font-size: 25rpx;
}
::v-deep .u-checkbox__icon-wrap--disabled--checked text {
color: #1d5cba !important;

@ -4,15 +4,15 @@
<view>
<!-- 搜索 -->
<!-- <view class="search">-->
<!-- <view class="input-content">-->
<!-- <u-input :clearable="false" value="" placeholder="请输入要搜索的内容" height="30" :custom-style="inputStyle"-->
<!-- @input=""></u-input>-->
<!-- </view>-->
<!-- <view class="icon">-->
<!-- <u-icon name="search" size="46" color="#ABAEBE"></u-icon>-->
<!-- </view>-->
<!-- </view>-->
<view class="search">
<view class="input-content">
<u-input :clearable="false" :value="select.keyword" placeholder="请输入要搜索的内容" height="30" :custom-style="inputStyle"
@input="searchInput"></u-input>
</view>
<view class="icon">
<u-icon name="search" size="46" color="#ABAEBE"></u-icon>
</view>
</view>
<view class="customer-list">
<view class="customer-list__item" v-for="(item, index) in customers" :key="item.id">
@ -78,9 +78,19 @@ export default {
fontWeight: "500"
},
customers: [],
select: {
keyword: ''
}
};
},
methods: {
searchInput(e) {
this.select.keyword = e
this.select.page = 1
this.$u.debounce(this.getCustomer, 1000)
},
toAddOrder (item) {
if ((((Number(item.all_worth)) - Number(item.total_worth)) <= 0) && (this.nowOrder(item) && this.nowOrder(item).product && this.nowOrder(item).product.demand === 1)) {
this.isShowModal = true;
@ -95,7 +105,7 @@ export default {
},
async getCustomer () {
const res = await this.$u.api.customerAndOrder()
const res = await this.$u.api.customerAndOrder(this.select)
console.log(res)
this.customers = res
}

@ -1,7 +1,6 @@
<template>
<view class="sign">
<canvas canvas-id="sign-cnv" :style="{ height: cnv.height + 'px', width: cnv.width + 'px' }"></canvas>
<image class="hide-img" ref="resultImg" :src="src" alt="" @load="resultImgLoad"></image>
<view class="sign-bkg">
<view class="sign-bkg__word">
<span></span>
@ -55,13 +54,6 @@ export default {
}
},
methods: {
resultImgLoad (e) {
// this.Img = e.detail;
// let rate = this.Img.width / this.Img.height;
// this.cnv.width = this.Img.height;
// this.cnv.height = this.Img.width ;
// this.rotateImage(this.src, 270)
},
pageBack () {
uni.navigateBack()
},
@ -140,16 +132,9 @@ export default {
</script>
<style scoped lang="scss">
.hide-img {
position: fixed;
width: 200px;
object-fit: contain;
top: 0;
left: 0;
z-index: 999999999;
}
@media screen and (orientation: portrait) {
.sign {
overflow: hidden;
height: 100vh;
width: 100vw;

Loading…
Cancel
Save