Forráskód Böngészése

优化点击任务名称查看详细

RuoYi 3 hónapja
szülő
commit
b869c9622a

+ 5 - 3
ruoyi-ui/src/views/monitor/job/index.vue

@@ -94,7 +94,11 @@
     <el-table v-loading="loading" :data="jobList" @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55" align="center" />
       <el-table-column label="任务编号" width="100" align="center" prop="jobId" />
-      <el-table-column label="任务名称" align="center" prop="jobName" :show-overflow-tooltip="true" />
+      <el-table-column label="任务名称" align="center" :show-overflow-tooltip="true">
+        <template slot-scope="scope">
+          <a class="link-type" style="cursor:pointer" @click="handleView(scope.row)">{{ scope.row.jobName }}</a>
+        </template>
+      </el-table-column>
       <el-table-column label="任务组名" align="center" prop="jobGroup">
         <template slot-scope="scope">
           <dict-tag :options="dict.type.sys_job_group" :value="scope.row.jobGroup"/>
@@ -133,8 +137,6 @@
             <el-dropdown-menu slot="dropdown">
               <el-dropdown-item command="handleRun" icon="el-icon-caret-right"
                 v-hasPermi="['monitor:job:changeStatus']">执行一次</el-dropdown-item>
-              <el-dropdown-item command="handleView" icon="el-icon-view"
-                v-hasPermi="['monitor:job:query']">任务详细</el-dropdown-item>
               <el-dropdown-item command="handleJobLog" icon="el-icon-s-operation"
                 v-hasPermi="['monitor:job:query']">调度日志</el-dropdown-item>
             </el-dropdown-menu>

+ 1 - 1
ruoyi-ui/src/views/system/dict/detail.vue

@@ -6,7 +6,7 @@
         <span>加载中...</span>
       </div>
       <div v-else-if="!dataList.length" class="drawer-empty">
-        <i class="el-icon-inbox"></i>
+        <i class="el-icon-document"></i>
         <div>暂无字典数据</div>
       </div>
       <template v-else>

+ 2 - 4
ruoyi-ui/src/views/system/dict/index.vue

@@ -113,9 +113,7 @@
       <el-table-column label="字典名称" align="center" prop="dictName" :show-overflow-tooltip="true" />
       <el-table-column label="字典类型" align="center" :show-overflow-tooltip="true">
         <template slot-scope="scope">
-        <a class="link-type" style="cursor:pointer" @click="handleViewData(scope.row)">
-          {{ scope.row.dictType }}
-        </a>
+          <a class="link-type" style="cursor:pointer" @click="handleViewData(scope.row)">{{ scope.row.dictType }}</a>
         </template>
       </el-table-column>
       <el-table-column label="状态" align="center" prop="status">
@@ -141,7 +139,7 @@
           <el-button
             size="mini"
             type="text"
-            icon="el-icon-s-fold"
+            icon="el-icon-s-operation"
             @click="handleDataList(scope.row)"
             v-hasPermi="['system:dict:edit']"
           >列表</el-button>