企业补录

zhangtao
laozt 1 year ago
parent 1cceb15e92
commit 912ce7e300

@ -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'

@ -56,9 +56,9 @@
</div>
</div>
<el-dropdown-menu slot="dropdown">
<router-link v-show="userInfo.userName == 'admin'" to="/system/user">
<!-- <router-link v-show="userInfo.userName == 'admin'" to="/system/user">
<el-dropdown-item>进入后台管理</el-dropdown-item>
</router-link>
</router-link> -->
<router-link to="/user/profile">
<el-dropdown-item>修改密码</el-dropdown-item>
</router-link>

@ -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();
});
}
}
});
},

Loading…
Cancel
Save