fix: 修改点击事件。
This commit is contained in:
@@ -45,26 +45,8 @@
|
||||
</el-link>
|
||||
</template>
|
||||
<template #menu-left>
|
||||
<el-button
|
||||
type="success"
|
||||
@click="
|
||||
dialogTagging = true
|
||||
taggingType = 'tagging'
|
||||
"
|
||||
icon="el-icon-document"
|
||||
v-hasPermi="['wxmp:wxuser:tagging']"
|
||||
>打标签
|
||||
</el-button>
|
||||
<el-button
|
||||
type="warning"
|
||||
@click="
|
||||
dialogTagging = true
|
||||
taggingType = 'unTagging'
|
||||
"
|
||||
icon="el-icon-document"
|
||||
v-hasPermi="['wxmp:wxuser:tagging']"
|
||||
>去除标签
|
||||
</el-button>
|
||||
<el-button type="success" @click="taggingClick" icon="el-icon-document" v-hasPermi="['wxmp:wxuser:tagging']">打标签 </el-button>
|
||||
<el-button type="warning" @click="unTaggingClick" icon="el-icon-document" v-hasPermi="['wxmp:wxuser:tagging']">去除标签 </el-button>
|
||||
<el-button type="danger" @click="synchroWxUserF" icon="el-icon-refresh" v-hasPermi="['wxmp:wxuser:synchro']">同步用户 </el-button>
|
||||
<el-dialog :title="taggingType == 'tagging' ? '请选择要打的标签' : '请选择要去除的标签'" v-model="dialogTagging" width="30%">
|
||||
<el-checkbox-group v-model="checkedTags">
|
||||
@@ -377,6 +359,17 @@ function handleSave(row, done, loading) {
|
||||
function refreshChange(page) {
|
||||
getPageF(data.page)
|
||||
}
|
||||
|
||||
/** 打标签 */
|
||||
function taggingClick() {
|
||||
dialogTagging.value = true
|
||||
taggingType.value = 'tagging'
|
||||
}
|
||||
/** 取消打标签 */
|
||||
function unTaggingClick() {
|
||||
dialogTagging.value = true
|
||||
taggingType.value = 'unTagging'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
|
||||
Reference in New Issue
Block a user