11.30 19.00

dev
yujialong 3 years ago
parent 12b6070cb4
commit 68f160d3a3
  1. 4
      src/setting.js
  2. 1
      src/views/Login.vue
  3. 1
      src/views/serve/Configure.vue
  4. 3
      src/views/setting/Person.vue

@ -13,8 +13,8 @@ if (isDev) {
jumpPath = "http://192.168.31.254:8087/"; // 本地调试-需要启动本地判分点系统 jumpPath = "http://192.168.31.254:8087/"; // 本地调试-需要启动本地判分点系统
// host = "http://39.108.250.202:9000"; // host = "http://39.108.250.202:9000";
host = "http://39.108.250.202:9000";//线上 // host = "http://39.108.250.202:9000";//线上
// host = 'http://192.168.31.151:9000'// 榕 host = 'http://192.168.31.151:9000'// 榕
// host = 'http://192.168.31.125:9000'// 坤 // host = 'http://192.168.31.125:9000'// 坤
// host = 'http://192.168.31.137:9000'// 赓 // host = 'http://192.168.31.137:9000'// 赓
} else if (isTest) { } else if (isTest) {

@ -194,6 +194,7 @@ export default {
if (valid) { if (valid) {
this.$post(this.api.logins,param).then(res => { this.$post(this.api.logins,param).then(res => {
this.$message.success(res.message); this.$message.success(res.message);
console.log(res.data.token)
sessionStorage.setItem('token',res.data.token) sessionStorage.setItem('token',res.data.token)
this.$router.push({ this.$router.push({
path:'/customer' path:'/customer'

@ -172,6 +172,7 @@ export default {
}; };
this.$post(this.api.queryServiceConfig, data).then(res => { this.$post(this.api.queryServiceConfig, data).then(res => {
this.systemData = res.serviceList.records; this.systemData = res.serviceList.records;
console.log(this.systemData)
this.totals = res.serviceList.total; this.totals = res.serviceList.total;
}).catch(res => { }).catch(res => {
}); });

@ -378,9 +378,12 @@
</template> </template>
<script> <script>
import png from '@/assets/img/person/bg.png'
export default { export default {
data() { data() {
return { return {
png,
avatar: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png', avatar: 'https://cube.elemecdn.com/3/7c/3ea6beec64369c2642b92c6726f1epng.png',
token: sessionStorage.getItem('token'), token: sessionStorage.getItem('token'),
form: { form: {

Loading…
Cancel
Save