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

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 NODE_ENV=development
VUE_APP_PREVIEW=true VUE_APP_PREVIEW=true
VUE_APP_API_BASE_URL=/api 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) { handleEdit(record) {
this.$refs.modal.edit(record) this.$refs.modal.edit(record)
}, },
handleOk() { handleOk(status) {
this.$refs.table.refresh(true) status = status || false
this.$refs.table.refresh(status)
console.log('handleSaveOk') console.log('handleSaveOk')
}, },
delByIds(ids) { delByIds(ids) {

View File

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

View File

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