优化
This commit is contained in:
parent
73af53097b
commit
2a211e67de
@ -3,9 +3,10 @@
|
||||
<div class="performance">
|
||||
<SmallNav v-if="!isNoRouter"/>
|
||||
<div class="performance-content boderAndRadius">
|
||||
<el-cascader
|
||||
<div v-if="isNoRouter" class="isNoRouter commonFont" >
|
||||
<div style="margin-right:20px;">我的绩效</div>
|
||||
<el-cascader
|
||||
v-if="isNoRouter"
|
||||
style="margin:0 0 20px 0;"
|
||||
:key="key"
|
||||
v-model="startId"
|
||||
size="mini"
|
||||
@ -13,6 +14,8 @@
|
||||
:options="timeOptions"
|
||||
@change="handleChange"
|
||||
></el-cascader>
|
||||
</div>
|
||||
|
||||
<div v-if="!isNoList" class="performance-content-title">
|
||||
<InfoHeader :obj="{
|
||||
src:obj.avatar || '',
|
||||
@ -263,7 +266,10 @@ export default {
|
||||
this.isNoList = res.code !== 200
|
||||
if (res.code !== 200) {
|
||||
this.resultRecordId = ''
|
||||
return this.$message.error(res.msg)
|
||||
if (!this.isNoRouter) {
|
||||
this.$message.error(res.msg)
|
||||
}
|
||||
return
|
||||
}
|
||||
this.startIds = res.data.startId
|
||||
this.resultRecordId = res.data.id
|
||||
@ -303,6 +309,11 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang='less' scoped>
|
||||
.isNoRouter{
|
||||
display: flex;
|
||||
margin: 0 0 28px 0;
|
||||
align-items: center;
|
||||
}
|
||||
.performance {
|
||||
overflow: auto;
|
||||
.chooseManage-item {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user