feat(address-book): 添加通讯录导入导出功能
This commit is contained in:
@@ -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