Merge branch 'master-v32-xwx' into 'master'
杭州-税务大屏-近三十天访问量样式调整 See merge request !226
Showing
3 changed files
with
22 additions
and
8 deletions
@@ -77,15 +77,29 @@ export default { | @@ -77,15 +77,29 @@ export default { | ||
77 | let params={ | 77 | let params={ |
78 | id:item.id | 78 | id:item.id |
79 | } | 79 | } |
80 | - $.get(proxy.domainName +proxy.apiUrl1+'?access_token='+localStorage.getItem('access_token'),params,function (res) { | ||
81 | - if(res){ | ||
82 | - proxy.$global.confirm("确认删除数据吗?", function () { | ||
83 | - proxy.$global.showMsg("删除成功","warning") | 80 | + |
81 | + proxy.$global.confirm("确认删除数据吗?", function () { | ||
82 | + if (true){ | ||
83 | + $.get(proxy.domainName +proxy.apiUrl1+'?access_token='+localStorage.getItem('access_token'),params,function (){ | ||
84 | + proxy.$global.showMsg("删除成功","warning"); | ||
84 | proxy.getData(); | 85 | proxy.getData(); |
85 | }) | 86 | }) |
86 | - | 87 | + } |
88 | + else { | ||
89 | + proxy.$global.showMsg("删除失败","warning"); | ||
87 | } | 90 | } |
88 | }) | 91 | }) |
92 | + | ||
93 | + | ||
94 | + // $.get(proxy.domainName +proxy.apiUrl1+'?access_token='+localStorage.getItem('access_token'),params,function (res) { | ||
95 | + // if(res){ | ||
96 | + // proxy.$global.confirm("确认删除数据吗?", function () { | ||
97 | + // proxy.$global.showMsg("删除成功","warning") | ||
98 | + // proxy.getData(); | ||
99 | + // }) | ||
100 | + // | ||
101 | + // } | ||
102 | + // }) | ||
89 | } | 103 | } |
90 | const handleUpdate=(item)=>{ | 104 | const handleUpdate=(item)=>{ |
91 | window.top.location.href = window.top.location.origin + '/#/analysis/view/id=' +item.id; | 105 | window.top.location.href = window.top.location.origin + '/#/analysis/view/id=' +item.id; |
@@ -51,9 +51,9 @@ | @@ -51,9 +51,9 @@ | ||
51 | <div class='info-text'>设备信息</div> | 51 | <div class='info-text'>设备信息</div> |
52 | <div class='info-text-bot'> | 52 | <div class='info-text-bot'> |
53 | <p>资源名称:{{deviceDataInfo.resName}}</p> | 53 | <p>资源名称:{{deviceDataInfo.resName}}</p> |
54 | - <p>品 牌:{{deviceDataInfo.brandName}}</p> | 54 | + <p>品 牌:{{deviceDataInfo.brand}}</p> |
55 | <p>型 号:{{deviceDataInfo.model}}</p> | 55 | <p>型 号:{{deviceDataInfo.model}}</p> |
56 | - <p>序 列 号:{{deviceDataInfo.serialNumber}}</p> | 56 | + <p>序 列 号:{{deviceDataInfo.serialnumber}}</p> |
57 | <p>业 务 IP:{{deviceDataInfo.ip}}</p> | 57 | <p>业 务 IP:{{deviceDataInfo.ip}}</p> |
58 | <p>用 途:{{deviceDataInfo.purpose}}</p> | 58 | <p>用 途:{{deviceDataInfo.purpose}}</p> |
59 | </div> | 59 | </div> |
-
Please register or login to post a comment