Commit af93319d by 王志慧

fixed

1 parent 840c8fc4
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</div> </div>
<div slot="bindingStatus" slot-scope="scope"> <div slot="bindingStatus" slot-scope="scope">
<span class="status-class" :style="{ 'background-color': bindingStatusEnum[scope.scope.bindingStatus] }"></span> <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>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</el-button> </el-button>
<input type="file" style="opacity: 0" ref="file" accept="*" @change="uploadFile" /> <input type="file" style="opacity: 0" ref="file" accept="*" @change="uploadFile" />
</div> </div>
<a :href="tempUrl" target="_blank">下载模板</a> <a :href="tempUrl" target="_blank" >下载模板</a>
</div> </div>
</el-form-item> </el-form-item>
<div class="tip">支持扩展名:xlsx、xls、csv</div> <div class="tip">支持扩展名:xlsx、xls、csv</div>
...@@ -201,11 +201,12 @@ export default { ...@@ -201,11 +201,12 @@ export default {
}, },
{ {
id: 1, id: 1,
label: '绑定' label: '已绑定'
} }
] ]
}, },
deviceStatusEnum: ['#999999', '#2CCA74', '#EB4E4E'], deviceStatusEnum: ['#999999', '#2CCA74', '#EB4E4E'],
bindingStatusList:['未绑定','已绑定'],
bindingStatusEnum: ['#999999', '#2CCA74'] bindingStatusEnum: ['#999999', '#2CCA74']
} }
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!