Merge branch 'master' of http://114.55.243.137:6688/dianliang/dl_crm_system
# Conflicts: # dl_vue/src/views/cus/seas/index.vue
This commit is contained in:
commit
9682bfae82
@ -1,10 +1,10 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 若依管理系统
|
||||
VUE_APP_TITLE = 成事达客户管理平台
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
|
||||
# 若依管理系统/开发环境
|
||||
# 成事达客户管理平台/开发环境
|
||||
VUE_APP_BASE_API = 'http://127.0.0.1:8099'
|
||||
|
||||
# 路由懒加载
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE = 通告快接管理后台
|
||||
VUE_APP_TITLE = 成事达客户管理平台
|
||||
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
||||
# 通告快接管理后台/生产环境
|
||||
# 成事达客户管理平台/生产环境
|
||||
VUE_APP_BASE_API = 'https://www.ddtg.site/noticeApi'
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ruoyi",
|
||||
"version": "3.8.9",
|
||||
"description": "通告快接管理后台",
|
||||
"description": "成事达客户管理平台",
|
||||
"author": "若依",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
||||
BIN
dl_vue/public/temp/导入模版.xlsx
Normal file
BIN
dl_vue/public/temp/导入模版.xlsx
Normal file
Binary file not shown.
@ -267,7 +267,7 @@
|
||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||
<div class="el-upload__tip text-center" slot="tip">
|
||||
<span>仅允许导入xls、xlsx格式文件。</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
|
||||
|
||||
@ -240,7 +240,7 @@
|
||||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||
<div class="el-upload__tip text-center" slot="tip">
|
||||
<span>仅允许导入xls、xlsx格式文件。</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;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="app-container home" style="padding-top: 20%">
|
||||
<div> 欢迎进入通告快接管理后台</div>
|
||||
<div> 欢迎进入成事达客户管理平台</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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" />
|
||||
|
||||
@ -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 // 端口
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user