{{
+
{{
msgCompany
}}
@@ -122,10 +122,6 @@
style="width: 100%; height: 380px; border: none"
class="iframeBox"
>
-
@@ -154,6 +150,7 @@ export default {
console.log(this.multipleSelection);
this.msgisShow = true;
this.termInfo = this.multipleSelection[0];
+ console.log("aaaaaaaa", this.msgtype);
//安徽的短信平台
if (this.msgtype == 4) {
// 创建一个新的DOM解析器
@@ -161,10 +158,8 @@ export default {
// 将HTML字符串解析为文档对象
const doc = parser.parseFromString(this.msgListData, "text/html");
console.log(doc);
-
// 查找并删除指定的元素
const divToRemove = doc.getElementsByClassName("larry-personal");
-
while (divToRemove.length > 0) {
// elements[elements.length - 1] 获取最后一个元素
// 因为我们从后往前删除,所以索引不会受到前面删除操作的影响
@@ -175,7 +170,7 @@ export default {
// 返回修改后的HTML字符串
console.log(doc.documentElement.outerHTML);
//console.log(this.msgListData);
- this.modifiedMsgListData = doc.documentElement.outerHTML
+ let modifiedHtml = doc.documentElement.outerHTML
.replace(
/\/wulw\/static\/layui\/css\/layui\.css\?v=26/g,
"https://www.lwwlkj.com/wulw/static/layui/css/layui.css?v=26"
@@ -193,11 +188,15 @@ export default {
"https://www.lwwlkj.com/wulw/static/css/global.css?v=26"
);
console.log(this.modifiedMsgListData);
+ this.$nextTick(() => {
+ this.modifiedMsgListData = modifiedHtml;
+ });
}
},
handleclose() {
this.msgisShow = false;
+ this.modifiedMsgListData = "";
},
},
};
@@ -209,6 +208,7 @@ export default {
.msgTbale {
.msgHead {
margin-bottom: 8px;
+ width: 50%;
}
}
.tableBox {
@@ -220,7 +220,7 @@ export default {
}
.anhui {
iframe {
- background-color: #fcc;
+ //background-color: #fcc;
.larry-personal {
display: none;
}
diff --git a/src/views/homePage/components/tableMain.vue b/src/views/homePage/components/tableMain.vue
index 630a967..2bd23e6 100644
--- a/src/views/homePage/components/tableMain.vue
+++ b/src/views/homePage/components/tableMain.vue
@@ -19,6 +19,9 @@
发送短信
+
+ 修改ICCID
+
@@ -704,6 +707,11 @@
{{ scope.row.mntnStatus.lastIp }}
+
+
+ {{ scope.row.mntnStatus.reportMap.night415 }}
+
+
查询短信
+
+
{
+ this.$refs.msglistRef.display();
+ });
} else {
this.$message({
duration: 1500,