Commit ded1dfb3 by 张超军

添加保存入库失败的提示,并刷新列表

parent 4a451060
<!--
* @Author: your name
* @Date: 2021-10-22 11:36:10
* @LastEditTime: 2021-12-25 14:26:32
* @LastEditTime: 2021-12-28 20:57:21
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\src\views\Editor\modules\imageEd.vue
......@@ -4294,6 +4294,9 @@ export default {
self.$message.success('保存入库成功!')
// self.$bus.emit('updateList')
self.$bus.emit('updateList_hand')
} else {
self.$message.error('保存入库失败!')
self.$bus.emit('updateList_hand')
}
})
......@@ -4491,6 +4494,9 @@ export default {
self.$message.success('保存入库成功!')
// self.$bus.emit('updateList')
self.$bus.emit('updateList_hand')
} else {
self.$message.error('保存入库失败!')
self.$bus.emit('updateList_hand')
}
})
} else {
......@@ -4507,6 +4513,9 @@ export default {
if (res.data.code === 0) {
self.$message.success('保存入库成功!')
self.$bus.emit('updateList')
} else {
self.$message.error('保存入库失败!')
self.$bus.emit('updateList')
}
})
}
......
......@@ -33,6 +33,7 @@
@close="handleClose"
:collapse="isCollapse"
@select="selectPath"
:unique-opened="true"
>
<div v-for="(menu, i) in routes" :key="i">
<el-submenu
......
/*
* @Author: your name
* @Date: 2021-09-07 09:57:48
* @LastEditTime: 2021-12-28 14:48:42
* @LastEditTime: 2021-12-29 22:29:52
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \指纹系统\founder_vue\vue.config.js
......@@ -99,8 +99,9 @@ module.exports = {
// }
// },
"/apiDelImg": {
target: "http://47.92.226.24:8091/", //统一的请求头部每次修改都要重启才会生效
// target: "http://192.168.128.108:8091/", //新系统
// target: "http://47.92.226.24:8091/", //统一的请求头部每次修改都要重启才会生效
target: "http://192.168.128.108:8091/", //新系统
// target: "http://192.168.128.166:8099/", // 张 认定
ws: true,
changeOrigin: true,
pathRewrite: {
......@@ -112,13 +113,13 @@ module.exports = {
// target: "http://192.168.128.166:8099/", // 张 认定
// target: "http://192.168.128.104:8099", // 湖南-马
// target: "http://192.168.128.116:8099", // 湖南-王
target: "http://192.168.128.119:8099", // 湖南-张呈光
// target: "http://192.168.128.119:8099", // 湖南-张呈光
// target: "http://172.18.116.73:8099/", //统一的请求头部每次修改都要重启才会生效 http://39.99.224.27:8006/ ma
// target: "http://127.0.0.1:8099",
// target: "http://47.92.225.109:5602",
// target: "http://www.meetfood.cn:2390", // 湖南-线上
// target: "http://zwpt.xzclub.top:9333/",
target: "http://192.168.128.100:8099", // 江
target: "http://zwpt.xzclub.top:9333/",
// target: "http://192.168.128.100:8099", // 江
ws: true,
changeOrigin: true,
pathRewrite: {
......@@ -127,8 +128,8 @@ module.exports = {
},
"/security": {
//target: "http://192.168.128.106:8765", // 湖南-王
// target: "http://192.168.128.112:8765", // 湖南-张
// target: "http://192.168.128.106:8765", // 湖南-王
// target: "http://192.168.128.166:8099/", // 张 认定
// target: "http://www.meetfood.cn:2390", // 湖南-王
target: "http://zwpt.xzclub.top:9333",
// target: "http://192.168.128.119:8765",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment