From 7a9dff0999467e3b61a9064b04d7fb230877ea9d Mon Sep 17 00:00:00 2001 From: 22 <22@22.com> Date: Mon, 1 Apr 2024 19:04:01 +0800 Subject: [PATCH] .. --- src/api/merchant.js | 3 + src/views/merchant/application/index.vue | 29 + .../application/merApplicationDetail.vue | 329 +++++++++++ .../merchant/application/merEditForm.vue | 511 ++++++++++++++++++ src/views/merchant/application/merInfo.vue | 429 +++++++++++++++ vue.config.js | 7 + 6 files changed, 1308 insertions(+) create mode 100644 src/views/merchant/application/merApplicationDetail.vue create mode 100644 src/views/merchant/application/merEditForm.vue create mode 100644 src/views/merchant/application/merInfo.vue diff --git a/src/api/merchant.js b/src/api/merchant.js index 5b74093..896e11e 100644 --- a/src/api/merchant.js +++ b/src/api/merchant.js @@ -161,6 +161,9 @@ export function merchantLoginApi(mer_id) { export function intentionLstApi(data) { return request.get('merchant/intention/lst', data) } +export function intentionDetailApi(mer_id) { + return request.get(`merchant/intention/detail/${mer_id}`) +} /** * @description 申请管理 -- 备注 */ diff --git a/src/views/merchant/application/index.vue b/src/views/merchant/application/index.vue index 73e9e2c..c3ced15 100644 --- a/src/views/merchant/application/index.vue +++ b/src/views/merchant/application/index.vue @@ -127,6 +127,7 @@ @click="onEdit(scope.row.mer_intention_id)" >备注 + 详情 + + + + @@ -169,11 +183,13 @@ import { getstoreTypeApi, getMerCateApi } from "@/api/merchant"; +import merDetail from './merApplicationDetail.vue'; import { fromList, statusList } from "@/libs/constants.js"; import { roterPre } from "@/settings"; import timeOptions from '@/utils/timeOptions'; export default { name: "MerchantApplication", + components: { merDetail }, data() { return { props: { @@ -204,6 +220,7 @@ export default { mer_id: this.$route.query.id ? this.$route.query.id : "", autoUpdate: true, timeVal: [], + drawer: false }; }, watch: { @@ -252,6 +269,18 @@ export default { this.$message.error(res.message) }) }, + onDetails(id){ + this.mer_id = id; + this.$refs.merDetail.isEdit = false; + this.$refs.merDetail.getInfo(id); + this.drawer = true; + }, + changeDrawer(v) { + this.drawer = v; + }, + closeDrawer() { + this.drawer = false; + }, // 列表 getList(num) { this.listLoading = true; diff --git a/src/views/merchant/application/merApplicationDetail.vue b/src/views/merchant/application/merApplicationDetail.vue new file mode 100644 index 0000000..6a5b5fe --- /dev/null +++ b/src/views/merchant/application/merApplicationDetail.vue @@ -0,0 +1,329 @@ + + + + + + + + + + {{ merData.mer_name }} + 自营 + {{merData.merchantType.type_name}} + + + {{ merData.mer_address }} + + + + + + + 联系人 + {{merData.name}} + + + 联系电话 + {{ merData.phone }} + + + 状态 + {{ merData.status==1 ? '通过' : '未通过' }} + + + 申请时间 + {{ merData.create_time }} + + + + + + + 添加商户 + + + + + + + + + + + + + + + + + + + diff --git a/src/views/merchant/application/merEditForm.vue b/src/views/merchant/application/merEditForm.vue new file mode 100644 index 0000000..b5df289 --- /dev/null +++ b/src/views/merchant/application/merEditForm.vue @@ -0,0 +1,511 @@ + + + + + + 基础信息 + + + + + + + + + + + + + + + + + + + + + + + + 自营 + 非自营 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 费用信息 + + + + {{merData.is_margin == 0 ? '无' : merData.ot_margin+'元'}} + + + + + {{merData.is_margin == 1 ? '待缴' : merData.is_margin == 0 ? '无' : '已缴' }} + + + + + {{merData.margin}} + + + + + + + % + + (注:此处如未设置手续费,系统会自动读取商户分类下对应手续费;此处已设置,则优先以此处设置为准) + + + + + + 审核信息 + + + + + + + + + + + + + + + + + + + + 其他信息 + + + + + + + + + + + + + 修改 + + + + + + + + + 登录账号 + + + + + + + + + + + + + + + + + + + + + + + + + 财务帐号 + + + + + + + + 当开启自动分账时,每个子商户在微信后台的分账商户号,即特约子商户号 + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/merchant/application/merInfo.vue b/src/views/merchant/application/merInfo.vue new file mode 100644 index 0000000..ed7149d --- /dev/null +++ b/src/views/merchant/application/merInfo.vue @@ -0,0 +1,429 @@ + + + + + + 基础信息 + + + 商户名称: + + {{merData.mer_name}} + + + + 商户分类: + + {{merData.category_name}} + + + + 店铺类型: + {{merData.type_name}} + + + 商户状态: + {{merData.status == 1 ? "开启" : "关闭"}} + + + 更新时间: + {{merData.update_time}} + + + 备注: + {{merData.mark}} + + + + + + + + + 企业名称 + + {{merData.com.name}} + + + + 企业类型 + + {{merData.com.type}} + + + + 客服电话: + + {{ merData.com.service}} + + + + 企业对接人姓名: + + {{ merData.com.contact}} + + + + 企业对接人联系电话: + + {{ merData.com.mobile}} + + + + 企业对接人编号: + + {{ merData.com.number}} + + + + 发起人: + + {{ merData.com.initiator}} + + + + 发起人电话: + + {{ merData.com.inti_mobile}} + + + + 发起人编号: + + {{ merData.com.inti_number}} + + + + 发起人手持介绍信照片: + + + + + + + 是否惠美乡村店铺: + + {{ merData.com.is_huimei? '是': '否'}} + + + + 惠美乡村红头文件: + + + + + + + 是否退伍军人: + + {{ merData.com.is_soldier? '是': '否'}} + + + + 退伍军人证件照: + + + + + + + + + + + 身份证信息 + + + 身份证正面: + + + + + + + 身份证反面: + + + + + + + 身份证上的名字: + {{merData.idcard.name}} + + + 身份证上的号码: + {{merData.idcard.number}} + + + 身份证上的开始时间: + {{merData.idcard.start}} + + + 身份证结束时间: + {{merData.idcard.end}} + + + + + + + 营业执照信息 + + + 营业执照照片: + + + + + + + 营业执照号码: + {{merData.biz.number}} + + + 开始时间: + {{merData.biz.start}} + + + 结束时间: + {{merData.biz.end}} + + + 营业执照地址: + {{merData.biz.address}} + + + 实际经营地址: + {{merData.biz.address_true}} + + + + + + + 银行卡信息 + + + 姓名: + + {{merData.bank.bankCardUserName}} + + + + 银行: + {{merData.bank.bankName}} + + + 卡号: + {{merData.bank.bankCard}} + + + 开户行: + {{merData.bank.bankBranchName}} + + + 营业执照地址: + + + + + + + + + + + + + + + + diff --git a/vue.config.js b/vue.config.js index 6138b33..dd9aec7 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,6 +38,13 @@ module.exports = { errors: true }, before: require('./mock/mock-server.js') + // proxy: { + // '/api': { //接口地址 以 api开头的都走下面的配置 + // target: 'http://192.168.1.224:8324', //代理目标地址为后端服务器地址 + // ws: true, //是否支持 websocket 请求 支持 + // changeOrigin: true, //是否启用跨域 + // } + // } }, configureWebpack: { // provide the app's title in webpack's name field, so that