diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index dcc6788..74d19f1 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -23,13 +23,13 @@ - + diff --git a/src/views/segchk/segchk_keyword_lable/index.vue b/src/views/segchk/segchk_keyword_lable/index.vue index 4ec2485..9b06318 100644 --- a/src/views/segchk/segchk_keyword_lable/index.vue +++ b/src/views/segchk/segchk_keyword_lable/index.vue @@ -238,6 +238,7 @@ export default { segchk_providerList: [], lableStatus: [], baseUrl: '', + keyword: 'keyword', // baseUrl: process.env.VUE_APP_BASE_API, // 表单参数 form: {}, diff --git a/src/views/segchk/segchk_lable_mgt/index.vue b/src/views/segchk/segchk_lable_mgt/index.vue index a519e08..363915c 100644 --- a/src/views/segchk/segchk_lable_mgt/index.vue +++ b/src/views/segchk/segchk_lable_mgt/index.vue @@ -223,7 +223,7 @@ - + - + + @@ -305,6 +308,7 @@ export default { data() { return { baseUrl: '', + lableurl: 'card_lable', // baseUrl: process.env.VUE_APP_BASE_API, // 遮罩层 loading: true, @@ -397,6 +401,13 @@ export default { }, computed:{ + getLableUrl() { + return function (fromLableId) { + let uploadurl = (fromLableId === 0 ? 'card_lable' : (fromLableId === 1 ? 'keyword' : (fromLableId === 2 ? 'preference' : 'card_lable'))) + this.lableurl = uploadurl + return uploadurl + } + }, lableSort(row) { // console.log("lableSort --- " + row.providerId) if(row.providerId == null){ diff --git a/vue.config.js b/vue.config.js index 7949d5c..d07bdd8 100644 --- a/vue.config.js +++ b/vue.config.js @@ -18,7 +18,7 @@ module.exports = { // 例如 https://www.ruoyi.vip/。如果应用被部署在一个子路径上,你就需要用这个选项指定这个子路径。例如,如果你的应用被部署在 https://www.ruoyi.vip/admin/,则设置 baseUrl 为 /admin/。 publicPath: process.env.NODE_ENV === "production" ? "/" : "/", // 在npm run build 或 yarn build 时 ,生成文件的目录名称(要和baseUrl的生产环境路径一致)(默认dist) - outputDir: 'dist', + outputDir: 'segchk_vue', // 用于放置生成的静态资源 (js、css、img、fonts) 的;(项目打包之后,静态资源会放在这个文件夹下) assetsDir: 'static', // 是否开启eslint保存检测,有效值:ture | false | 'error'