feat(address-book): 添加通讯录导入导出功能

This commit is contained in:
dj
2024-12-07 21:35:47 +08:00
parent f4b0199ef8
commit 93f454e7d8
3 changed files with 3 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
:before-upload="beforeUpload"
:on-remove="handleRemove"
>
<el-button color="#DED0B2" style="margin-left: 10px; margin-right: 10px;" :loading="loading" v-perm="['order:contacts:import']" :disabled="disabled">导入</el-button>
<el-button type="warning" style="margin-left: 10px; margin-right: 10px;" :loading="loading" v-perm="['order:contacts:import']" :disabled="disabled">导入</el-button>
</el-upload>
</template>

View File

@@ -298,6 +298,7 @@ const searchAddressBook = (val) => {
addressBookTableConfig.params = obj
tableIns.value.refresh()
}
//通讯录导入
const importAddress = () => {
tableIns.value.refresh()
}
@@ -317,10 +318,7 @@ const headBtnClick = (key) => {
break;
}
}
//通讯录导入
const handleImport = () => {
}
//通讯录导出
const handleExport = () => {
exportContact().then(res => {