Compare commits

...

3 Commits
master ... dev

  1. 4
      src/setting.js
  2. 1
      src/views/Login.vue
  3. 4
      src/views/customer/AddCustomer.vue
  4. 1
      src/views/serve/Configure.vue
  5. 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'

@ -97,14 +97,14 @@
</el-table-column> </el-table-column>
<el-table-column prop="courseName" label="课程名称" align="center"> <el-table-column prop="courseName" label="课程名称" align="center">
</el-table-column> </el-table-column>
<el-table-column prop="periodOfUse" label="使用期限" align="center"> <el-table-column prop="periodOfUse" label="使用期限(月)" align="center">
</el-table-column> </el-table-column>
<el-table-column label="起止日期" align="center"> <el-table-column label="起止日期" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.startTime}}~{{scope.row.endTime}} {{scope.row.startTime}}~{{scope.row.endTime}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="remainingPeriod" label="剩余期限" align="center"> <el-table-column prop="remainingPeriod" label="剩余期限(天)" align="center">
</el-table-column> </el-table-column>
<el-table-column label="端口地址" align="center"> <el-table-column label="端口地址" align="center">
<template slot-scope="scope"> <template slot-scope="scope">

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