mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-10 20:57:14 +08:00
优化:优化新增关键词 create => add
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="toCreate">
|
||||
<a-button type="primary" @click="toAdd">
|
||||
<template #icon><icon-plus /></template>新增
|
||||
</a-button>
|
||||
<a-button
|
||||
@@ -361,7 +361,7 @@
|
||||
/**
|
||||
* 打开新增对话框
|
||||
*/
|
||||
const toCreate = () => {
|
||||
const toAdd = () => {
|
||||
reset();
|
||||
listDeptTree({}).then((res) => {
|
||||
treeData.value = res.data;
|
||||
|
@@ -42,7 +42,7 @@
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="toCreate">
|
||||
<a-button type="primary" @click="toAdd">
|
||||
<template #icon><icon-plus /></template>新增
|
||||
</a-button>
|
||||
<a-button
|
||||
@@ -404,7 +404,7 @@
|
||||
/**
|
||||
* 打开新增对话框
|
||||
*/
|
||||
const toCreate = () => {
|
||||
const toAdd = () => {
|
||||
reset();
|
||||
listMenuTree({}).then((res) => {
|
||||
treeData.value = res.data;
|
||||
|
@@ -42,7 +42,7 @@
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="toCreate">
|
||||
<a-button type="primary" @click="toAdd">
|
||||
<template #icon><icon-plus /></template>新增
|
||||
</a-button>
|
||||
<a-button
|
||||
@@ -342,7 +342,7 @@
|
||||
/**
|
||||
* 打开新增对话框
|
||||
*/
|
||||
const toCreate = () => {
|
||||
const toAdd = () => {
|
||||
reset();
|
||||
title.value = '新增岗位';
|
||||
visible.value = true;
|
||||
|
@@ -42,7 +42,7 @@
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="toCreate">
|
||||
<a-button type="primary" @click="toAdd">
|
||||
<template #icon><icon-plus /></template>新增
|
||||
</a-button>
|
||||
<a-button
|
||||
@@ -470,7 +470,7 @@
|
||||
/**
|
||||
* 打开新增对话框
|
||||
*/
|
||||
const toCreate = () => {
|
||||
const toAdd = () => {
|
||||
reset();
|
||||
getMenuTree();
|
||||
title.value = '新增角色';
|
||||
|
@@ -62,7 +62,7 @@
|
||||
<a-row>
|
||||
<a-col :span="12">
|
||||
<a-space>
|
||||
<a-button type="primary" @click="toCreate">
|
||||
<a-button type="primary" @click="toAdd">
|
||||
<template #icon><icon-plus /></template>新增
|
||||
</a-button>
|
||||
<a-button
|
||||
@@ -603,7 +603,7 @@
|
||||
/**
|
||||
* 打开新增对话框
|
||||
*/
|
||||
const toCreate = () => {
|
||||
const toAdd = () => {
|
||||
reset();
|
||||
getDeptOptions();
|
||||
getPostOptions();
|
||||
|
Reference in New Issue
Block a user