|
@@ -70,10 +70,7 @@
|
|
>
|
|
>
|
|
静态信息
|
|
静态信息
|
|
<img
|
|
<img
|
|
- @click.stop="
|
|
|
|
- AssesTabSHow = true;
|
|
|
|
- AssesComSHow = true;
|
|
|
|
- "
|
|
|
|
|
|
+ @click.stop="handleStaticTab"
|
|
src="@/images/tab_add.png"
|
|
src="@/images/tab_add.png"
|
|
alt=""
|
|
alt=""
|
|
v-if="AssesComSHow && !AssesTabSHow"
|
|
v-if="AssesComSHow && !AssesTabSHow"
|
|
@@ -509,6 +506,11 @@ export default {
|
|
div.scrollTop -= Math.abs(dom) + 120;
|
|
div.scrollTop -= Math.abs(dom) + 120;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ handleStaticTab() {
|
|
|
|
+ this.AssesTabSHow = true;
|
|
|
|
+ this.AssesComSHow = true;
|
|
|
|
+ this.tabActiveChange("two");
|
|
|
|
+ },
|
|
handleAssesTab() {
|
|
handleAssesTab() {
|
|
this.staticTabShow = true;
|
|
this.staticTabShow = true;
|
|
this.form.prags = [
|
|
this.form.prags = [
|
|
@@ -522,6 +524,7 @@ export default {
|
|
text: ""
|
|
text: ""
|
|
}
|
|
}
|
|
];
|
|
];
|
|
|
|
+ this.tabActiveChange("one");
|
|
},
|
|
},
|
|
closeStaticTab() {
|
|
closeStaticTab() {
|
|
this.$alert("确定要删除该标签?删除后该标签内容将会被清空!", "提示", {
|
|
this.$alert("确定要删除该标签?删除后该标签内容将会被清空!", "提示", {
|
|
@@ -555,7 +558,9 @@ export default {
|
|
tabActiveChange(type) {
|
|
tabActiveChange(type) {
|
|
this.tabActive = type;
|
|
this.tabActive = type;
|
|
if (type == "two") {
|
|
if (type == "two") {
|
|
- this.$refs.assessRef.resizeTable();
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.$refs.assessRef.resizeTable();
|
|
|
|
+ }, 200);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleClear() {
|
|
handleClear() {
|