|
@@ -48,15 +48,18 @@
|
|
|
<span class="bg"></span>
|
|
|
<span>编辑附加数据</span>
|
|
|
</div>
|
|
|
- <div class="dialog-right-table" v-if="systemName=='弱电系统'">
|
|
|
+ <div class="dialog-right-table" ref="dialogRightTable" v-if="systemName=='弱电系统'">
|
|
|
<a-table :columns="examplesTableHeaderREdit" :data-source="addDataTableData" bordered :pagination="false" :scroll="{ y: height }" >
|
|
|
</a-table>
|
|
|
<i @click="addFun" class="el-icon-circle-plus-outline" style="color:#2AA4FF;font-size: 16px;position: absolute;margin-top: -5px;margin-left: -5px;cursor: pointer; "></i>
|
|
|
</div>
|
|
|
- <div class="dialog-right-table" v-if="systemName=='消防系统'">
|
|
|
+ <div class="dialog-right-table" ref="dialogRightTable" v-if="systemName=='消防系统'">
|
|
|
<a-table :columns="examplesTableHeaderEdit" :data-source="addDataTableData" bordered :pagination="false" :scroll="{ y: height }" >
|
|
|
<span slot="fireZone" slot-scope="text,record,index">
|
|
|
- <a-input v-model="text" placeholder="请输入" type="normal" @change="getFireZoneFun(text,index)" :maxLength="15"/>
|
|
|
+ <el-tooltip popper-class="tooltip-class" effect="dark" :manual="true" :content="text" placement="top" :disabled="record.tooltipDisableFize" :value="!record.tooltipDisableFize">
|
|
|
+ <a-input v-model="text" placeholder="请输入" type="normal" @change="getFireZoneFun(text,index)" :maxLength="15" @focus="focusTooltip(record,'fireZone','tooltipDisableFize',index)" @blur="blurToopTip('tooltipDisableFize',index)"/>
|
|
|
+ </el-tooltip>
|
|
|
+<!-- <a-input v-else v-model="text" placeholder="请输入" type="normal" @change="getFireZoneFun(text,index)" :maxLength="15" @focus="focusTooltip('tooltipDisableFize',index)" @blur="blurToopTip('tooltipDisableFize',index)"/>-->
|
|
|
</span>
|
|
|
<span slot="isFm" slot-scope="text,record,index">
|
|
|
<Select width="60" v-model="text" :isReadOnly="true" @change="isFmFun(text,index)" :hideClear='true' :selectdata="isFmData" :placeholder="'请选择'"/>
|
|
@@ -99,16 +102,6 @@
|
|
|
<script>
|
|
|
import addDataTable from "./addDataTable";
|
|
|
import {addDataSaveWeakCurrent,addDataSaveFireControl} from "@/api/equipmentList.js";
|
|
|
- const renderContent = (value, row, index) => {
|
|
|
- const obj = {
|
|
|
- children: value,
|
|
|
- attrs: {},
|
|
|
- };
|
|
|
- if (index === 2) {
|
|
|
- obj.attrs.colSpan = 0;
|
|
|
- }
|
|
|
- return obj;
|
|
|
- };
|
|
|
export default {
|
|
|
name: "addDataDialog",
|
|
|
components:{addDataTable},
|
|
@@ -132,22 +125,54 @@
|
|
|
{dataIndex: 'isFm', align: 'center', title: '是否属于非工程 物业管理范围', width: 100, scopedSlots: { customRender: 'isFm' },},
|
|
|
{dataIndex: 'hostNum', title: '主机编号', align: 'center', customRender: (text, row, index) => {
|
|
|
var self = this;
|
|
|
- var child = self.$createElement("a-input", {
|
|
|
- domProps: {
|
|
|
- },
|
|
|
+ var child = self.$createElement("el-tooltip", {
|
|
|
attrs:{
|
|
|
- value: text,
|
|
|
- placeholder:'请输入',
|
|
|
- maxLength:15
|
|
|
- },
|
|
|
- on:{
|
|
|
- change(event){
|
|
|
- if(row.isFm=='1') {
|
|
|
- self.$set(self.addDataTableData[index], 'hostNum', event.target.value);
|
|
|
+ placement:"top",
|
|
|
+ content:text,
|
|
|
+ manual:true,
|
|
|
+ disabled:row.tooltipDisablHost,
|
|
|
+ value:!row.tooltipDisablHost,
|
|
|
+ popperClass:'tooltip-class'
|
|
|
+ }
|
|
|
+ },[
|
|
|
+ self.$createElement("a-input", {
|
|
|
+ attrs:{
|
|
|
+ value: text,
|
|
|
+ placeholder:'请输入',
|
|
|
+ maxLength:15,
|
|
|
+
|
|
|
+ },
|
|
|
+ on:{
|
|
|
+ change(event){
|
|
|
+ if(row.isFm=='1') {
|
|
|
+ self.$set(self.addDataTableData[index], 'hostNum', event.target.value);
|
|
|
+ if(event.target.value){
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisablHost',false)
|
|
|
+ }else{
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisablHost',true)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ focus(){
|
|
|
+ self.addDataTableData.map(item=>{
|
|
|
+ item['tooltipDisablHost'] = true
|
|
|
+ })
|
|
|
+ if(row['hostNum']){
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisablHost',false)
|
|
|
+ console.log(self.addDataTableData[index]);
|
|
|
+ }else{
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisablHost',true)
|
|
|
+ }
|
|
|
+
|
|
|
+ self.$forceUpdate()
|
|
|
+ },
|
|
|
+ blur(){
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisablHost',true);
|
|
|
+ self.$forceUpdate()
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- });
|
|
|
+ })
|
|
|
+ ]);
|
|
|
let manageScopeData = [
|
|
|
{id:'写字楼管理范围', name: '写字楼管理范围'},
|
|
|
{id:'合作方管理范围', name: '合作方管理范围'},
|
|
@@ -160,12 +185,11 @@
|
|
|
attrs:{
|
|
|
value:row.manageScope,
|
|
|
selectdata:manageScopeData,
|
|
|
- hideClear:true
|
|
|
+ hideClear:true,
|
|
|
+ placeholder:'请选择管理范围'
|
|
|
},
|
|
|
on:{
|
|
|
change(event){
|
|
|
- console.log(event);
|
|
|
- console.log(self.addDataTableData[index]);
|
|
|
self.$set(self.addDataTableData[index],'manageScope',event.id);
|
|
|
}
|
|
|
}
|
|
@@ -181,23 +205,53 @@
|
|
|
}},
|
|
|
{dataIndex: 'loopNum', title: '回路编号', align: 'center', customRender: (text, row, index) => {
|
|
|
var self = this;
|
|
|
- var child = self.$createElement("a-input", {
|
|
|
- domProps: {
|
|
|
-
|
|
|
- },
|
|
|
+ var child = self.$createElement("el-tooltip", {
|
|
|
attrs:{
|
|
|
- value: text,
|
|
|
- placeholder:'请输入',
|
|
|
- maxLength:15
|
|
|
- },
|
|
|
- on:{
|
|
|
- change(event){
|
|
|
- if(row.isFm=='yes') {
|
|
|
- self.$set(self.examplesTableData2[index], 'loopNum', event.target.value);
|
|
|
+ placement:"top",
|
|
|
+ content:text,
|
|
|
+ manual:true,
|
|
|
+ disabled:row.tooltipDisablLoop,
|
|
|
+ value:!row.tooltipDisablLoop,
|
|
|
+ popperClass:'tooltip-class'
|
|
|
+ }
|
|
|
+ },[
|
|
|
+ self.$createElement("a-input", {
|
|
|
+ attrs:{
|
|
|
+ value: text,
|
|
|
+ placeholder:'请输入',
|
|
|
+ maxLength:15,
|
|
|
+
|
|
|
+ },
|
|
|
+ on:{
|
|
|
+ change(event){
|
|
|
+ if(row.isFm=='1') {
|
|
|
+ self.$set(self.addDataTableData[index], 'loopNum', event.target.value);
|
|
|
+ if(event.target.value){
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisablLoop',false)
|
|
|
+ }else{
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisablLoop',true)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ focus(){
|
|
|
+ self.addDataTableData.map(item=>{
|
|
|
+ item['tooltipDisablLoop'] = true
|
|
|
+ })
|
|
|
+ if(row['loopNum']){
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisablLoop',false)
|
|
|
+ }else{
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisablLoop',true)
|
|
|
+ }
|
|
|
+
|
|
|
+ self.$forceUpdate()
|
|
|
+ },
|
|
|
+ blur(){
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisablLoop',true);
|
|
|
+ self.$forceUpdate()
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
- });
|
|
|
+ })
|
|
|
+ ]);
|
|
|
const obj = {
|
|
|
children: row.isFm=='1'?child:text,
|
|
|
attrs: {},
|
|
@@ -325,7 +379,7 @@
|
|
|
}
|
|
|
return obj;
|
|
|
},},
|
|
|
- {dataIndex: 'fireHydrantCount', title: '消火栓数量', align: 'center', customRender: (text, row, index) => {
|
|
|
+ {dataIndex: 'fireHydrantCount', title: '消火栓数量', align: 'center',width:87, customRender: (text, row, index) => {
|
|
|
var self = this;
|
|
|
var child = self.$createElement("a-input", {
|
|
|
attrs:{
|
|
@@ -479,19 +533,53 @@
|
|
|
{
|
|
|
dataIndex: 'fireZone', title: '分区', align: 'center', customRender: (text, row, index) => {
|
|
|
|
|
|
- var self = this
|
|
|
- var child = self.$createElement("a-input", {
|
|
|
+ var self = this;
|
|
|
+ var child = self.$createElement("el-tooltip", {
|
|
|
attrs:{
|
|
|
- value: text,
|
|
|
- maxLength:15,
|
|
|
- placeholder:'请输入',
|
|
|
+ placement:"top",
|
|
|
+ content:text,
|
|
|
+ manual:true,
|
|
|
+ disabled:row.tooltipDisableFize,
|
|
|
+ value:!row.tooltipDisableFize,
|
|
|
+ popperClass:'tooltip-class'
|
|
|
},
|
|
|
- on:{
|
|
|
- input(event){
|
|
|
- self.$set( self.addDataTableData[index],'fireZone',event.target.value)
|
|
|
+ },[
|
|
|
+ self.$createElement("a-input", {
|
|
|
+ attrs:{
|
|
|
+ value: text,
|
|
|
+ placeholder:'请输入',
|
|
|
+ maxLength:15,
|
|
|
+
|
|
|
+ },
|
|
|
+ on:{
|
|
|
+ change(event){
|
|
|
+ self.$set(self.addDataTableData[index], 'fireZone', event.target.value);
|
|
|
+ if(event.target.value){
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisableFize',false)
|
|
|
+ }else{
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisableFize',true)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ focus(){
|
|
|
+ self.addDataTableData.map(item=>{
|
|
|
+ item['tooltipDisableFize'] = true
|
|
|
+ })
|
|
|
+ if(row['fireZone']){
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisableFize',false)
|
|
|
+ console.log(self.addDataTableData[index]);
|
|
|
+ }else{
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisableFize',true)
|
|
|
+ }
|
|
|
+
|
|
|
+ self.$forceUpdate()
|
|
|
+ },
|
|
|
+ blur(){
|
|
|
+ self.$set( self.addDataTableData[index],'tooltipDisableFize',true);
|
|
|
+ self.$forceUpdate()
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- });
|
|
|
+ })
|
|
|
+ ]);
|
|
|
var obj = {
|
|
|
children: child,
|
|
|
attrs: {},
|
|
@@ -567,6 +655,7 @@
|
|
|
if(this.systemName=='弱电系统') {
|
|
|
this.addDataTableData.map((item,index) => {
|
|
|
item.errorMsg = true;
|
|
|
+ item.tooltipDisableFize = true;
|
|
|
item.key = ''+ new Date().getTime()+index;
|
|
|
})
|
|
|
}
|
|
@@ -578,22 +667,42 @@
|
|
|
item.errorMsg3 = true;
|
|
|
item.errorMsg4 = true;
|
|
|
item.errorMsg5 = true;
|
|
|
+ item.tooltipDisableFize = true;
|
|
|
+ item.tooltipDisablHost = true;
|
|
|
+ item.tooltipDisablLoop = true;
|
|
|
})
|
|
|
}
|
|
|
this.projectId=this.$parent.plazaId;
|
|
|
this.systemCode=this.$parent.smsxt;
|
|
|
this.floor= this.$parent.floorInfo.gname;
|
|
|
this.$nextTick(()=>{
|
|
|
- this.height = document.getElementsByClassName('dialog-right-table')[0].clientHeight-62;
|
|
|
+ this.height =window.innerHeight-205;
|
|
|
window.addEventListener('resize',()=>{
|
|
|
- this.height = document.getElementsByClassName('dialog-right-table')[0].clientHeight-62;
|
|
|
+ this.height = window.innerHeight-205;
|
|
|
})
|
|
|
})
|
|
|
},
|
|
|
methods:{
|
|
|
+ focusTooltip(record,nameBase,name,index){
|
|
|
+ this.addDataTableData.map(item=>{
|
|
|
+ item[name] = true
|
|
|
+ })
|
|
|
+ if(record[nameBase]){
|
|
|
+ this.$set( this.addDataTableData[index],name,false)
|
|
|
+ }else{
|
|
|
+ this.$set( this.addDataTableData[index],name,true)
|
|
|
+ }
|
|
|
+
|
|
|
+ this.$forceUpdate()
|
|
|
+ },
|
|
|
+ blurToopTip(text,index){
|
|
|
+ this.$set( this.addDataTableData[index],text,true);
|
|
|
+ this.$forceUpdate()
|
|
|
+ },
|
|
|
+
|
|
|
//键盘事件
|
|
|
keydown(e){
|
|
|
- if(e.key=='-'||e.key=='+'||e.key=='e'){
|
|
|
+ if(e.key=='-'||e.key=='+'||e.key=='e'||e.key=='.'){
|
|
|
e.preventDefault()
|
|
|
}
|
|
|
},
|
|
@@ -614,7 +723,12 @@
|
|
|
},
|
|
|
//防火分区
|
|
|
getFireZoneFun(text,index){
|
|
|
- this.$set( this.addDataTableData[index],'fireZone',text)
|
|
|
+ this.$set( this.addDataTableData[index],'fireZone',text);
|
|
|
+ if(text){
|
|
|
+ this.$set( this.addDataTableData[index],'tooltipDisableFize',false)
|
|
|
+ }else{
|
|
|
+ this.$set( this.addDataTableData[index],'tooltipDisableFize',true)
|
|
|
+ }
|
|
|
},
|
|
|
//是否属于非工程 物业管理范围
|
|
|
isFmFun(text,index){
|
|
@@ -644,32 +758,35 @@
|
|
|
deleteFun(index){
|
|
|
if(this.systemName=='弱电系统'){
|
|
|
if( this.addDataTableData.length==4){
|
|
|
- console.log(1);
|
|
|
this.addDataTableData.splice(index,4)
|
|
|
let arr = [
|
|
|
{
|
|
|
fireZone: '',
|
|
|
system: '监控系统',
|
|
|
monitorCount: '',
|
|
|
- errorMsg:true
|
|
|
+ errorMsg:true,
|
|
|
+ tooltipDisableFize: true
|
|
|
},
|
|
|
{
|
|
|
fireZone: '',
|
|
|
system: 'BA系统',
|
|
|
baCount: '',
|
|
|
- errorMsg:true
|
|
|
+ errorMsg:true,
|
|
|
+ tooltipDisableFize: true
|
|
|
},
|
|
|
{
|
|
|
fireZone: '',
|
|
|
system: 'DDC',
|
|
|
ddcCount: '',
|
|
|
- errorMsg:true
|
|
|
+ errorMsg:true,
|
|
|
+ tooltipDisableFize: true
|
|
|
},
|
|
|
{
|
|
|
fireZone: '',
|
|
|
system: '门禁系统',
|
|
|
accessCount: '',
|
|
|
- errorMsg:true
|
|
|
+ errorMsg:true,
|
|
|
+ tooltipDisableFize: true
|
|
|
},
|
|
|
];
|
|
|
this.addDataTableData.push(...arr);
|
|
@@ -677,10 +794,7 @@
|
|
|
}else{
|
|
|
this.addDataTableData.splice(index,4)
|
|
|
}
|
|
|
-
|
|
|
- console.log(this.addDataTableData);
|
|
|
-
|
|
|
- }
|
|
|
+ }
|
|
|
if(this.systemName=='消防系统'){
|
|
|
|
|
|
if( this.addDataTableData.length==1){
|
|
@@ -701,6 +815,9 @@
|
|
|
errorMsg3:true,
|
|
|
errorMsg4:true,
|
|
|
errorMsg5:true,
|
|
|
+ tooltipDisableFize : true,
|
|
|
+ tooltipDisablHost : true,
|
|
|
+ tooltipDisablLoop : true,
|
|
|
};
|
|
|
this.addDataTableData.push(obj)
|
|
|
}else{
|
|
@@ -717,32 +834,35 @@
|
|
|
fireZone: '',
|
|
|
system: '监控系统',
|
|
|
monitorCount: '',
|
|
|
- errorMsg:true
|
|
|
+ errorMsg:true,
|
|
|
+ tooltipDisableFize: true
|
|
|
},
|
|
|
{
|
|
|
key :''+new Date().getTime()+2,
|
|
|
fireZone: '',
|
|
|
system: 'BA系统',
|
|
|
baCount: '',
|
|
|
- errorMsg:true
|
|
|
+ errorMsg:true,
|
|
|
+ tooltipDisableFize: true
|
|
|
},
|
|
|
{
|
|
|
key :''+new Date().getTime()+3,
|
|
|
fireZone: '',
|
|
|
system: 'DDC',
|
|
|
ddcCount: '',
|
|
|
- errorMsg:true
|
|
|
+ errorMsg:true,
|
|
|
+ tooltipDisableFize: true
|
|
|
},
|
|
|
{
|
|
|
key :''+new Date().getTime()+4,
|
|
|
fireZone: '',
|
|
|
system: '门禁系统',
|
|
|
accessCount: '',
|
|
|
- errorMsg:true
|
|
|
+ errorMsg:true,
|
|
|
+ tooltipDisableFize: true
|
|
|
},
|
|
|
];
|
|
|
this.addDataTableData.push(...arr);
|
|
|
- // console.log( this.addDataTableData);
|
|
|
}
|
|
|
if(this.systemName=='消防系统'){
|
|
|
let obj = {
|
|
@@ -762,6 +882,9 @@
|
|
|
errorMsg3:true,
|
|
|
errorMsg4:true,
|
|
|
errorMsg5:true,
|
|
|
+ tooltipDisableFize : true,
|
|
|
+ tooltipDisablHost : true,
|
|
|
+ tooltipDisablLoop : true,
|
|
|
};
|
|
|
this.addDataTableData.push(obj)
|
|
|
}
|
|
@@ -771,6 +894,12 @@
|
|
|
},
|
|
|
//消防系统数据处理成保存提交的格式
|
|
|
checkDataFunX(){
|
|
|
+ let postParams = {
|
|
|
+ projectId: this.projectId,
|
|
|
+ systemCode: this.systemCode,
|
|
|
+ floor: this.floor,
|
|
|
+ data:[]
|
|
|
+ }
|
|
|
let data = [];
|
|
|
this.addDataTableData.length && this.addDataTableData.map(item=>{
|
|
|
let obj = {
|
|
@@ -798,21 +927,32 @@
|
|
|
}
|
|
|
|
|
|
})
|
|
|
- console.log(data);
|
|
|
- // params.data = data
|
|
|
- // addDataSaveFireControl({params}).then(res=>{
|
|
|
-
|
|
|
- // })
|
|
|
- this.$message({
|
|
|
- message: '保存成功',
|
|
|
- type: 'success',
|
|
|
+ postParams.data = data
|
|
|
+ addDataSaveFireControl({postParams}).then(res=>{
|
|
|
+ if(res.data.result=='success'){
|
|
|
+ this.$message({
|
|
|
+ message: '保存成功',
|
|
|
+ type: 'success',
|
|
|
+ })
|
|
|
+ this.handelCancel();
|
|
|
+ }else{
|
|
|
+ this.$message({
|
|
|
+ message: '保存失败',
|
|
|
+ type: 'error',
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
- this.handelCancel();
|
|
|
+
|
|
|
},
|
|
|
//弱电系统数据处理成保存提交的格式
|
|
|
checkDataFunR(){
|
|
|
+ let postParams = {
|
|
|
+ projectId: this.projectId,
|
|
|
+ systemCode: this.systemCode,
|
|
|
+ floor: this.floor,
|
|
|
+ data:[]
|
|
|
+ }
|
|
|
let data = [];
|
|
|
- console.log(this.addDataTableData);
|
|
|
this.addDataTableData.length && this.addDataTableData.map((item,index)=>{
|
|
|
let obj = {
|
|
|
fireZone:'', //分区
|
|
@@ -829,28 +969,25 @@
|
|
|
obj.accessCount = this.addDataTableData[index+3].accessCount;
|
|
|
data.push(obj)
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
})
|
|
|
- console.log(data);
|
|
|
- // params.data = data
|
|
|
- // addDataSaveWeakCurrent({params}).then(res=>{
|
|
|
-
|
|
|
- // })
|
|
|
- this.$message({
|
|
|
- message: '保存成功',
|
|
|
- type: 'success',
|
|
|
+ postParams.data = data
|
|
|
+ addDataSaveWeakCurrent({postParams}).then(res=>{
|
|
|
+ if(res.data.result=='success'){
|
|
|
+ this.$message({
|
|
|
+ message: '保存成功',
|
|
|
+ type: 'success',
|
|
|
+ })
|
|
|
+ this.handelCancel();
|
|
|
+ }else{
|
|
|
+ this.$message({
|
|
|
+ message: '保存失败',
|
|
|
+ type: 'error',
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
- this.handelCancel();
|
|
|
},
|
|
|
//保存
|
|
|
handelSave(){
|
|
|
- // let params = {
|
|
|
- // projectId: this.projectId,
|
|
|
- // systemCode: this.systemCode,
|
|
|
- // floor: this.floor,
|
|
|
- // data:[]
|
|
|
- // }
|
|
|
let flag = false;
|
|
|
if(this.systemName=='弱电系统'){
|
|
|
this.addDataTableData.length && this.addDataTableData.map(item=>{
|
|
@@ -866,7 +1003,6 @@
|
|
|
this.visibleDisabled = true;
|
|
|
this.checkDataFunR();
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
if(this.systemName=='消防系统'){
|
|
|
|
|
@@ -881,7 +1017,6 @@
|
|
|
flag = true;
|
|
|
}
|
|
|
});
|
|
|
- console.log(flag);
|
|
|
if(flag){
|
|
|
this.visibleDisabled = false;
|
|
|
return ;
|
|
@@ -889,8 +1024,6 @@
|
|
|
this.visibleDisabled = true;
|
|
|
this.checkDataFunX();
|
|
|
}
|
|
|
- console.log(this.addDataTableData);
|
|
|
-
|
|
|
}
|
|
|
},
|
|
|
//核实
|
|
@@ -1051,3 +1184,10 @@
|
|
|
}
|
|
|
}
|
|
|
</style>
|
|
|
+<style lang="less">
|
|
|
+ .tooltip-class{
|
|
|
+ width: 200px!important;
|
|
|
+ text-align: center!important;
|
|
|
+ font-size:12px!important;
|
|
|
+ }
|
|
|
+</style>
|