Commit fda56a5b by 任建

rj

parent c656cd84
......@@ -11,6 +11,14 @@
box-sizing: border-box;
padding: 30px;
}
.tmbigdatadetail-loading{
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 999;
}
.tmbigdatadetail-header-title {
width: 100%;
overflow: hidden;
......
<div class="tmbigdatadetail">
<div class="tmbigdatadetail-loading" v-if="loading" v-loading="true"></div>
<div class="tmbigdatadetail-header">
<div class="tmbigdatadetail-header-title">
<div class="name">{{titleName}}</div>
......
......@@ -124,7 +124,8 @@
}
]
},
titleName: ''
titleName: '',
loading:false
}
},
......@@ -159,9 +160,9 @@
} else {
return
};
this.$root.loading = true;
this.loading = true;
this.$root.postReq(url, obj).then((d) => {
this.$root.loading = false;
this.loading = false;
console.log(d, '#######################################');
this.tableData = d.data.datalist;
var echarts = this.$refs.theTotalLogoRef.getEchartObj();
......@@ -188,7 +189,7 @@
});
this.$forceUpdate();
}).catch(function (e) {
this.$root.loading = false;
this.loading = false;
that.$message.warning(`操作失败,请刷新页面后重新操作`);
});
}
......
......@@ -134,9 +134,16 @@
methods: {
/*字数长度 */
selectedCharatCommand(v) {
console.log(v,"zishuchangdu");
this.selectedCharat = this.nameLength[v];
let num = parseInt(this.selectedCharat);
/*修改后的值 */
if(this.selectedStructure.length>num){
this.selectedStructure = "请选择商标包含结构";
};
if(this.inputLength>num){
this.inputValue = "";
};
var newNum = this.inputPlaceholder.replace(/[0-9]/, num);
console.log(this.selectedCharat, num, newNum);
this.StructureLength(num);
......@@ -164,6 +171,7 @@
},
/*包含结构 */
selectedStructureCommand(v){
console.log(v,"123");
this.selectedStructure = this.brandStructure[v];
console.log(this.selectedStructure);
},
......@@ -277,7 +285,7 @@
this.loading = true;
this.$root.postReq('/web/tmquery/toolCtl/getHotWords', obj).then((d) => {
this.loading = false;
console.log(d);
console.log(d,'123123');
this.hotCharat = d.data;
this.$nextTick(() => {
this.randomColor();
......@@ -327,7 +335,6 @@
watch: {
inputValue(o, v){
this.inputValue = this.inputValue.substr(0, this.inputLength);
console.log(this.inputValue);
},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment