Commit fb287258 by zhangquan

Merge branch 'yc_v1.0.0' of http://192.168.3.233:8090/saas/scrm-micro-charge into yc_v1.0.0

2 parents 189ee99b 3258adf1
......@@ -19,7 +19,7 @@
</div>
<div slot="bindingStatus" slot-scope="scope">
<span class="status-class" :style="{ 'background-color': bindingStatusEnum[scope.scope.bindingStatus] }"></span>
<span>{{ scope.scope.bindingStatusStr }}</span>
<span>{{ bindingStatusList[scope.scope.bindingStatus] }}</span>
</div>
<div class="table-btns" slot="auth-button" slot-scope="scope">
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
......@@ -39,7 +39,7 @@
</el-button>
<input type="file" style="opacity: 0" ref="file" accept="*" @change="uploadFile" />
</div>
<a :href="tempUrl" target="_blank">下载模板</a>
<a href="javascript:void(0);" @click="exportLink">下载模板</a>
</div>
</el-form-item>
<div class="tip">支持扩展名:xlsx、xls、csv</div>
......@@ -201,11 +201,12 @@ export default {
},
{
id: 1,
label: '绑定'
label: '已绑定'
}
]
},
deviceStatusEnum: ['#999999', '#2CCA74', '#EB4E4E'],
bindingStatusList:['未绑定','已绑定'],
bindingStatusEnum: ['#999999', '#2CCA74']
}
},
......@@ -348,6 +349,14 @@ export default {
this.isBatch = true
this.batchForm.isUpload = false
},
exportLink(e) {
// if (e && e.preventDefault) {
// e.preventDefault()
// } else {
// e.returnValue=false
// }
window.location.href = this.tempUrl
},
getParams() {
var params = JSON.parse(JSON.stringify(this.searchForm))
if (this.searchForm.increaseTime&&this.searchForm.increaseTime.length) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!