# Conflicts:
#	dl_vue/src/views/cus/seas/index.vue
This commit is contained in:
Vinjor 2025-11-25 11:36:59 +08:00
commit 9682bfae82
11 changed files with 44 additions and 13 deletions

View File

@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 若依管理系统
VUE_APP_TITLE = 成事达客户管理平台
# 开发环境配置
ENV = 'development'
# 若依管理系统/开发环境
# 成事达客户管理平台/开发环境
VUE_APP_BASE_API = 'http://127.0.0.1:8099'
# 路由懒加载

View File

@ -1,8 +1,8 @@
# 页面标题
VUE_APP_TITLE = 通告快接管理后
VUE_APP_TITLE = 成事达客户管理平
# 生产环境配置
ENV = 'production'
# 通告快接管理后台/生产环境
# 成事达客户管理平台/生产环境
VUE_APP_BASE_API = 'https://www.ddtg.site/noticeApi'

View File

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 若依管理系统
VUE_APP_TITLE = 成事达客户管理平台
BABEL_ENV = production
@ -8,5 +8,5 @@ NODE_ENV = production
# 测试环境配置
ENV = 'staging'
# 若依管理系统/测试环境
# 成事达客户管理平台/测试环境
VUE_APP_BASE_API = '/stage-api'

View File

@ -1,7 +1,7 @@
{
"name": "ruoyi",
"version": "3.8.9",
"description": "通告快接管理后台",
"description": "成事达客户管理平台",
"author": "若依",
"license": "MIT",
"scripts": {

Binary file not shown.

View File

@ -267,7 +267,7 @@
<div class="el-upload__text">将文件拖到此处<em>点击上传</em></div>
<div class="el-upload__tip text-center" slot="tip">
<span>仅允许导入xlsxlsx格式文件</span>
<el-link type="primary" :underline="false" style="font-size: 12px; vertical-align: baseline">下载模板</el-link>
<el-link type="primary" :underline="false" style="font-size: 12px; vertical-align: baseline" @click="downloadTemplate">下载模板</el-link>
</div>
</el-upload>
<div slot="footer" class="dialog-footer">
@ -355,6 +355,21 @@ export default {
this.getList()
},
methods: {
/**
* 下载导入模板
*/
downloadTemplate() {
// public : public/files/.xlsx
const link = document.createElement('a');
link.href = '/temp/导入模版.xlsx'; // public/files
link.download = '客户导入模板.xlsx';
link.style.display = 'none';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
},
//
handleFileUploadProgress(event, file, fileList) {
this.upload.isUploading = true

View File

@ -240,7 +240,7 @@
<div class="el-upload__text">将文件拖到此处<em>点击上传</em></div>
<div class="el-upload__tip text-center" slot="tip">
<span>仅允许导入xlsxlsx格式文件</span>
<el-link type="primary" :underline="false" style="font-size: 12px; vertical-align: baseline">下载模板</el-link>
<el-link type="primary" :underline="false" style="font-size: 12px; vertical-align: baseline" @click="downloadTemplate">下载模板</el-link>
</div>
</el-upload>
<div slot="footer" class="dialog-footer">
@ -327,6 +327,22 @@ export default {
handleCodeClick(row) {
this.$router.push({ path: '/cus/viewForm', query: { id: row.id } })
},
/**
* 下载导入模板
*/
downloadTemplate() {
// public : public/files/.xlsx
const link = document.createElement('a');
link.href = '/temp/导入模版.xlsx'; // public/files
link.download = '客户导入模板.xlsx';
link.style.display = 'none';
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
},
/** 查询公海客户信息列表 */
getList() {
this.loading = true;

View File

@ -1,6 +1,6 @@
<template>
<div class="app-container home" style="padding-top: 20%">
<div> 欢迎进入通告快接管理后</div>
<div> 欢迎进入成事达客户管理平</div>
</div>
</template>

View File

@ -6,7 +6,7 @@
</div>
<div class="right-box">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">通告快接管理后</h3>
<h3 class="title">成事达客户管理平</h3>
<el-form-item prop="username">
<el-input
v-model="loginForm.username"

View File

@ -1,7 +1,7 @@
<template>
<div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">通告快接管理后</h3>
<h3 class="title">成事达客户管理平</h3>
<el-form-item prop="username">
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

View File

@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '通告快接管理后台' // 网页标题
const name = process.env.VUE_APP_TITLE || '成事达客户管理平台' // 网页标题
const port = process.env.port || process.env.npm_config_port || 80 // 端口