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