style: 修改codegen命名
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
plain
|
||||
icon="Plus"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['codeGun:table:add']"
|
||||
v-hasPermi="['codeGen:table:add']"
|
||||
>新增</el-button
|
||||
>
|
||||
</el-col>
|
||||
@@ -72,7 +72,7 @@
|
||||
icon="Edit"
|
||||
:disabled="single"
|
||||
@click="handleUpdate"
|
||||
v-hasPermi="['codeGun:table:edit']"
|
||||
v-hasPermi="['codeGen:table:edit']"
|
||||
>修改</el-button
|
||||
>
|
||||
</el-col>
|
||||
@@ -83,7 +83,7 @@
|
||||
icon="Delete"
|
||||
:disabled="multiple"
|
||||
@click="handleDelete"
|
||||
v-hasPermi="['codeGun:table:remove']"
|
||||
v-hasPermi="['codeGen:table:remove']"
|
||||
>删除</el-button
|
||||
>
|
||||
</el-col>
|
||||
@@ -93,7 +93,7 @@
|
||||
plain
|
||||
icon="Download"
|
||||
@click="handleExport"
|
||||
v-hasPermi="['codeGun:table:export']"
|
||||
v-hasPermi="['codeGen:table:export']"
|
||||
>导出</el-button
|
||||
>
|
||||
</el-col>
|
||||
@@ -104,7 +104,7 @@
|
||||
plain
|
||||
icon="Switch"
|
||||
@click="handleExport"
|
||||
v-hasPermi="['codeGun:table:export']"
|
||||
v-hasPermi="['codeGen:table:export']"
|
||||
>同步数据库WebToDb</el-button
|
||||
>
|
||||
</el-col> -->
|
||||
@@ -115,7 +115,7 @@
|
||||
icon="Switch"
|
||||
@click="handleWebToCode"
|
||||
:disabled="ids.length==0"
|
||||
v-hasPermi="['codeGun:table:export']"
|
||||
v-hasPermi="['codeGen:table:export']"
|
||||
>代码生成WebToCode</el-button
|
||||
>
|
||||
</el-col>
|
||||
@@ -126,7 +126,7 @@
|
||||
plain
|
||||
icon="Switch"
|
||||
@click="handleCodeToWeb"
|
||||
v-hasPermi="['codeGun:table:export']"
|
||||
v-hasPermi="['codeGen:table:export']"
|
||||
>实体同步CodeToWeb</el-button
|
||||
>
|
||||
</el-col>
|
||||
@@ -243,7 +243,7 @@ import {
|
||||
addData,
|
||||
updateData,
|
||||
} from "@/api/code/tableApi";
|
||||
import { codeToWeb,webToCode } from "@/api/code/codeGunApi";
|
||||
import { codeToWeb,webToCode } from "@/api/code/codeGenApi";
|
||||
const { proxy } = getCurrentInstance();
|
||||
const { sys_normal_disable } = proxy.useDict("sys_normal_disable");
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
plain
|
||||
icon="Plus"
|
||||
@click="handleAdd"
|
||||
v-hasPermi="['codeGun:template:add']"
|
||||
v-hasPermi="['codeGen:template:add']"
|
||||
>新增</el-button
|
||||
>
|
||||
</el-col>
|
||||
@@ -57,7 +57,7 @@
|
||||
icon="Edit"
|
||||
:disabled="single"
|
||||
@click="handleUpdate"
|
||||
v-hasPermi="['codeGun:template:edit']"
|
||||
v-hasPermi="['codeGen:template:edit']"
|
||||
>修改</el-button
|
||||
>
|
||||
</el-col>
|
||||
@@ -68,7 +68,7 @@
|
||||
icon="Delete"
|
||||
:disabled="multiple"
|
||||
@click="handleDelete"
|
||||
v-hasPermi="['codeGun:template:remove']"
|
||||
v-hasPermi="['codeGen:template:remove']"
|
||||
>删除</el-button
|
||||
>
|
||||
</el-col>
|
||||
@@ -78,7 +78,7 @@
|
||||
plain
|
||||
icon="Download"
|
||||
@click="handleExport"
|
||||
v-hasPermi="['codeGun:template:export']"
|
||||
v-hasPermi="['codeGen:template:export']"
|
||||
>导出</el-button
|
||||
>
|
||||
</el-col>
|
||||
@@ -145,14 +145,14 @@
|
||||
type="text"
|
||||
icon="Edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['codeGun:template:edit']"
|
||||
v-hasPermi="['codeGen:template:edit']"
|
||||
>修改</el-button
|
||||
>
|
||||
<el-button
|
||||
type="text"
|
||||
icon="Delete"
|
||||
@click="handleDelete(scope.row)"
|
||||
v-hasPermi="['codeGun:template:remove']"
|
||||
v-hasPermi="['codeGen:template:remove']"
|
||||
>删除</el-button
|
||||
>
|
||||
</template>
|
||||
@@ -232,7 +232,7 @@ import {
|
||||
addData,
|
||||
updateData,
|
||||
} from "@/api/code/templateApi";
|
||||
import {openPath} from "@/api/code/codeGunApi";
|
||||
import {openPath} from "@/api/code/codeGenApi";
|
||||
import { ref } from "@vue/reactivity";
|
||||
import ReplaceText from './components/ReplaceText'
|
||||
import TempalteTip from './components/TempalteTip.vue'
|
||||
|
||||
Reference in New Issue
Block a user