Răsfoiți Sursa

1.账号设置bug修改,2.基础版登录页连接错误修改3.基础版图片修改

hanmj 6 ani în urmă
părinte
comite
08e646cc33

+ 1 - 1
src/dashoo.cn/backend/api/controllers/casbin/user.go

@@ -334,7 +334,7 @@ func (this *UserController) EditUser() {
 		userentity.Departmentid = model.DepartmentId
 		userentity.Departmentname = model.DepartmentName
 
-		var cols []string = []string{"Realname", "DepartmentId", "DepartmentName", "Telephone", "Mobile", "Description", "Photo", "Modifieduserid", "Modifiedby"}
+		var cols []string = []string{"Realname","Telephone", "Mobile", "Description", "Photo", "Modifieduserid", "Modifiedby"}
 
 		err := svc.UpdateEntityAndBackupByCols(id, &userentity, &userentityempty, cols, utils.ToStr(this.User.Id), this.User.Realname)
 

BIN
src/dashoo.cn/frontend_web/src/assets/img/basic.png


BIN
src/dashoo.cn/frontend_web/src/assets/img/basic_old.png


+ 10 - 11
src/dashoo.cn/frontend_web/src/pages/login_basic.vue

@@ -5,10 +5,10 @@
         <img src="../assets/img/logo.png" style="height:55px;">
       </a>
       <ul class="nav-item">
-        <li><a href="http://www.dashoo.cn/product-3-1.html" alt="介绍">产品中心</a></li>
-        <li><a href="http://www.dashoo.cn/service-2-1.html" alt="其他">解决方案</a></li>
-        <li><a href="http://www.dashoo.cn/news-4-1.html" alt="API">科技资讯</a></li>
-        <li><a href="http://www.dashoo.cn" alt="其他">其他</a></li>
+        <li><a href="http://www.dashoo.cn/ruanjian/mcs2.html" alt="介绍">产品中心</a></li>
+        <li><a href="http://www.dashoo.cn/fangan/mcs1.html" alt="其他">解决方案</a></li>
+        <li><a href="http://www.dashoo.cn/dashunews/" alt="API">科技资讯</a></li>
+        <li><a href="http://www.dashoo.cn/dashu/company1.html" alt="其他">其他</a></li>
         <li>
         <li class="translations">
           <!-- <a class="nav-link">切换语言</a> -->
@@ -76,7 +76,7 @@
   import Vue from 'vue'
   import Component from 'class-component'
   @Component({
-    data() {
+    data () {
       const model = {
         username: '',
         password: ''
@@ -102,18 +102,18 @@
     }
   })
   export default class Login extends Vue {
-    layout() {
+    layout () {
       return 'empty'
     }
-    login() {
+    login () {
       this.logging = true
       this.$refs.user.validate(async (valid) => {
         try {
           if (valid) {
             await this.$store.dispatch('auth/login', {
               fields: {
-                username: this.model.username.replace(/(^\s*)|(\s*$)/g, ""),
-                password: this.model.password.replace(/(^\s*)|(\s*$)/g, "")
+                username: this.model.username.replace(/(^\s*)|(\s*$)/g, ''),
+                password: this.model.password.replace(/(^\s*)|(\s*$)/g, '')
               }
             })
             if (process.env.appclient == 'lims') {
@@ -131,11 +131,10 @@
         }
       })
     }
-    logout() {
+    logout () {
       this.$store.dispatch('logout')
     }
   }
-
 </script>
 
 <style lang="scss">