|
|
@@ -82,18 +82,6 @@
|
|
|
import {ValidCode} from '@/Constant'
|
|
|
import CommonHome from '../common/CommonHome'
|
|
|
|
|
|
- const fromApps = [
|
|
|
- {
|
|
|
- label: 'B2B',
|
|
|
- value: 'b2b'
|
|
|
- }, {
|
|
|
- label: 'UAS',
|
|
|
- value: 'uas'
|
|
|
- }, {
|
|
|
- label: '优软商城',
|
|
|
- value: 'mall'
|
|
|
- }
|
|
|
- ]
|
|
|
const searchKeys = [
|
|
|
{
|
|
|
label: '企业名称',
|
|
|
@@ -126,7 +114,6 @@
|
|
|
},
|
|
|
pageContent: [],
|
|
|
total: 0,
|
|
|
- fromAppOptions: fromApps,
|
|
|
validCodeOptions: ValidCode,
|
|
|
searchKeys: searchKeys
|
|
|
}
|
|
|
@@ -137,6 +124,9 @@
|
|
|
computed: {
|
|
|
tableData () {
|
|
|
return this.pageContent
|
|
|
+ },
|
|
|
+ fromAppOptions () {
|
|
|
+ return this.$store.getters.fromAppOptions
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -148,12 +138,10 @@
|
|
|
params.page = params.page - 1
|
|
|
|
|
|
const success = page => {
|
|
|
- console.log(1)
|
|
|
this.pageContent = page.content || []
|
|
|
this.total = page.totalElements
|
|
|
}
|
|
|
const error = response => {
|
|
|
- console.log(1)
|
|
|
console.log(response)
|
|
|
this.$message.error(response)
|
|
|
}
|