This commit is contained in:
2025-11-07 01:23:45 +08:00
parent a897cdcae9
commit a284047b48
6 changed files with 904 additions and 11 deletions

View File

@@ -170,6 +170,9 @@
<!-- 操作按钮 -->
<div slot="footer">
<el-button @click="showOperationLogs = true" icon="el-icon-document" type="info" plain>
查看操作日志
</el-button>
<el-button @click="handleTest" :loading="testLoading" icon="el-icon-setting">
测试配置
</el-button>
@@ -181,6 +184,13 @@
保存配置
</el-button>
</div>
<!-- 操作日志查看对话框 -->
<tencent-doc-operation-logs
v-model="showOperationLogs"
:file-id="form.fileId"
:sheet-id="form.sheetId"
/>
</el-dialog>
</template>
@@ -193,9 +203,13 @@ import {
getDocSheetList,
getTencentDocAuthUrl
} from '@/api/jarvis/tendoc'
import TencentDocOperationLogs from './TencentDocOperationLogs'
export default {
name: 'TencentDocAutoWriteConfig',
components: {
TencentDocOperationLogs
},
props: {
value: {
type: Boolean,
@@ -204,6 +218,7 @@ export default {
},
data() {
return {
showOperationLogs: false,
visible: false,
config: {
hasAccessToken: false,