应用贡献组件被调用次数分布
@@ -57,31 +61,215 @@
import * as echarts from 'echarts';
export default {
+ props:{
+ tableId:{
+ type:String,
+ default:''
+ },
+ fatherId:{
+ type:Number,
+ default:null,
+ }
+ },
data(){
return{
+ data2:[],
+ data3:[],
+ data4:[],
+ data5:[],
+ data6:[],
+ data7:[],
+ data8:[],
+ data9:[],
+ data10:[],
+ data11:[],
colorList:['linear-gradient(to right, rgba(82, 106, 255,0.8),transparent)', 'linear-gradient(to right,rgba(251, 123, 5),transparent)','linear-gradient(to right,rgba(250, 179, 2,.6),transparent)','linear-gradient(to right,rgba(82, 106, 255,.6),transparent','linear-gradient(to right,rgba(82, 106, 255,.6),transparent)',],
widthList:['90px','80px','70px','60px','50px'],
numColorList:['#fc5656','#ff8a00','#f9af0a','#808fff','#808fff'],
usedList:[{name:'组件名称一',count:111},{name:'组件名称一',count:111},{name:'组件名称一',count:111},{name:'组件名称四',count:111},{name:'组件名称五',count:111},],
}
+ },
+ created(){
+ this.getDistributedList()
+ this.getUsedList()
+ this.getTopList()
+ this.getApplicationDistribution()
+ this.getFieldDistribution()
+ this.getStatuesDistribution()
},
mounted(){
+
this.myEcharts1()
- this.myEcharts2()
- this.myEcharts3()
- this.myEcharts4()
- this.myEcharts6()
- this.myEcharts7()
- this.myEcharts8()
- this.myEcharts9()
+ // this.myEcharts2()
+ // this.myEcharts3()
+ // this.myEcharts4()
+ // this.myEcharts6()
+ // this.myEcharts7()
+ // this.myEcharts8()
+ // this.myEcharts9()
},
methods:{
+ // 应用贡献组件数量分布(算法、图层、开发、业务)
+ getDistributedList () {
+ this.$http.get('/census/center/v3/assemblerUseProjectInfo/' ,{
+ params : {
+ keyId:'1522550195034857476'
+ // this.tableId
+ }
+ }).then(res => {
+ let arry=[]
+ arry=res.data.data
+ arry.forEach((item)=>{
+ const single={
+ value:item.num,
+ name:item.attr_value
+ }
+ this.data2.push(single)
+ this.data5.push(single.value)
+ this.data6.push(single.name)
+ this.myEcharts2()
+ this.myEcharts4()
+ })
+
+ })
+ },
+ // 应用贡献组件分别被多少应用使用
+ getUsedList () {
+ this.$http.get('/census/center/v3/applicationUsedCapabilityNum/' ,{
+ params : {
+ id:
+ // '1522550195034857476'
+ this.tableId
+ }
+ }).then(res => {
+ let arry=[]
+ arry=res.data.data
+ arry.forEach((item)=>{
+ const single={
+ value:item.useNum,
+ name:item.name
+ }
+ this.data3.push(single.name)
+ this.data4.push(single.value)
+ console.log("2222", this.data3);
+ this.myEcharts3()
+ })
+
+ })
+ },
+ //评分分布12345
+ getTopList () {
+ this.$http.get('/census/center/v3/assemblerScoreInfo/' ,{
+ params : {
+ id:this.tableId,
+ // '1067246875800000066',
+ resourceType:'应用资源'
+ }
+ }).then(res => {
+ let arry=[]
+ arry=res.data.data
+ arry.forEach((item)=>{
+ const single={
+ value:item.scoreNum,
+ name:item.score
+ }
+ this.data8.push(single)
+ this.myEcharts6()
+ })
+
+ })
+ },
+ //发布端应用分布情况
+ getApplicationDistribution() {
+ this.$http.get('/census/center/v3/applicationReleaseCapabilitySet/' ,{
+ params : {
+ id:
+ // '1067246875800000066',
+ this.tableId,
+ resourceType:'应用资源'
+ }
+ }).then(res => {
+ let arry=[]
+ arry=res.data.data
+ arry.forEach((item)=>{
+ const single={
+ value:item.num,
+ name:item.publisher
+ }
+ this.data7.push(single)
+ this.myEcharts7()
+ })
+
+ })
+ },
+ //应用领域分布情况
+ getFieldDistribution() {
+ this.$http.get('/census/center/v3/applicationAreaCapabilityList/' ,{
+ params : {
+ id:
+ // '1067246875800000066',
+ this.tableId,
+ resourceType:'应用资源'
+ }
+ }).then(res => {
+ let arry=[]
+ arry=res.data.data
+ arry.forEach((item)=>{
+ const single={
+ value:item.total,
+ name:item.type
+ }
+ this.data9.push(single)
+ this.myEcharts8()
+ })
+
+ })
+ },
+ //应用状态分布情况
+ getStatuesDistribution() {
+ this.$http.get('/census/center/v3/applicationStateCapabilitySet/' ,{
+ params : {
+ id:
+ // '1067246875800000066',
+ this.tableId,
+ resourceType:'应用资源'
+ }
+ }).then(res => {
+ let arry=[]
+ arry=res.data.data
+ arry.forEach((item)=>{
+ const single={
+ value:item.num,
+ name:item.state
+ }
+ this.data10.push(single)
+ this.myEcharts9()
+ })
+
+ })
+ },
myEcharts1(){
var chartDom = document.getElementById('main1');
var myChart = echarts.init(chartDom);
var option;
option = {
+ tooltip: { // 鼠标悬浮提示框显示 X和Y 轴数据
+ trigger: 'axis',
+ backgroundColor: 'rgba(32, 33, 36,.7)',
+ borderColor: 'rgba(32, 33, 36,0.20)',
+ borderWidth: 1,
+ textStyle: { // 文字提示样式
+ color: '#fff',
+ fontSize: '12'
+ },
+ axisPointer: { // 坐标轴虚线
+ type: 'cross',
+ label: {
+ backgroundColor: '#6a7985'
+ }
+ },
+ },
grid: {
bottom: '23%',
},
@@ -231,12 +419,7 @@ export default {
labelLine: {
show: false
},
- data: [
- { value: 1048, name: '算法' },
- { value: 735, name: '图层' },
- { value: 580, name: '开发' },
- { value: 484, name: '业务' },
- ]
+ data:this.data2
}
]
};
@@ -248,12 +431,29 @@ export default {
var myChart = echarts.init(chartDom);
var option;
option = {
+ tooltip: { // 鼠标悬浮提示框显示 X和Y 轴数据
+ trigger: 'axis',
+ backgroundColor: 'rgba(32, 33, 36,.7)',
+ borderColor: 'rgba(32, 33, 36,0.20)',
+ borderWidth: 1,
+ textStyle: { // 文字提示样式
+ color: '#fff',
+ fontSize: '12'
+ },
+ axisPointer: { // 坐标轴虚线
+ type: 'cross',
+ label: {
+ backgroundColor: '#6a7985'
+ }
+ },
+ },
grid: {
bottom: '23%',
},
xAxis: {
type: 'category',
- data: ['算法', '图层', '开发', '业务'],
+ data:this.data3,
+ fontSize:12,
color:['#f5f5f5'],
axisTick:{
show:false,//不显示坐标轴刻度线
@@ -268,8 +468,17 @@ export default {
}
},
axisLabel: {//x轴文字的配置
+ formatter: val => {
+ let txt = val
+ if (val.length > 3) {
+ txt = val.substr(0, 3) + '...'
+ }
+ return txt
+ },
textStyle: {
color: "#999999",//x轴内容文字颜色
+
+
},
},
},
@@ -300,7 +509,7 @@ export default {
},
series: [
{
- data: [5, 5, 5, 5],
+ data: [1, 1, 1, 1, 1, 1],
type: 'bar',
barWidth: 14,
stack: '1',
@@ -314,7 +523,7 @@ export default {
},
},
{
- data: [60, 90, 50, 80],
+ data: this.data4,
type: 'bar',
barWidth: 14,
stack: '1',
@@ -343,7 +552,7 @@ export default {
},
xAxis: {
type: 'category',
- data: ['组件名称1', '组件名称2', '组件名称3', '组件名称4', '组件名称5', '组件名称6'],
+ data:this.data6,
color:['#f5f5f5'],
axisTick: { // 坐标轴 刻度
show: false, // 是否显示
@@ -404,7 +613,7 @@ export default {
},
},
{
- data: [60, 90, 50, 80, 50, 80],
+ data:this.data5,
type: 'bar',
barWidth: 14,
stack: '1',
@@ -486,13 +695,7 @@ export default {
labelLine: {
show: false
},
- data: [
- { value: 1048, name: '1分' },
- { value: 735, name: '2分' },
- { value: 580, name: '3分' },
- { value: 484, name: '4分' },
- { value: 300, name: '5分' }
- ]
+ data:this.data8
}
]
};
@@ -564,175 +767,197 @@ export default {
labelLine: {
show: false
},
- data: [
- { value: 1048, name: '应用名称1' },
- { value: 735, name: '应用名称2' },
- { value: 580, name: '应用名称3' },
- { value: 484, name: '应用名称4' },
- { value: 300, name: '应用名称5' }
- ]
+ data:this.data7
+ // [
+ // { value: 1048, name: '应用名称1' },
+ // { value: 735, name: '应用名称2' },
+ // { value: 580, name: '应用名称3' },
+ // { value: 484, name: '应用名称4' },
+ // { value: 300, name: '应用名称5' }
+ // ]
}
]
};
option && myChart.setOption(option);
},
- myEcharts8(){
- var chartDom = document.getElementById('main8');
- var myChart = echarts.init(chartDom);
- var option;
- option = {
- tooltip: {
- trigger: 'item'
- },
- legend: {
- orient: '',
- top: '14%',
- left: '40%',
- width:"auto",
- height:"auto",
- orient: "vertical",
- itemGap: 15,
- itemWidth: 14,
- // 使用回调函数
- formatter: function(name) {
- var data = option.series[0].data;
- var total = 0;
- var tarValue;
- for (var i = 0; i < data.length; i++) {
- total += data[i].value;
- if (data[i].name == name) {
- tarValue = data[i].value;
- }
- }
- var v = tarValue;
- var p = Math.round(((tarValue / total) * 100));
- return `${name} ${p}%`;
- },
- itemStyle:{},
- textStyle: {
- color: "#666666",
- fontSize:12,
- padding:[0,8,0,10]
- },
- },
- color: ['#0087ff', '#51cb8d', '#fcc549', '#ef6567', '#ff8a00', '#fc5656'],
- series: [
- {
- type: 'pie',
- radius: ['30%', '45%'],
- center:['19%', '50%'],
- avoidLabelOverlap: false,
- itemStyle: {
- borderRadius: 10,
- borderColor: '#fff',
- borderWidth: 2
- },
- label: {
- show: false,
- position: 'center'
- },
- // emphasis: {
- // label: {
- // show: true,
- // fontSize: '40',
- // fontWeight: 'bold'
- // }
- // },
- labelLine: {
- show: false
- },
- data: [
- { value: 1048, name: '应用领域1' },
- { value: 735, name: '应用领域2' },
- { value: 580, name: '应用领域3' },
- { value: 484, name: '应用领域4' },
- { value: 300, name: '应用领域5' }
- ]
- }
- ]
- };
+ myEcharts8(){
+ var chartDom = document.getElementById('main8');
+ var myChart = echarts.init(chartDom);
+ var option;
+ option = {
+ tooltip: {
+ trigger: 'item'
+ },
+ legend: {
+ orient: "vertical", type: 'scroll',
+ top: '14%',
+ left: '40%',
+ width:"auto",
+ height:"auto",
+ orient: "vertical",
+ itemGap: 15,
+ itemWidth: 14,
+ // 使用回调函数
+ formatter: function(name) {
+ var data = option.series[0].data;
+ var total = 0;
+ var tarValue;
+ for (var i = 0; i < data.length; i++) {
+ total += data[i].value;
+ if (data[i].name == name) {
+ tarValue = data[i].value;
+ }
+ }
+ var v = tarValue;
+ var p = Math.round(((tarValue / total) * 100));
+ return `{a|${name}} {b|${p}%}`;
+ },
+ itemStyle:{},
+ textStyle: {
+ color: "#666666",
+ fontSize:12,
+ rich: {
+ // 通过富文本rich给每个项设置样式,下面的oneone、twotwo、threethree可以理解为"每一列"的样式
+ a: {
+ // 设置文字、数学、英语这一列的样式
+ width: 80,
+ color: "#000000",
+ fontSize: 12,
+ fontWeight: "bolder",
+ },
+ b: {
+ // 设置10分、20分、30分这一列的样式
+ width: 35,
+ color: "#333",
+ fontSize: 12,
+ },
+ },
+ padding:[0,8,0,10]
+ },
+ },
+ color: ['#0087ff', '#51cb8d', '#fcc549', '#ef6567', '#ff8a00', '#fc5656'],
+ series: [
+ {
+ type: 'pie',
+ radius: ['30%', '45%'],
+ center:['19%', '50%'],
+ avoidLabelOverlap: false,
+ itemStyle: {
+ borderRadius: 10,
+ borderColor: '#fff',
+ borderWidth: 2
+ },
+ label: {
+ show: false,
+ position: 'center'
+ },
+ // emphasis: {
+ // label: {
+ // show: true,
+ // fontSize: '40',
+ // fontWeight: 'bold'
+ // }
+ // },
+ labelLine: {
+ show: false
+ },
+ data:this.data9
+ // [
+ // { value: 1048, name: '应用领域1' },
+ // { value: 735, name: '应用领域2' },
+ // { value: 580, name: '应用领域3' },
+ // { value: 484, name: '应用领域4' },
+ // { value: 300, name: '应用领域5' }
+ // ]
+ }
+ ]
+ };
- option && myChart.setOption(option);
- },
- myEcharts9(){
- var chartDom = document.getElementById('main9');
- var myChart = echarts.init(chartDom);
- var option;
- option = {
- tooltip: {
- trigger: 'item'
- },
- legend: {
- orient: '',
- top: '14%',
- left: '47%',
- width:"auto",
- height:"auto",
- orient: "vertical",
- itemGap: 15,
- itemWidth: 14,
- // 使用回调函数
- formatter: function(name) {
- var data = option.series[0].data;
- var total = 0;
- var tarValue;
- for (var i = 0; i < data.length; i++) {
- total += data[i].value;
- if (data[i].name == name) {
- tarValue = data[i].value;
- }
- }
- var v = tarValue;
- var p = Math.round(((tarValue / total) * 100));
- return `${name} ${p}%`;
- },
- itemStyle:{},
- textStyle: {
- color: "#666666",
- fontSize:12,
- padding:[0,8,0,10]
- },
- },
- color: ['#0087ff', '#51cb8d', '#fcc549', '#ef6567', '#ff8a00', '#fc5656'],
- series: [
- {
- type: 'pie',
- radius: ['30%', '45%'],
- center:['22%', '50%'],
- avoidLabelOverlap: false,
- itemStyle: {
- borderRadius: 10,
- borderColor: '#fff',
- borderWidth: 2
- },
- label: {
- show: false,
- position: 'center'
- },
- // emphasis: {
- // label: {
- // show: true,
- // fontSize: '40',
- // fontWeight: 'bold'
- // }
- // },
- labelLine: {
- show: false
- },
- data: [
- { value: 1048, name: '应用状态1' },
- { value: 735, name: '应用状态2' },
- { value: 580, name: '应用状态3' },
- { value: 484, name: '应用状态4' },
- { value: 300, name: '应用状态5' }
- ]
- }
- ]
- };
+ option && myChart.setOption(option);
+ },
+ myEcharts9(){
+ var chartDom = document.getElementById('main9');
+ var myChart = echarts.init(chartDom);
+ var option;
+ option = {
+ tooltip: {
+ trigger: 'item'
+ },
+ legend: {
+ orient: '',
+ top: '14%',
+ left: '47%',
+ width:"auto",
+ height:"auto",
+ orient: "vertical",
+ itemGap: 15,
+ itemWidth: 14,
+ // 使用回调函数
+ formatter: function(name) {
+ var data = option.series[0].data;
+ var total = 0;
+ var tarValue;
+ for (var i = 0; i < data.length; i++) {
+ total += data[i].value;
+ if (data[i].name == name) {
+ tarValue = data[i].value;
+ }
+ }
+ var v = tarValue;
+ var p = Math.round(((tarValue / total) * 100));
+ return `${name} ${p}%`;
+ },
+ itemStyle:{},
+ textStyle: {
+ color: "#666666",
+ fontSize:12,
+ padding:[0,8,0,10]
+ },
+ },
+ color: ['#0087ff', '#51cb8d', '#fcc549', '#ef6567', '#ff8a00', '#fc5656'],
+ series: [
+ {
+ type: 'pie',
+ radius: ['30%', '45%'],
+ center:['22%', '50%'],
+ avoidLabelOverlap: false,
+ itemStyle: {
+ borderRadius: 10,
+ borderColor: '#fff',
+ borderWidth: 2
+ },
+ label: {
+ show: false,
+ position: 'center'
+ },
+ // emphasis: {
+ // label: {
+ // show: true,
+ // fontSize: '40',
+ // fontWeight: 'bold'
+ // }
+ // },
+ labelLine: {
+ show: false
+ },
+ data:this.data10
+ // [
+ // { value: 1048, name: '应用状态1' },
+ // { value: 735, name: '应用状态2' },
+ // { value: 580, name: '应用状态3' },
+ // { value: 484, name: '应用状态4' },
+ // { value: 300, name: '应用状态5' }
+ // ]
+ }
+ ]
+ };
- option && myChart.setOption(option);
- },
+ option && myChart.setOption(option);
+ },
+ backBtn(){
+ this.$emit('closeApplication')
+ }
}
}
@@ -740,6 +965,8 @@ export default {
\ No newline at end of file
diff --git a/back/src/views/modules/workBench/components/dept-chart-view.vue b/back/src/views/modules/workBench/components/dept-chart-view.vue
index 58c24019..400863a4 100644
--- a/back/src/views/modules/workBench/components/dept-chart-view.vue
+++ b/back/src/views/modules/workBench/components/dept-chart-view.vue
@@ -186,19 +186,19 @@ export default {
+
diff --git a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue
index 2e780bbe..51a3610e 100644
--- a/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue
+++ b/front/src/views/detailsAll/components/LayerService/LayerServiceUsageMode.vue
@@ -28,7 +28,8 @@
- {{ item.contact }}:{{ item.facilitator.values }}
+
+ {{ item.contact }}
diff --git a/front/src/views/home/AbilityToApplyFor.vue b/front/src/views/home/AbilityToApplyFor.vue
index ec68b65f..af0309ac 100644
--- a/front/src/views/home/AbilityToApplyFor.vue
+++ b/front/src/views/home/AbilityToApplyFor.vue
@@ -16,7 +16,17 @@
{{ val.resourceName }}
{{ val.type }}
-
{{ val.description || '--' }}
+
+ {{
+ val.description ||
+ (val.note1 &&
+ JSON.parse(val.note1)[0].channelName +
+ '等' +
+ JSON.parse(val.note1).length +
+ '个摄像头') ||
+ '--'
+ }}
+
@@ -48,7 +58,7 @@
//移除方法
const removeFunction = (data) => {
dataForm.value.map((val) => {
- val.arr = val.arr.filter((item) => item.resourceId !== data.resourceId)
+ val.arr = val.arr.filter((item) => item.id !== data.id)
})
dataForm.value = dataForm.value.filter((val) => val.arr.length !== 0)
}
diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue
index 5060a8ba..b2645069 100644
--- a/front/src/views/home/DetailsPageconetent.vue
+++ b/front/src/views/home/DetailsPageconetent.vue
@@ -1152,7 +1152,8 @@
})
mybus.on('changePage', (page) => {
paramsGetResources.pageNum = page
- getAppResources()
+ console.log('changePage', paramsGetResources.pageNum)
+ getAppResources('分页查询')
console.log('paramsGetResources', paramsGetResources)
})
mybus.on('changeSelcted', () => {
@@ -1246,11 +1247,11 @@
let newQuery = JSON.parse(
JSON.stringify(router.currentRoute.value.query)
)
- if (Cardsname.value == name) {
- Cardsname.value = ''
- } else {
- Cardsname.value = name
- }
+ // if (Cardsname.value == name) {
+ // Cardsname.value = ''
+ // } else {
+ Cardsname.value = name
+ // }
console.log(
'更改前url中的select=====================>',
router.currentRoute.value.query.select
diff --git a/front/src/views/home/apply.vue b/front/src/views/home/apply.vue
index 0af91f1c..d0d5866d 100644
--- a/front/src/views/home/apply.vue
+++ b/front/src/views/home/apply.vue
@@ -84,7 +84,7 @@
{
val.arr.map((item) => {
- formName.system.push({
- resourceId: item.resourceId,
- resourceName: item.resourceName,
- })
- console.log(item.id)
- ids.push(item.id)
+ if (item.type !== '基础设施') {
+ formName.system.push({
+ resourceId: item.resourceId,
+ resourceName: item.resourceName,
+ })
+ console.log(item.id)
+ ids.push(item.id)
+ } else {
+ let obj = {}
+ Object.assign(obj, formName)
+ console.log('摄像头===============>', obj, item)
+ obj.system = []
+ item.note1 = JSON.parse(item.note1)
+ item.note1.map((sxt) => {
+ obj.system.push({
+ resourceId: sxt.idtCameraChannel,
+ resourceName: sxt.channelName,
+ cameraId: sxt.channelId,
+ })
+ })
+ submitApply(obj).then((res) => {
+ applySuccess.value = false
+ console.log('摄像头申请================>', res)
+ if (item.id) {
+ sgcDel({ ids: [item.id] }).then((res) => {
+ if (res.data.msg === 'success') {
+ mybus.emit('getSgcNum')
+ }
+ })
+ }
+ })
+ }
})
})
console.log('提交数据==========================>', formName, ids)
- submitApply(formName).then((res) => {
- applySuccess.value = false
- message.success('操作成功!')
- console.log('能力申请================>', res)
- if (ids) {
- sgcDel({ ids: ids }).then((res) => {
- if (res.data.msg === 'success') {
- mybus.emit('getSgcNum')
- }
- })
- }
- })
- // if (arr && arr.length !== 0) {
- // console.log('提交')
- // const obj = ref({})
- // for (const key in formName) {
- // if (key !== 'formNameSystem') {
- // obj.value[key] = formName[key]
- // }
- // }
- // submitApply(obj.value).then((res) => {
- // applySuccess.value = false
- // message.success('操作成功!')
- // console.log('能力申请================>', res)
- // if (ids) {
- // sgcDel({ ids: ids }).then((res) => {
- // if (res.data.msg === 'success') {
- // mybus.emit('getSgcNum')
- // }
- // })
- // }
- // })
- // } else {
- // lastestPage({
- // key: dataForm.processDefinitionKey,
- // })
- // .then(({ data: res }) => {
- // if (res.code !== 0) {
- // return message.error(res.msg)
- // }
- // if (!res.data.list || res.data.list.length <= 0) {
- // return message.error('没有查询到流程,请先设计流程')
- // }
- // // proxy.$http['post'](formUrl, rootObj[formName])
- // tabilityapplication(formName)
- // .then(({ data: res }) => {
- // if (res.code !== 0) {
- // message.error(res.msg)
- // if (callbacks.formSaveErrorCallback) {
- // callbacks.formSaveErrorCallback(res)
- // }
- // }
- // if (callbacks.formSaveSuccessCallback) {
- // callbacks.formSaveSuccessCallback(res)
- // }
- // if (!res.data.businessKey) {
- // return message.error('业务KEY为空,无法启动流程')
- // // startProcess(dataForm.processDefinitionKey, null, rootObj[formName])
- // } else {
- // startProcess(
- // dataForm.processDefinitionKey,
- // res.data.businessKey
- // // rootObj[formName]
- // )
- // }
- // })
- // .catch(() => {})
- // })
- // .catch(() => {})
- // // })
- // }
+ if (formName.system.length !== 0) {
+ submitApply(formName).then((res) => {
+ applySuccess.value = false
+ message.success('操作成功!')
+ console.log('能力申请================>', res)
+ if (ids) {
+ sgcDel({ ids: ids }).then((res) => {
+ if (res.data.msg === 'success') {
+ mybus.emit('getSgcNum')
+ }
+ })
+ }
+ })
+ }
})
}
}
diff --git a/front/src/views/home/components/header.vue b/front/src/views/home/components/header.vue
index 46f6f7ae..19bc6095 100644
--- a/front/src/views/home/components/header.vue
+++ b/front/src/views/home/components/header.vue
@@ -172,7 +172,7 @@
router.push({
path: '/DetailsPageconetent',
query: {
- select: '',
+ select: '组件服务',
},
})
break
@@ -197,7 +197,7 @@
})
break
case '后台管理':
- window.open(window.SITE_CONFIG.backUrl + '/#/bscatalogue-bscatalogue')
+ window.open(window.SITE_CONFIG.backUrl + '/#/login')
window.reload('http://15.2.21.238:9797')
break
case '赋能案例':
diff --git a/front/src/views/home/components/searchResultList.vue b/front/src/views/home/components/searchResultList.vue
index af86e9fd..13fdcfac 100644
--- a/front/src/views/home/components/searchResultList.vue
+++ b/front/src/views/home/components/searchResultList.vue
@@ -157,15 +157,6 @@
v-if="item.isCollect == 'true'"
@click="addCollect(item)"
>
-
- 免费试用
-
@@ -86,7 +86,9 @@
@change="handleTableChange"
:row-selection="{
selectedRowKeys: selectedRowKeys,
- onChange: onSelectChange,
+ // onChange: onSelectChange,
+ onSelect: onSelectChange,
+ onSelectAll: onSelectAll,
}"
>