diff --git a/.env.development b/.env.development index 447579f..8ab5b9a 100644 --- a/.env.development +++ b/.env.development @@ -2,7 +2,7 @@ # @Author: 张涛 # @Date: 2023-07-18 13:04:50 # @LastEditors: laozt 2721205210@qq.com - # @LastEditTime: 2023-12-08 10:32:08 + # @LastEditTime: 2024-01-04 09:40:25 # @FilePath: \suzhouyingjiPC\.env.development ### # 页面标题 @@ -13,8 +13,8 @@ ENV = 'development' # 苏州市应急执法计划管理系统/开发环境 # VUE_APP_BASE_API = 'http://39.101.188.84:9033' -# VUE_APP_BASE_API = 'http://localhost:9033' -VUE_APP_BASE_API = 'http://180.108.205.123:13002' +VUE_APP_BASE_API = 'http://localhost:13002' +# VUE_APP_BASE_API = 'http://180.108.205.123:13002' # 统一登录-内网 VUE_APP_SSO_LOGIN_N = 'http://2.46.4.197:8090/sso-server/oauth2/sso?aid=17847210&cbu=http%3A%2F%2F180.108.205.123%3A13001%2F&response_type=code' diff --git a/src/layout/newyjLayout.vue b/src/layout/newyjLayout.vue index 3939641..7ce7031 100644 --- a/src/layout/newyjLayout.vue +++ b/src/layout/newyjLayout.vue @@ -56,9 +56,9 @@ - + 修改密码 diff --git a/src/views/components/AddDialog/tab2.vue b/src/views/components/AddDialog/tab2.vue index 4d77f58..89b7d38 100644 --- a/src/views/components/AddDialog/tab2.vue +++ b/src/views/components/AddDialog/tab2.vue @@ -516,19 +516,19 @@ export default { console.log(this.formNew); this.$refs["formNew"].validate((valid) => { if (valid) { - // if (this.formNew.id != null) { - // updateNew(this.formNew).then((response) => { - // this.$modal.msgSuccess("修改成功"); - // this.openNew = false; - // this.getList(); - // }); - // } else { - // addNew(this.formNew).then((response) => { - // this.$modal.msgSuccess("新增成功"); - // this.openNew = false; - // this.getList(); - // }); - // } + if (this.formNew.id != null) { + updateNew(this.formNew).then((response) => { + this.$modal.msgSuccess("修改成功"); + this.openNew = false; + this.getList(); + }); + } else { + addNew(this.formNew).then((response) => { + this.$modal.msgSuccess("新增成功"); + this.openNew = false; + this.getList(); + }); + } } }); },