|
|
@@ -81,16 +81,19 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <el-dialog
|
|
|
- title="温馨提示"
|
|
|
- :visible.sync="centerDialogVisible"
|
|
|
- width="30%">
|
|
|
- <span style="font-size: 14px;">您目前是个人账户登录,请 <strong>绑定企业</strong> </span>
|
|
|
- <span slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="centerDialogVisible = false">立即绑定</el-button>
|
|
|
- <el-button @click="centerDialogVisible = false">暂不绑定</el-button>
|
|
|
+ <template>
|
|
|
+ <el-dialog
|
|
|
+ title="温馨提示"
|
|
|
+ :visible.sync="centerDialogVisible"
|
|
|
+ width="30%"
|
|
|
+ @close="noBingClick">
|
|
|
+ <span style="font-size: 14px;">您目前是个人账户登录,请 <strong>绑定企业</strong>。 </span>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="bingEnterpriseClick">立即绑定</el-button>
|
|
|
+ <el-button @click="noBingClick">暂不绑定</el-button>
|
|
|
</span>
|
|
|
- </el-dialog>
|
|
|
+ </el-dialog>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -117,7 +120,7 @@
|
|
|
}
|
|
|
},
|
|
|
created: function () {
|
|
|
- this.user.userspace ? this.centerDialogVisible = false : this.centerDialogVisible = true
|
|
|
+ // this.user.userspace ? this.centerDialogVisible = false : this.centerDialogVisible = true
|
|
|
},
|
|
|
computed: {
|
|
|
user () {
|
|
|
@@ -131,6 +134,13 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ bingEnterpriseClick: function () {
|
|
|
+ window.location.href = '/bingEnterPrise'
|
|
|
+ },
|
|
|
+ noBingClick: function () {
|
|
|
+ window.location.href = '/cloudcenter'
|
|
|
+ this.centerDialogVisible = false
|
|
|
+ },
|
|
|
handleApplyChange: function (page) {
|
|
|
this.$store.dispatch('loadApplyList', {page: page, size: 20})
|
|
|
},
|
|
|
@@ -179,14 +189,14 @@
|
|
|
</script>
|
|
|
|
|
|
<style scoped type="text/scss" lang="scss">
|
|
|
- .el-dialog__wrapper{
|
|
|
- z-index:10000;
|
|
|
+ .w-over-box table tbody tr:hover {
|
|
|
+ background: #d0e5f5!important;
|
|
|
}
|
|
|
- .el-dialog__body{
|
|
|
- text-align: center;
|
|
|
+ .table-striped>tbody>tr:nth-of-type(even){
|
|
|
+ background: #f4f4f4!important;
|
|
|
}
|
|
|
- .el-dialog__footer{
|
|
|
- text-align: center;
|
|
|
+ .table-striped>tbody>tr:nth-of-type(odd){
|
|
|
+ background: #fff!important;
|
|
|
}
|
|
|
.manager{
|
|
|
background: #eee;
|