feat(address-book): 添加通讯录导入导出功能
This commit is contained in:
1
auto-imports.d.ts
vendored
1
auto-imports.d.ts
vendored
@@ -6,6 +6,7 @@ export {}
|
||||
declare global {
|
||||
const EffectScope: typeof import('vue')['EffectScope']
|
||||
const ElMessage: typeof import('element-plus/es')['ElMessage']
|
||||
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
|
||||
const computed: typeof import('vue')['computed']
|
||||
const createApp: typeof import('vue')['createApp']
|
||||
const customRef: typeof import('vue')['customRef']
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user