|
@@ -20,19 +20,19 @@
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
|
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['system:tenantPackage:add']">新增</el-button>
|
|
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['system:tenantPackage:add']">新增</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="1.5">
|
|
|
|
|
- <el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()" v-hasPermi="['system:tenantPackage:edit']"
|
|
|
|
|
- >修改</el-button
|
|
|
|
|
- >
|
|
|
|
|
- </el-col>
|
|
|
|
|
|
|
+<!-- <el-col :span="1.5">-->
|
|
|
|
|
+<!-- <el-button type="success" plain icon="Edit" :disabled="single" @click="handleUpdate()" v-hasPermi="['system:tenantPackage:edit']"-->
|
|
|
|
|
+<!-- >修改</el-button-->
|
|
|
|
|
+<!-- >-->
|
|
|
|
|
+<!-- </el-col>-->
|
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
|
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['system:tenantPackage:remove']"
|
|
<el-button type="danger" plain icon="Delete" :disabled="multiple" @click="handleDelete()" v-hasPermi="['system:tenantPackage:remove']"
|
|
|
>删除</el-button
|
|
>删除</el-button
|
|
|
>
|
|
>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="1.5">
|
|
|
|
|
- <el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['system:tenantPackage:export']">导出</el-button>
|
|
|
|
|
- </el-col>
|
|
|
|
|
|
|
+<!-- <el-col :span="1.5">-->
|
|
|
|
|
+<!-- <el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['system:tenantPackage:export']">导出</el-button>-->
|
|
|
|
|
+<!-- </el-col>-->
|
|
|
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList" />
|
|
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList" />
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</template>
|
|
</template>
|
|
@@ -302,7 +302,6 @@ const submitForm = () => {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
buttonLoading.value = true
|
|
buttonLoading.value = true
|
|
|
form.value.menuIds = getMenuAllCheckedKeys()
|
|
form.value.menuIds = getMenuAllCheckedKeys()
|
|
|
- console.log("#################"+JSON.stringify(form.value))
|
|
|
|
|
if (form.value.id != null) {
|
|
if (form.value.id != null) {
|
|
|
await updateTenantPackage(form.value).finally(() => buttonLoading.value = false)
|
|
await updateTenantPackage(form.value).finally(() => buttonLoading.value = false)
|
|
|
} else {
|
|
} else {
|