From e19dcbcf017744b1fceb0b29f423aab9c2786e6f Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期三, 23 三月 2022 02:34:21 +0800
Subject: [PATCH] 修改wasm player 播放按钮
---
src/pages/syslog/views/operationLog.vue | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/src/pages/syslog/views/operationLog.vue b/src/pages/syslog/views/operationLog.vue
index 33c1523..a90ef46 100644
--- a/src/pages/syslog/views/operationLog.vue
+++ b/src/pages/syslog/views/operationLog.vue
@@ -28,7 +28,7 @@
<span class="icon iconfont icon_clear" @click="clearSearch" slot="append" v-if="fuzzySearch">

</span>
- <span class="icon iconfont icon_search" @click="getOperationLog(1)" slot="append" v-else>
+ <span class="icon iconfont icon_search" @click="getOperationLog(1)" slot="append">

</span>
@@ -44,10 +44,9 @@
<div class="bar">
<div class="name">鎿嶄綔妯″潡锛�</div>
- <el-select v-model="curModule" placeholder="璇烽�夋嫨" size="small" @change="moduleChange">
+ <el-select v-model="curModule" placeholder="璇烽�夋嫨" size="small" @change="moduleChange" value-key="proc_name">
<el-option label="鍏ㄩ儴" :value="''"> </el-option>
- <el-option v-for="(item, i) in moduleOptions" :key="i" :label="item.proc_name" :value="item.proc_name">
- </el-option>
+ <el-option v-for="(item, i) in moduleOptions" :key="i" :label="item.name_zh" :value="item"> </el-option>
</el-select>
</div>
<div class="bar">
@@ -123,7 +122,7 @@
name: "operationLog",
data() {
return {
- png: "",
+ png: require("../../../../public/images/syslog/娌℃暟鎹�.png"),
loading: false,
loadingText: "",
input3: "",
@@ -176,7 +175,7 @@
this.getOperationLog(1)
this.gongneng = ""
getOperations({
- module: this.curModule
+ module: val.proc_name
}).then((res) => {
this.gongnengOptions = res.data
})
@@ -229,14 +228,13 @@
timeEnd: this.timeEnd,
page: this.page,
pageSize: this.pageSize,
- module: this.curModule,
+ module: this.curModule.name_zh,
function: this.gongneng,
result: this.result,
fuzzySearch: this.fuzzySearch
}).then((res) => {
this.tableData = res.data.logs
this.total = res.data.total
- this.png = require("../../../../public/images/syslog/娌℃暟鎹�.png")
})
},
getTimeStr(date) {
--
Gitblit v1.8.0