Browse Source

init

newStyle
lancer 2 years ago
parent
commit
ca569417b7
4 changed files with 13 additions and 5 deletions
  1. +8
    -0
      src/api/modules/api.js
  2. +3
    -3
      src/page/login/index.vue
  3. +1
    -1
      src/views/building/index.vue
  4. +1
    -1
      vue.config.js

+ 8
- 0
src/api/modules/api.js View File

@@ -394,6 +394,14 @@ export function getAllOperationsStaff(query) {
params:query params:query
}) })
} }
// 获取运营人员
export function getAllOperationsStaffByAgent(query) {
return request({
url: '/admin/user/getAllOperationsStaffByAgent',
method:'get',
params:query
})
}
// 添加楼盘 // 添加楼盘
export function addZkhouse(data) { export function addZkhouse(data) {
return request({ return request({


+ 3
- 3
src/page/login/index.vue View File

@@ -4,7 +4,7 @@
<div class="login-logo"> <div class="login-logo">
<img src="/img/logo.png" alt=""> <img src="/img/logo.png" alt="">
</div> </div>
<p class="login-tip">{{ website.title}} v 4.0</p>
<p class="login-tip">{{ website.title}}</p>
<div class="login-border" style="padding-top:.6rem"> <div class="login-border" style="padding-top:.6rem">
<div class="login-main"> <div class="login-main">
<h4 class="login-title"> <h4 class="login-title">
@@ -21,14 +21,14 @@
<userLogin v-if="activeName==='user'" /> <userLogin v-if="activeName==='user'" />
<codeLogin v-else-if="activeName==='code'" /> <codeLogin v-else-if="activeName==='code'" />
<thirdLogin v-else-if="activeName==='third'" /> <thirdLogin v-else-if="activeName==='third'" />
<div class="login-menu">
<!-- <div class="login-menu">
<a href="#" <a href="#"
@click.stop="activeName='user'">账号密码</a> @click.stop="activeName='user'">账号密码</a>
<a href="#" <a href="#"
@click.stop="activeName='code'">手机号登录</a> @click.stop="activeName='code'">手机号登录</a>
<a href="#" <a href="#"
@click.stop="activeName='third'">第三方登录</a> @click.stop="activeName='third'">第三方登录</a>
</div>
</div> -->
</div> </div>


</div> </div>


+ 1
- 1
src/views/building/index.vue View File

@@ -755,7 +755,7 @@ export default {
AllOperationsStaff(agentId) { AllOperationsStaff(agentId) {
console.log(agentId); console.log(agentId);
this.optionsoperationalPeople = []; this.optionsoperationalPeople = [];
this.$api.api.getAllOperationsStaff({agentId}).then((res) => {
this.$api.api.getAllOperationsStaffByAgent({agentId}).then((res) => {
this.optionsoperationalPeople = res.data; this.optionsoperationalPeople = res.data;
}); });
}, },


+ 1
- 1
vue.config.js View File

@@ -4,7 +4,7 @@
*/ */
// const url = 'http://pigx-gateway' // const url = 'http://pigx-gateway'
// const url = 'http://39.97.167.65:9999' //测试 // const url = 'http://39.97.167.65:9999' //测试
const url = 'http://192.168.1.181:9999' //长龙
const url = 'http://192.168.31.169:9999' //长龙
// const url = 'http://192.168.31.133:9999' //嘉豪 // const url = 'http://192.168.31.133:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑 // const url = 'http://192.168.31.100:9999' //王笑




Loading…
Cancel
Save