临时人员、会议室编辑、删除时不会默认跳转第一页

This commit is contained in:
471615499@qq.com 2024-10-17 22:01:13 +08:00
parent 8732667d8f
commit dfdb3616ed
4 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,4 @@
NODE_ENV=development
VUE_APP_PREVIEW=true
VUE_APP_API_BASE_URL=/api
VUE_APP_MODEL_BASE_URL=https://company.haxy.com.cn:4443/shoot-hand
VUE_APP_MODEL_BASE_URL=https://baoxiu.jsgdha.com/shoot-hand

View File

@ -161,8 +161,9 @@ export default {
handleEdit(record) {
this.$refs.modal.edit(record)
},
handleOk() {
this.$refs.table.refresh(true)
handleOk(status) {
status = status || false
this.$refs.table.refresh(status)
console.log('handleSaveOk')
},
delByIds(ids) {

View File

@ -467,8 +467,9 @@ export default {
handleEdit(id) {
this.$refs.modal.edit(id)
},
handleOk() {
this.$refs.table.refresh(true)
handleOk(status) {
status = status || false
this.$refs.table.refresh(status)
},
delByIds(ids) {
const _this = this

View File

@ -110,8 +110,8 @@ const vueConfig = {
port: 8000,
proxy: {
'/api': {
target: 'http://127.0.0.1:9227',
// target: 'https://company.haxy.com.cn:4443/shoot-hand',
//target: 'http://127.0.0.1:9227',
target: 'https://baoxiu.jsgdha.com/shoot-hand',
pathRewrite: { '^/api': '' },
ws: false,
changeOrigin: true