yanjinhui
2026-03-10 e21b85869aabac395175aabf8b9e973aabf692df
优化
已添加3个文件
已修改4个文件
134 ■■■■■ 文件已修改
代码管理/WCS/WIDESEAWCS_Client/src/extension/basicinfo/Dt_trackloginfo.js 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Client/src/router/viewGird.js 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Client/src/views/basicinfo/Dt_trackloginfo.vue 71 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Client/src/views/basicinfo/kLSLocationInfo.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/WMS/WMSReturnMethod.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/BasicInfo/TrackloginfoController.cs 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskHelpMethods.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Client/src/extension/basicinfo/Dt_trackloginfo.js
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
//author:jxx
//此处是对表单的方法,组件,权限操作按钮等进行任意扩展(方法扩展可参照SellOrder.js)
let extension = {
  components: { //动态扩充组件或组件路径
    //表单header、content、footer对应位置扩充的组件
    gridHeader: '', //{ template: "<div>扩展组xxä»¶</div>" },
    gridBody: '',
    gridFooter: '',
    //弹出框(修改、编辑、查看)header、content、footer对应位置扩充的组件
    modelHeader: '',
    modelBody: '',
    modelFooter: ''
  },
  buttons: {
    view: [],
    box: [],
    detail: []
  }, //扩展的按钮
  methods: { //事件扩展
    onInit() {
    }
  }
};
export default extension;
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Client/src/router/viewGird.js
@@ -78,6 +78,15 @@
    name: 'stationManger',
    component: () => import('@/views/basicinfo/stationManger.vue')
  }
  , {
    path: '/taskHty',
    name: 'taskHty',
    component: () => import('@/views/taskinfo/taskHty.vue')
  }, {
  path: '/trackloginfo',
  name: 'trackloginfo',
  component: () => import('@/views/basicinfo/Dt_trackloginfo.vue')
}
]
export default viewgird
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Client/src/views/basicinfo/Dt_trackloginfo.vue
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,71 @@
<!--
*Author:jxx
 *Contact:283591387@qq.com
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *业务请在@/extension/system/loginfo/Dt_trackloginfo.js此处编写
 -->
<template>
  <view-grid ref="grid"
             :columns="columns"
             :detail="detail"
             :editFormFields="editFormFields"
             :editFormOptions="editFormOptions"
             :searchFormFields="searchFormFields"
             :searchFormOptions="searchFormOptions"
             :table="table"
             :extend="extend">
  </view-grid>
</template>
<script>
import extend from "@/extension/basicinfo/Dt_trackloginfo.js";
import { ref, defineComponent } from "vue";
export default defineComponent({
  setup () {
    const table = ref({
      key: 'tracklog_id',
      footer: "Foots",
      cnName: '操作日志',
      name: 'trackloginfo',
      url: "/trackloginfo/",
      sortName: "tracklog_createtime"
    });
    const editFormFields = ref({});
    const editFormOptions = ref([]);
    const searchFormFields = ref({ "tracklog_name": "", "tracklog_content": "", "tracklog_des": "", "tracklog_message": "" });
    const searchFormOptions = ref([
      [
        { "title": "参数", "field": "tracklog_content", "type": "like" },
        { "title": "名称", "field": "tracklog_name", "type": "like" },
        { "title": "描述", "field": "tracklog_des", "type": "like" },
        { "title": "错误描述", "field": "tracklog_message", "type": "like" }
      ]
    ]);
    const columns = ref([
      { field: 'tracklog_id', title: 'ID', type: 'int', width: 90, require: true, align: 'left', sort: true },
      { field: 'tracklog_name', title: '名称', type: 'string', sort: true, width: 120, require: true, align: 'left' },
      { field: 'tracklog_content', title: '参数', type: 'string', sort: true, width: 185, align: 'left' },
      { field: 'tracklog_type', title: '类型', type: 'string', sort: true, width: 90, require: true, align: 'left' },
      { field: 'tracklog_des', title: '描述', type: 'string', sort: true, width: 185, require: true, align: 'left' },
      { field: 'tracklog_code', title: '错误代码', type: 'string', sort: true, width: 110, require: true, align: 'left' },
      { field: 'tracklog_message', title: '错误描述', type: 'string', sort: true, width: 185, align: 'left' },
      { field: 'tracklog_operator', title: '操作人', type: 'string', sort: true, width: 110, require: true, align: 'left' },
      { field: 'tracklog_createtime', title: '创建时间', type: 'datetime', sort: true, width: 160, require: true, align: 'left', sort: true }]);
    const detail = ref({
      cnName: "#detailCnName",
      columns: [],
      sortName: "",
      key: ""
    });
    return {
      table,
      extend,
      editFormFields,
      editFormOptions,
      searchFormFields,
      searchFormOptions,
      columns,
      detail,
    };
  },
});
</script>
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Client/src/views/basicinfo/kLSLocationInfo.vue
@@ -186,8 +186,9 @@
    // æœç´¢è¡¨å•布局配置项
    const searchFormOptions = ref([
      [
        { title: "仓库编号", field: "warehouseId", type: "like" },
        { title: "货位编号", field: "locationCode", type: "like" },
        { title: "仓库编号", field: "warehouseId", type: "like" },
        { title: "货位名称", field: "locationName", type: "like" },
        
      ],
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/WMS/WMSReturnMethod.cs
@@ -16,7 +16,7 @@
            {
                code = content.Status ? successCode : failCode,
                msg = content.Message ?? (content.Status ? "操作成功" : "操作失败"),
                data = content.Status ? content.Data : null
                data = content.Data
            };
        }
    }
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/BasicInfo/TrackloginfoController.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
using Microsoft.AspNetCore.Mvc;
using WIDESEAWCS_Core.BaseController;
using WIDESEAWCS_IBasicInfoService;
using WIDESEAWCS_Model.Models;
namespace WIDESEAWCS_Server.Controllers.BasicInfo
{
    /// <summary>
    ///接口信息
    /// </summary>
    [Route("api/Trackloginfo")]
    [ApiController]
    public class TrackloginfoController : ApiBaseController<ITrackloginfoService, Dt_trackloginfo>
    {
        public TrackloginfoController(ITrackloginfoService service) : base(service)
        {
        }
    }
}
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskHelpMethods.cs
@@ -23,7 +23,7 @@
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
                content.Error(ex.Message);
            }
            return content;
        }