当前位置: 首页 > news >正文

做平面素材好的网站电子工程建设网

做平面素材好的网站,电子工程建设网,如何做自己的游戏网站,网站推广运营公司因为这个项目license问题无法开源,更多技术支持与服务请加入我的知识星球。 1、ToDo.data.ts的数据信息如下 import {BasicColumn} from //components/Table; import {FormSchema} from //components/Table; import { rules} from //utils/helper/validator; impor…
因为这个项目license问题无法开源,更多技术支持与服务请加入我的知识星球。

1、ToDo.data.ts的数据信息如下

import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
//列表数据
export const columns: BasicColumn[] = [{title: '#',dataIndex: '',key:'rowIndex',width:60,align:"center"},{title:'任务编号',align:"center",dataIndex: 'procInsId',},{title:'流程名称',align:"center",dataIndex: 'procDefName',},{title:'任务节点',align:"center",dataIndex: 'taskName',},{title:'流程类别',align:"center",dataIndex: 'category'},{title:'流程版本',align:"center",dataIndex: 'procDefVersion'},{title:'业务主键',align:"center",dataIndex: 'businessKey'},{title:'流程发起人',align:"center",dataIndex: 'startUserName'},{title:'接收时间',align:"center",dataIndex: 'createTime'},
];//查询数据
export const searchFormSchema: FormSchema[] = [{label: "流程名称",field: 'procDefName',component: 'Input',},{label: "开始日期",field: 'createTime',component: 'DatePicker',},
];//表单数据
export const formSchema: FormSchema[] = [{title:'任务编号',align:"center",dataIndex: 'procInsId',},{title:'流程名称',align:"center",dataIndex: 'procDefName',},{title:'任务节点',align:"center",dataIndex: 'taskName',},{title:'流程类别',align:"center",dataIndex: 'category'},{title:'流程版本',align:"center",dataIndex: 'procDefVersion'},{title:'业务主键',align:"center",dataIndex: 'businessKey'},{title:'流程发起人',align:"center",dataIndex: 'startUserName'},{title:'接收时间',align:"center",dataIndex: 'createTime'},// TODO 主键隐藏字段,目前写死为ID{label: '',field: 'id',component: 'Input',show: false,},
];// 高级查询数据
export const superQuerySchema = {procInsId: {title: '任务编号',order: 0,view: 'text', type: 'string',},procDefName: {title: '流程名称',order: 1,view: 'text', type: 'string',},taskName: {title: '任务节点',order: 2,view: 'text', type: 'string',},category: {title: '流程类别',order: 2,view: 'text', type: 'string',},procDefVersion: {title: '流程版本',order: 3,view: 'text', type: 'string',},businessKey: {title: '业务主键',order: 4,view: 'text', type: 'string',},startUserName: {title: '流程发起人',order: 4,view: 'text', type: 'string',},createTime: {title: '接收时间',order: 5,view: 'date', type: 'string',},
};

2、表格数据用todoListNew接口

//注册table数据const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({tableProps: {title: 'toDo',api: todoListNew,columns,canResize:false,useSearchForm: false,actionColumn: {width: 120,fixed: 'right',},beforeFetch: (params) => {return Object.assign(params, queryParam);},},exportConfig: {name: "toDo",url: getExportUrl,params: queryParam,},});

3、接口设置成如下,返回没有result这些信息,直接就是数据了

// 查询待办任务列表
export const todoListNew = (params: any) => defHttp.get({ url: Api.todoListNew, params });

4、后端接口跟原先vue2版本一样

5、效果图如下:

http://www.yayakq.cn/news/863413/

相关文章:

  • 织梦中英文网站源码广州市增城区建设局网站
  • 网站支付功能怎么做画册什么网站做方便
  • 东盟建设集团有限公司网站百度搜录提交入口
  • 温州做网站哪家公司好wordpress页面注册忘记密码
  • 图书馆网站建设好处培训心得网站建设
  • 网站建设常用的英文ashx做网站
  • 手机做网站知乎网页设计培训学校
  • 设计网站公司 生活湖南岚鸿最好免费高清视频下载
  • 深圳网站论坛建设wordpress文章加载特效
  • 目前小说网站排名深圳网站制作哪家便宜
  • 可以做logo设计单子的网站公司网站制作一般多少钱
  • 南通城乡住房建设厅网站小红书企业推广
  • 中山做网站优化做魔杖网站
  • 网站源代码上传分销平台网站建设桂林
  • seo网站项目讲解软件正版化情况及网站建设情况
  • 南宁网站优化推广方案公众号开发难吗
  • 无极网站维护主流的网站建设软件
  • 提高网站排名的方法网站设计服务企业
  • 哈尔滨网站建设的公司岑溪网站建设
  • 网站建设的什么是开发实施注意什么天门做网站
  • 台州永建建设有限公司网站石家庄网站优化多少钱
  • 电子商务网站建设与管理的重要性深圳福田网站优化网络营销培训学校
  • 微商做图王官方网站wp网站系统模板
  • 手机网站引导页辽阳专业建设网站公司电话
  • 网站设计机构文档网站互动设计方式
  • 房地产网站制作公司软件工程专业招聘信息
  • 厦门网站的关键词自动排名建设银行etc的网站是哪个好
  • 在哪个网站做简历比较好响应式网站用什么语言
  • 建站公司人员配置如何开网店做电商
  • 上海网站怎么备案号合肥网络推广培训