From 28dc34078023fda01762f0489eb976eba60b3f66 Mon Sep 17 00:00:00 2001
From: zzyuan <781948537@qq.com>
Date: Fri, 12 Dec 2025 18:29:40 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/layout/components/Navbar.vue | 2 +-
src/layout/index.vue | 2 +-
src/router/index.js | 2 +-
src/utils/request.js | 2 +-
.../certificateManage/certificateInfo/index.vue | 4 ++--
.../certificateReturnManage/certificateTask/index.vue | 2 +-
src/views/system/user/index.vue | 11 ++++++-----
vue.config.js | 6 +++---
8 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index f691a3d..a38bf2a 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -108,7 +108,7 @@ export default {
type: 'warning'
}).then(() => {
this.$store.dispatch('LogOut').then(() => {
- location.href = '/glweb/';
+ location.href = '/certificateWeb/';
})
}).catch(() => {});
}
diff --git a/src/layout/index.vue b/src/layout/index.vue
index 353ae37..694d32f 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -162,7 +162,7 @@ export default {
},
close() {
this.$store.dispatch('LogOut').then(() => {
- location.href = '/glweb/';
+ location.href = '/certificateWeb/';
})
},
diff --git a/src/router/index.js b/src/router/index.js
index 7333ed9..e5663b3 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -220,6 +220,6 @@ Router.prototype.replace = function push(location) {
export default new Router({
mode: 'hash', // 去掉url中的#
scrollBehavior: () => ({ y: 0 }),
- // base:"/glweb/",
+ // base:"/certificateWeb/",
routes: constantRoutes,
})
diff --git a/src/utils/request.js b/src/utils/request.js
index a14a700..500210d 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -120,7 +120,7 @@ service.interceptors.response.use(res => {
}).then(() => {
isRelogin.show = false
store.dispatch('LogOut').then(() => {
- location.href = '/glweb/'
+ location.href = '/certificateWeb/'
})
}).catch(() => {
isRelogin.show = false
diff --git a/src/views/certificate/certificateManage/certificateInfo/index.vue b/src/views/certificate/certificateManage/certificateInfo/index.vue
index 342885c..8b21e6e 100644
--- a/src/views/certificate/certificateManage/certificateInfo/index.vue
+++ b/src/views/certificate/certificateManage/certificateInfo/index.vue
@@ -217,7 +217,7 @@
-
+
@@ -847,7 +847,7 @@
},
/** 下载模板操作 */
importTemplate() {
- let url = window.location.origin + '/glweb/template/证件信息模板.xlsx';
+ let url = window.location.origin + '/certificateWeb/template/证件信息模板.xlsx';
console.log(url)
downloadFileByUrl(url)
},
diff --git a/src/views/certificate/certificateReturnManage/certificateTask/index.vue b/src/views/certificate/certificateReturnManage/certificateTask/index.vue
index 5f035a9..6a49dde 100644
--- a/src/views/certificate/certificateReturnManage/certificateTask/index.vue
+++ b/src/views/certificate/certificateReturnManage/certificateTask/index.vue
@@ -495,7 +495,7 @@
},
/** 下载模板操作 */
importTemplate() {
- let url = window.location.origin + '/glweb/template/批量新增原料模板.xlsx';
+ let url = window.location.origin + '/certificateWeb/template/批量新增原料模板.xlsx';
console.log(url)
downloadFileByUrl(url)
},
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 8fafff1..7934068 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -269,7 +269,7 @@
>
- 未上传
上传失败
-
+ -->
{{
@@ -562,7 +562,7 @@
v-for="item in postOptions"
:key="item.postId"
:label="item.postName"
- :value="item.postId"
+ :value="item.postId+''"
:disabled="item.status == 1"
>
@@ -628,7 +628,7 @@
-
+
@@ -1212,6 +1212,7 @@ export default {
this.postOptions = response.posts
this.roleOptions = response.roles
this.$set(this.form, 'postIds', response.postIds)
+ // this.$set(this.form, 'postId', response.data.postId)
this.$set(this.form, 'roleIds', response.roleIds)
// console.log(store.getters.face)
if(response.data.photoUrl&&response.data.photoUrl!=''){
diff --git a/vue.config.js b/vue.config.js
index 6343c6d..6dfb11d 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -18,7 +18,7 @@ module.exports = {
// 部署生产环境和开发环境下的URL。
// 默认情况下,Vue CLI 会假设你的应用是被部署在一个域名的根路径上
// 例如 https://www.bonus.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.bonus.vip/admin/,则设置 baseUrl 为 /admin/。
- publicPath: process.env.NODE_ENV === 'production' ? '/glweb/' : '/',
+ publicPath: process.env.NODE_ENV === 'production' ? '/certificateWeb/' : '/',
// 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist)
outputDir: 'dist',
// 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下)
@@ -39,8 +39,8 @@ module.exports = {
// target: `http://127.0.0.1:48380`,//测试
// target: `http://192.168.2.108:48380`,//测试
// target: `http://192.168.137.1:48380`,//测试
- target: `http://192.168.1.120:48380`,//测试
- // target: `http://192.168.0.176:48380`,//
+ // target: `http://192.168.1.120:48380`,//测试
+ target: `http://192.168.0.14:48380`,//
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '',