@ -1,5 +1,5 @@
<template>
<view class="cs-empty" :style="{ marginTop: marginTop + 'rpx' }">
<view class="cs-empty" :style="{ marginTop: marginTop + 'rpx', height }">
<image
class="empty-image"
src="/static/images/emty.png"
@ -23,6 +23,10 @@ export default {
marginTop: {
type: Number,
default: 0
},
height: {
type: String,
default: '856rpx'
}
@ -35,7 +39,7 @@ export default {
align-items: center;
justify-content: center;
background-color: #fff;
height: 856rpx;
border-radius: 24rpx;
gap: 24rpx;
.empty-image {
@ -2,8 +2,8 @@
module.exports = {
// baseUrl: 'http://188.188.5.188:48080',
// baseUrl: 'https://www.jzce.com',
baseUrl: 'https://yxsthj.cn',
// baseUrl: 'http://188.188.3.232:48080',
// baseUrl: 'https://yxsthj.cn',
baseUrl: 'http://188.188.3.232:48080',
// baseUrl: 'http://localhost:48080',
baseApi: '/admin-api',
// 应用信息
@ -70,7 +70,9 @@
:src="enterprise.files[0].url"
shape="square"
size="64"
v-if="enterprise.files.length > 0"
></u-avatar>
<view v-else style="min-width: 128rpx;height:128rpx; border-radius:8rpx; background-color: #f9f9f9"></view>
<view class="wd-flex wd-flex-col">
<text
class="wd-font-800 wd-text-15"
@ -120,7 +122,7 @@
待审核
</view>
<cs-emty v-if="list.length == 0"></cs-emty>
<cs-emty marginTop="24" v-if="list.length == 0"></cs-emty>
<u-loadmore
:status="load"
marginTop="12"
@ -272,7 +274,7 @@ export default {
this.queryEnterprise()
handleSearch(e) {
if (e.detail && e.detail.length > 1) {
if (e.detail && e.detail.length > 0) {
this.queryParams.pageNo = 1 // 重置页码
this.queryParams.enterprisesName = e.detail // 更新搜索关键字
@ -6,7 +6,7 @@
<van-dropdown-item
:value="queryParams.region"
:options="dropOption.area"
title="按乡镇"
title="按区域"
@change="
v => {
querySelect(v, 'region')
@ -34,6 +34,9 @@
:refresher-triggered="refresherTriggered"
@refresherpulling="refresherpulling"
>
<view class="box row-1">
<view
class="wd-flex"
@ -80,7 +83,12 @@
<view style="color: #4b5675">企业数量</view>
<cs-emty marginTop="0"
v-if="detail.enterpriseCount == 0"
height="288rpx"
></cs-emty>
<qiun-data-charts
v-if="detail.enterpriseCount > 0"
type="ring"
:opts="opts"
:chartData="chartData"
@ -115,7 +115,7 @@ export default {
uni.switchTab({
url: '/pages/owner'
url: '/pages/index'
})
<web-view src="https://yxsthj.cn/chat/313cf9e35628923a"></web-view>
<web-view src="https://mb.yxsthj.cn/chat/313cf9e35628923a"></web-view>
<!-- <web-view src="https://chat.deepseek.com/"></web-view> -->
</template>
@ -499,6 +499,7 @@ export default {
const load = this.$util.loading('上传中...')
if (this.form.id) {
updateEnterprise(data).then(res => {
load.close()
@ -552,6 +553,13 @@ export default {
return false
if (this.form.photo.length == 0) {
uni.showToast({
icon: 'none',
title: '请上传企业照片'
return true
/**