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: '学生作业', align: "center", dataIndex: 'zyStuId' }, { title: '报告编号', align: "center", dataIndex: 'paperguid' }, { title: '文件名', align: "center", dataIndex: 'papertitle' }, { title: '检测状态(1:检测中,2:检测完成,3:检测失败,0:未检测)', align: "center", dataIndex: 'filestateid' }, { title: '检测进度', align: "center", dataIndex: 'detectprogress' }, { title: '相似率', align: "center", dataIndex: 'percentage' }, { title: '引用率', align: "center", dataIndex: 'quotepercentage' }, { title: '复写率', align: "center", dataIndex: 'duplicatepercentage' }, { title: '自写率', align: "center", dataIndex: 'ownpercentage' }, { title: '文档检测完成时间', align: "center", dataIndex: 'checkdate' }, { title: '论文字数', align: "center", dataIndex: 'paperword' }, { title: '在线报告查看地址', align: "center", dataIndex: 'paperviewurl' }, { title: '报告下载地址', align: "center", dataIndex: 'paperdownurl' }, { title: '他引率', align: "center", dataIndex: 'otherquoterate' }, { title: '自引率', align: "center", dataIndex: 'selfquoterate' }, { title: '专业术语率', align: "center", dataIndex: 'proWordRate' }, { title: '查重类型(0外网 1内网 2aigc)', align: "center", dataIndex: 'ccType' }, ]; //查询数据 export const searchFormSchema: FormSchema[] = [ ]; //表单数据 export const formSchema: FormSchema[] = [ { label: '报告编号', field: 'paperguid', component: 'Input', }, { label: '文件名', field: 'papertitle', component: 'Input', }, { label: '检测状态(1:检测中,2:检测完成,3:检测失败,0:未检测)', field: 'filestateid', component: 'Input', }, { label: '检测进度', field: 'detectprogress', component: 'Input', }, { label: '相似率', field: 'percentage', component: 'Input', }, { label: '引用率', field: 'quotepercentage', component: 'Input', }, { label: '复写率', field: 'duplicatepercentage', component: 'Input', }, { label: '自写率', field: 'ownpercentage', component: 'Input', }, { label: '文档检测完成时间', field: 'checkdate', component: 'Input', }, { label: '论文字数', field: 'paperword', component: 'Input', }, { label: '在线报告查看地址', field: 'paperviewurl', component: 'Input', }, { label: '报告下载地址', field: 'paperdownurl', component: 'Input', }, { label: '他引率', field: 'otherquoterate', component: 'Input', }, { label: '自引率', field: 'selfquoterate', component: 'Input', }, { label: '专业术语率', field: 'proWordRate', component: 'Input', }, { label: '查重类型(0外网 1内网 2aigc)', field: 'ccType', component: 'Input', }, // TODO 主键隐藏字段,目前写死为ID { label: '', field: 'id', component: 'Input', show: false, }, ];