Commit fda56a5b by 任建

rj

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