|
@@ -57,7 +57,7 @@ export default {
|
|
|
methods: {
|
|
|
// 获取全局预览数据,不区分产品
|
|
|
getOverview () {
|
|
|
- get('http://81.68.234.235:8032/pdf-tech/vppDashboard/getOverview').then((res) => {
|
|
|
+ get('/pdf-tech/vppDashboard/getOverview').then((res) => {
|
|
|
if (res.data.code === 200) {
|
|
|
this.overview.totalLicenses = res.data.result.totalLicenses
|
|
|
this.overview.assignedLicenses = res.data.result.assignedLicenses
|
|
@@ -68,7 +68,7 @@ export default {
|
|
|
},
|
|
|
// 获取全局预览数据,区分产品
|
|
|
getOverviewProduct () {
|
|
|
- get('http://81.68.234.235:8032/pdf-tech/vppDashboard/getOverviewProduct', {
|
|
|
+ get('/pdf-tech/vppDashboard/getOverviewProduct', {
|
|
|
codeList: this.dataFilterProductSelect
|
|
|
}).then((res) => {
|
|
|
Object.keys(this.overviewProduct).forEach(key => (this.overviewProduct[key] = ''))
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
} else {
|
|
|
type = 1
|
|
|
}
|
|
|
- get('http://81.68.234.235:8032/pdf-tech/vppDashboard/getChartStatistics/' + type).then((res) => {
|
|
|
+ get('/pdf-tech/vppDashboard/getChartStatistics/' + type).then((res) => {
|
|
|
if (res.data.code === 200) {
|
|
|
this.chartData.date = []
|
|
|
this.chartData.assignedLicensesYData = []
|
|
@@ -107,7 +107,7 @@ export default {
|
|
|
},
|
|
|
// 获取团队数据
|
|
|
getTeamData () {
|
|
|
- get('http://81.68.234.235:8032/pdf-tech/vppDashboard/getTeamData').then((res) => {
|
|
|
+ get('/pdf-tech/vppDashboard/getTeamData').then((res) => {
|
|
|
if (res.data.code === 200) {
|
|
|
this.teamData.totalTeam = res.data.result.totalTeam
|
|
|
this.teamData.totalMember = res.data.result.totalMember
|
|
@@ -117,7 +117,7 @@ export default {
|
|
|
},
|
|
|
// 获取团队成员数据
|
|
|
getTeamMemberData () {
|
|
|
- get('http://81.68.234.235:8032/pdf-tech/vppDashboard/getTeamMemberData', {
|
|
|
+ get('/pdf-tech/vppDashboard/getTeamMemberData', {
|
|
|
teamId: this.teamSelect,
|
|
|
codeList: this.teamFilterProductSelect
|
|
|
}).then((res) => {
|
|
@@ -237,7 +237,7 @@ export default {
|
|
|
},
|
|
|
// 获取所有产品
|
|
|
getProductList () {
|
|
|
- get('http://81.68.234.235:8032/pdf-tech/product/listWithAdmin').then((res) => {
|
|
|
+ get('/pdf-tech/product/listWithAdmin').then((res) => {
|
|
|
if (res.data.code === 200) {
|
|
|
this.productList = res.data.result
|
|
|
}
|
|
@@ -245,7 +245,7 @@ export default {
|
|
|
},
|
|
|
// 获取所有团队
|
|
|
getTeamList() {
|
|
|
- get('http://81.68.234.235:8032/pdf-tech/vppTeam/getManageTeamList', {
|
|
|
+ get('/pdf-tech/vppTeam/getManageTeamList', {
|
|
|
teamId: '',
|
|
|
keyword: ''
|
|
|
}).then((res) => {
|