|
@@ -20,8 +20,16 @@
|
|
|
</div>
|
|
|
<BasicTable @register="registerTable" @editEnd="editEnd">
|
|
|
<template #toolbar>
|
|
|
- <a-button type="primary" v-if="getCheckPerm('feedback-configures')" @click="router.push('/operate/configuration')"> 选项配置 </a-button>
|
|
|
- <a-button type="primary" v-if="getCheckPerm('feedback-export')" @click="downTemplate({})"> 导出 </a-button>
|
|
|
+ <a-button
|
|
|
+ type="primary"
|
|
|
+ v-if="getCheckPerm('feedback-configures')"
|
|
|
+ @click="router.push('/operate/configuration')"
|
|
|
+ >
|
|
|
+ 选项配置
|
|
|
+ </a-button>
|
|
|
+ <a-button type="primary" v-if="getCheckPerm('feedback-export')" @click="downTemplate({})">
|
|
|
+ 导出
|
|
|
+ </a-button>
|
|
|
</template>
|
|
|
<template #action="{ record }">
|
|
|
<TableAction
|
|
@@ -161,6 +169,9 @@
|
|
|
title: '国家和地区',
|
|
|
dataIndex: 'address',
|
|
|
width: 150,
|
|
|
+ customRender: ({ record }) => {
|
|
|
+ return record.address.replace(',', '') || '-';
|
|
|
+ },
|
|
|
},
|
|
|
{
|
|
|
title: '评分',
|
|
@@ -315,10 +326,10 @@
|
|
|
canResize: true,
|
|
|
});
|
|
|
onMounted(() => {
|
|
|
- getScoreAug().then(res => {
|
|
|
- score.value = res
|
|
|
- loading.value = false
|
|
|
- })
|
|
|
+ getScoreAug().then((res) => {
|
|
|
+ score.value = res;
|
|
|
+ loading.value = false;
|
|
|
+ });
|
|
|
});
|
|
|
async function handleDelete(record: Recordable) {
|
|
|
await employNoteDelete({ id: record.id });
|
|
@@ -379,7 +390,7 @@
|
|
|
.scoreTitle {
|
|
|
margin: 10px 0;
|
|
|
}
|
|
|
- .scoreList{
|
|
|
+ .scoreList {
|
|
|
// display: flex;
|
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
@@ -390,10 +401,10 @@
|
|
|
padding: 10px 20px 0 20px;
|
|
|
margin-right: 20px;
|
|
|
width: calc(100% / 6 - 20px);
|
|
|
- border: 1px solid #444
|
|
|
+ border: 1px solid #444;
|
|
|
}
|
|
|
}
|
|
|
- ::v-deep .ant-collapse-item{
|
|
|
+ ::v-deep .ant-collapse-item {
|
|
|
background: #fff;
|
|
|
border: none;
|
|
|
}
|