修改了人员绩效的页面

This commit is contained in:
chenze 2024-08-08 16:13:30 +08:00
parent 6fe0274bb3
commit 56b91dd996

View File

@ -17,9 +17,8 @@
</a-row>
</a-form>
</div>
<div class="table-operator">
<a-button v-if="addEnable" type="primary" icon="plus" @click="$refs.modal.add()">新建</a-button>
</div>
<a-tabs default-active-key="1" @change="callback">
<a-tab-pane key="1" tab="维修人员">
<s-table
size="default"
ref="table"
@ -33,11 +32,28 @@
<span slot="action" slot-scope="text, record">
<a v-if="editEnabel" @click="handleView(record.id)">详情</a>
<a-divider type="vertical" />
<!-- <a v-if="editEnabel" @click="handleEdit(record)">指派</a>-->
<!-- <a-divider type="vertical" />-->
<a v-if="editEnabel" @click="handleComplete(record)">完成</a>
</span>
</s-table>
</a-tab-pane>
<a-tab-pane key="2" tab="楼层负责人" force-render>
<s-table
size="default"
ref="table"
rowKey="id"
:columns="floorColumns"
:data="loadData"
>
<span slot="status" slot-scope="text">
{{ text | statusFilter }}
</span>
<span slot="action" slot-scope="text, record">
<a v-if="editEnabel" @click="handleView(record.id)">详情</a>
<!-- <a v-if="editEnabel" @click="handleEdit(record)">指派</a>-->
<!-- <a-divider type="vertical" />-->
</span>
</s-table>
</a-tab-pane>
</a-tabs>
</a-card>
</template>
@ -67,6 +83,51 @@ export default {
advanced: false,
//
queryParam: {},
floorColumns: [
{
title: '楼层负责人',
dataIndex: 'userName'
},
{
title: '所属楼层',
dataIndex: 'typeName'
},
{
title: '工单总数',
dataIndex: 'repairDeviceName'
},
{
title: '已完成',
dataIndex: 'status'
},
{
title: '未解决',
dataIndex: 'repairLevel'
},
{
title: '处理中',
dataIndex: 'userName'
},
{
title: '好评数量好评率',
dataIndex: 'repairTime'
},
{
title: '中评数量中评率',
dataIndex: 'repairTime'
},
{
title: '差评数量差评率',
dataIndex: 'repairTime'
},
{
title: '操作',
width: '200px',
dataIndex: 'action',
scopedSlots: { customRender: 'action' }
}
],
//
columns: [
{
@ -137,6 +198,10 @@ export default {
created () {
},
methods: {
callback(){
},
handleAdd () {
this.$refs.modal.add()
},