mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
5.0
This commit is contained in:
@@ -25,8 +25,14 @@ import {
|
||||
} from "./showKeys";
|
||||
import {
|
||||
dlgKeysSetting,
|
||||
handleUpdateKeys,
|
||||
resetIsvKeys,
|
||||
resetPlatformKeys,
|
||||
restIsvKeysLoading,
|
||||
resetPlatformKeysLoading,
|
||||
settingKeysFormColumns,
|
||||
settingKeysFormData
|
||||
settingKeysFormData,
|
||||
settingKeysFormRules
|
||||
} from "@/views/isv/list/isvKeys";
|
||||
</script>
|
||||
<template>
|
||||
@@ -84,17 +90,9 @@ import {
|
||||
<PlusDialogForm
|
||||
v-model:visible="dlgKeysShow"
|
||||
v-model="showKeysFormData"
|
||||
:dialog="{ title: '秘钥' }"
|
||||
:dialog="{ title: '秘钥 - 标识☆分配给开发者' }"
|
||||
:form="{ group: showKeysFormColumns, labelPosition: 'right' }"
|
||||
>
|
||||
<template #plus-field-privateKeyIsv>
|
||||
<el-input
|
||||
v-model="showKeysFormData.privateKeyIsv"
|
||||
readonly
|
||||
placeholder=""
|
||||
/>
|
||||
<el-button style="margin-top: 20px">重置ISV秘钥</el-button>
|
||||
</template>
|
||||
<template #dialog-footer="{ handleCancel }">
|
||||
<el-button type="primary" @click="handleCancel">关闭</el-button>
|
||||
</template>
|
||||
@@ -103,19 +101,32 @@ import {
|
||||
<PlusDialogForm
|
||||
v-model:visible="dlgKeysSetting"
|
||||
v-model="settingKeysFormData"
|
||||
:dialog="{ title: '秘钥' }"
|
||||
:form="{ group: settingKeysFormColumns, labelPosition: 'right' }"
|
||||
:dialog="{ title: '秘钥 - 标识☆分配给开发者' }"
|
||||
:form="{
|
||||
group: settingKeysFormColumns,
|
||||
rules: settingKeysFormRules,
|
||||
labelPosition: 'right'
|
||||
}"
|
||||
:hasErrorTip="false"
|
||||
@confirm="handleUpdateKeys"
|
||||
>
|
||||
<template #plus-field-privateKeyIsv>
|
||||
<el-input
|
||||
v-model="showKeysFormData.privateKeyIsv"
|
||||
readonly
|
||||
placeholder=""
|
||||
/>
|
||||
<el-button style="margin-top: 20px">重置ISV秘钥</el-button>
|
||||
<template #plus-field-restIsvKeys>
|
||||
<el-button
|
||||
type="primary"
|
||||
:loading="restIsvKeysLoading"
|
||||
@click="resetIsvKeys"
|
||||
>
|
||||
重置ISV秘钥
|
||||
</el-button>
|
||||
</template>
|
||||
<template #dialog-footer="{ handleCancel }">
|
||||
<el-button type="primary" @click="handleCancel">关闭</el-button>
|
||||
<template #plus-field-restPlatformKeys>
|
||||
<el-button
|
||||
type="primary"
|
||||
:loading="resetPlatformKeysLoading"
|
||||
@click="resetPlatformKeys"
|
||||
>
|
||||
重置平台秘钥
|
||||
</el-button>
|
||||
</template>
|
||||
</PlusDialogForm>
|
||||
</el-card>
|
||||
|
Reference in New Issue
Block a user