zhongrj
2024-05-06 c9cd8d8cb06e1fab173b5e63ec7ad376a5c7a53b
修改统一认证
5 files modified
22 ■■■■ changed files
src/api/user.js 4 ●●● patch | view | raw | blame | history
src/config/website.js 2 ●●● patch | view | raw | blame | history
src/lang/zh.js 4 ●●●● patch | view | raw | blame | history
src/page/login/index.vue 10 ●●●● patch | view | raw | blame | history
vue.config.js 2 ●●● patch | view | raw | blame | history
src/api/user.js
@@ -17,9 +17,7 @@
    password,
    grant_type:"password",
    scope: "all",
    type,
    // 查全部-暂定
    loginType:1
    type
  }
});
src/config/website.js
@@ -5,7 +5,7 @@
  title: "sword",
  logo: "J",
  key: "sword", //配置主键,目前用于存储
  indexTitle: "基层智治综合协同平台",
  indexTitle: "统一认证平台",
  clientId: "sword", // 客户端id
  clientSecret: "sword_secret", // 客户端密钥
  tenantMode: true, // 是否开启租户模式
src/lang/zh.js
@@ -1,5 +1,5 @@
export default {
  title: "基层智治综合协同平台",
  title: "统一认证平台",
  logoutTip: "退出系统, 是否继续?",
  submitText: "确定",
  cancelText: "取消",
@@ -78,7 +78,7 @@
  },
  login: {
    title: "登录 ",
    info: "基层智治综合协同平台",
    info: "统一认证平台",
    tenantId: "请输入租户ID",
    username: "请输入账号",
    password: "请输入密码",
src/page/login/index.vue
@@ -8,7 +8,7 @@
                </div>
                <!-- <img class="img" src="/img/logo.png" alt=""> -->
                <!-- <p class="title">{{ $t('login.info') }}</p> -->
                <p class="title">基层智治综合协同平台</p>
                <p class="title">统一认证平台</p>
            </div>
            <div class="login-border">
                <!-- <img class="img" src="/img/logo.png" alt=""> -->
@@ -21,12 +21,12 @@
                    <userLogin v-if="activeName === 'user'"></userLogin>
                    <!-- <codeLogin v-else-if="activeName==='code'"></codeLogin> -->
                    <thirdLogin v-else-if="activeName==='third'"></thirdLogin>
                    <div class="login-menu">
                    <!-- <div class="login-menu">
                        <a href="#" @click.stop="activeName='user'">{{ $t('login.userLogin') }}</a>
                        <a href="#" @click.stop="activeName='code'">{{ $t('login.phoneLogin') }}</a>
                        <a href="#" @click.stop="activeName='third'">{{ $t('login.thirdLogin') }}</a>
                        <a :href="website.ssoUrl + website.redirectUri">{{ $t('login.ssoLogin') }}</a>
                    </div>
                    </div> -->
                </div>
            </div>
@@ -73,10 +73,10 @@
        }
    },
    created () {
        document.title = "基层智治综合协同平台"
        document.title = "统一认证平台"
        setStore({
            name: "webTitle",
            content: '基层智治综合协同平台',
            content: '统一认证平台',
        })
        setStore({
vue.config.js
@@ -38,7 +38,7 @@
        proxy: {
            "/api": {
                //本地服务接口地址
                target:"http://192.168.1.50:8110/",
                target:"http://192.168.1.50:8110",
                // target: "https://srgdjczzxtpt.com:2080/api",
                // target: "https://kt39592615.goho.co",
                // target: "http://z4042833u6.wicp.vip",