This commit is contained in:
weipengfei 2024-05-09 13:50:23 +08:00
parent affc4b8c09
commit 5158894cff
4 changed files with 36 additions and 10 deletions

View File

@ -1,4 +1,4 @@
NODE_ENV = 'production' NODE_ENV = 'production'
# Base API # Base API
# VITE_APP_BASE_URL='http://192.168.1.22:8596' # VITE_APP_BASE_URL='http://192.168.1.22:8596'
VITE_APP_BASE_URL='https://ceshi-erp.lihaink.cn' VITE_APP_BASE_URL='https://erp.lihaink.cn'

View File

@ -27,8 +27,8 @@
<el-form-item label="用户电话" prop="mobile"> <el-form-item label="用户电话" prop="mobile">
<el-input v-model="formData.mobile" clearable placeholder="请输入用户电话" :readonly="false"/> <el-input v-model="formData.mobile" clearable placeholder="请输入用户电话" :readonly="false"/>
</el-form-item> </el-form-item>
<el-form-item label="用户性别: [1=男, 2=女]" prop="sex"> <el-form-item label="用户性别" prop="sex">
<el-radio-group v-model="formData.sex" placeholder="请选择用户性别: [1=男, 2=女]" :disabled="false"> <el-radio-group v-model="formData.sex" placeholder="请选择用户性别" :disabled="false">
<el-radio <el-radio
v-for="(item, index) in dictData.sex_type" v-for="(item, index) in dictData.sex_type"
:key="index" :key="index"
@ -38,8 +38,8 @@
</el-radio> </el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item label="是否禁用: [0=否, 1=是]" prop="is_disable"> <el-form-item label="是否禁用" prop="is_disable">
<el-radio-group v-model="formData.is_disable" placeholder="请选择是否禁用: [0=否, 1=是]" :disabled="false"> <el-radio-group v-model="formData.is_disable" placeholder="请选择是否禁用" :disabled="false">
<el-radio <el-radio
v-for="(item, index) in dictData.system_disable" v-for="(item, index) in dictData.system_disable"
:key="index" :key="index"

View File

@ -15,9 +15,9 @@
<el-form-item label="用户电话" prop="mobile"> <el-form-item label="用户电话" prop="mobile">
<el-input class="w-[280px]" v-model="queryParams.mobile" clearable placeholder="请输入用户电话" /> <el-input class="w-[280px]" v-model="queryParams.mobile" clearable placeholder="请输入用户电话" />
</el-form-item> </el-form-item>
<el-form-item label="是否禁用: [0=否, 1=是]" prop="is_disable"> <el-form-item label="是否禁用" prop="is_disable">
<el-select class="w-[280px]" <el-select class="w-[280px]"
v-model="queryParams.is_disable" clearable placeholder="请选择是否禁用: [0=否, 1=是]"> v-model="queryParams.is_disable" clearable placeholder="请选择是否禁用">
<el-option label="全部" value=""></el-option> <el-option label="全部" value=""></el-option>
<el-option <el-option
v-for="(item, index) in dictData.system_disable" v-for="(item, index) in dictData.system_disable"
@ -51,14 +51,18 @@
<el-table :data="pager.lists" @selection-change="handleSelectionChange"> <el-table :data="pager.lists" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" /> <el-table-column type="selection" width="55" />
<el-table-column label="主键" prop="id" show-overflow-tooltip /> <el-table-column label="主键" prop="id" show-overflow-tooltip />
<el-table-column label="头像" prop="avatar" show-overflow-tooltip /> <el-table-column label="头像" prop="avatar" show-overflow-tooltip >
<template #default="{ row }">
<el-image :src="row.avatar" style="width: 50px;height: 50px"/>
</template>
</el-table-column>
<el-table-column label="真实姓名" prop="real_name" show-overflow-tooltip /> <el-table-column label="真实姓名" prop="real_name" show-overflow-tooltip />
<el-table-column label="用户昵称" prop="nickname" show-overflow-tooltip /> <el-table-column label="用户昵称" prop="nickname" show-overflow-tooltip />
<el-table-column label="用户账号" prop="account" show-overflow-tooltip /> <el-table-column label="用户账号" prop="account" show-overflow-tooltip />
<el-table-column label="用户电话" prop="mobile" show-overflow-tooltip /> <el-table-column label="用户电话" prop="mobile" show-overflow-tooltip />
<el-table-column label="用户性别: [1=男, 2=女]" prop="sex"> <el-table-column label="用户性别" prop="sex">
<template #default="{ row }"> <template #default="{ row }">
<dict-value :options="dictData.sex_type" :value="row.sex" /> <span>{{ row.sex==1?'男':'女' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="120" fixed="right"> <el-table-column label="操作" width="120" fixed="right">

22
test.html Normal file
View File

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>公众号授权</title>
<script src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
</head>
<body>
<div style="text-align: center; font-size: 16px; padding-top: 120px">
绑定成功!
</div>
<script>
function back() {
wx.miniProgram.redirectTo({
url: "/pageQuota/quotation/detail",
});
}
back();
</script>
</body>
</html>