zhaoke 1 gadu atpakaļ
vecāks
revīzija
af9cad282a

+ 4 - 4
src/views/statisticalanalysis/components/echart/tableforms.vue

@@ -384,19 +384,19 @@
             </template>
           </el-table-column>
           <el-table-column label="数据缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
-            <el-table-column prop="havenot_allnode_stock" label="航班数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
+            <el-table-column prop="havenot_allnode_stock" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
             <el-table-column prop="havenot_allnode_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
           </el-table-column>
           <el-table-column label="流程节点缺失" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
-            <el-table-column prop="have_part_stock" label="航班数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
+            <el-table-column prop="have_part_stock" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
             <el-table-column prop="have_part_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
           </el-table-column>
           <el-table-column label="时间倒置" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
-            <el-table-column prop="time_inversion_stock" label="航班数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
+            <el-table-column prop="time_inversion_stock" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
             <el-table-column prop="time_inversion_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
           </el-table-column>
           <el-table-column label="时间相同" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align">
-            <el-table-column prop="time_equal_stock" label="航班数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
+            <el-table-column prop="time_equal_stock" label="运单数" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
             <el-table-column prop="time_equal_lv" label="占比(%)" show-overflow-tooltip="tableColumnProperty.showOverflowTooltip" :align="tableColumnProperty.align"></el-table-column>
           </el-table-column>
         </el-table>

+ 23 - 7
src/views/systemSettings/log/index.vue

@@ -8,12 +8,18 @@
         <div class="interfaceLog_head_time_end mr10">
           <el-date-picker v-model="timeEnd" size="default" type="datetime" placeholder="选择结束日期时间" format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss" :clearable="false" @change="timeSelectHandler" />
         </div>
-        <div class="interfaceLog_head_select">
+        <div class="interfaceLog_head_select mr10">
           <el-select v-model="selMsg" size="medium" @change="timeSelectHandler" placeholder="请选择">
             <el-option v-for="item in selOptions" :key="item.value" :label="item.label" :value="item.value">
             </el-option>
           </el-select>
         </div>
+        <div v-if="selMsg == '系统'" class="interfaceLog_head_result">
+          <el-select v-model="resMsg" size="medium" @change="timeSelectHandler" placeholder="请选择">
+            <el-option v-for="item in resOptions" :key="item.value" :label="item.label" :value="item.value">
+            </el-option>
+          </el-select>
+        </div>
       </div>
       <div class="interfaceLog_head_btn">
         <Search v-permission="['log_management_search_button']" :is-title="false" @get-search-data="getSearchData" @clear-search-data="clearSearchData" />
@@ -94,7 +100,10 @@ const getTableData = async () => {
     } = await Query({
       id: DATACONTENT_ID.sysLogTable,
       needPage: ++page,
-      dataContent: [timeStart.value, timeEnd.value, selMsg.value],
+      dataContent:
+        selMsg.value == "系统"
+          ? [timeStart.value, timeEnd.value, selMsg.value, resMsg.value]
+          : [timeStart.value, timeEnd.value, selMsg.value],
     });
     if (Number(code) === 0) {
       tableColumns.value = columnSet.map((column) => ({
@@ -126,12 +135,9 @@ const load = () => {
 
 const timeStart = ref("");
 const timeEnd = ref("");
-const selMsg = ref("全部");
+const selMsg = ref("系统");
+const resMsg = ref("错误");
 const selOptions = ref([
-  {
-    value: "全部",
-    label: "全部",
-  },
   {
     value: "系统",
     label: "系统",
@@ -141,6 +147,16 @@ const selOptions = ref([
     label: "用户",
   },
 ]);
+const resOptions = ref([
+  {
+    value: "成功",
+    label: "成功",
+  },
+  {
+    value: "错误",
+    label: "错误",
+  },
+]);
 const getToday = () => {
   function numberFormat(number) {
     const string = "0" + number;