Newer
Older
KaiFengPC / src / utils / form.js
@zhangdeliang zhangdeliang on 23 May 26 KB 初始化项目
export const projectTableForm = [
  { label: '省份:', prop: 'province', placeholder: '请选择省份' },
  { label: '城市:', prop: 'city', placeholder: '请选择城市' },
  { label: '区县:', prop: 'county', placeholder: '请选择区县' },
  { label: '项目编号:', prop: 'projectNo', placeholder: '请输入项目编号' },
  { label: '项目名称:', prop: 'projectName', placeholder: '请输入项目名称' },
  { label: '项目类别:', prop: 'projectTypeId', placeholder: '请选择项目类别' },
  { label: '建设类别:', prop: 'buildCategory', placeholder: '请选择建设类别' },
  { label: '所属排水分区:', prop: 'drainagePartition', placeholder: '请选择所属排水分区' },
  { label: '项目开始日期:', prop: 'startTime', placeholder: '请选择项目开始日期' },
  { label: '项目交付日期:', prop: 'endTime', placeholder: '请选择项目交付日期' },
  { label: '项目状态:', prop: 'projectStatus', placeholder: '请选择项目状态' },
  { label: '项目建设状态:', prop: 'buildStatus', placeholder: '请选择项目建设状态' },
  { label: '项目进度:', prop: 'projectProgress', placeholder: '请输入项目进度' },
  { label: '项目运作模式:', prop: 'projectOperationPattern', placeholder: '请选择项目运作模式' },
  // { label: "项目批复文件名称", prop: "investFileName" ,placeholder:"请输入项目批复文件"},
  // { label: "项目批复文件", prop: "fileList1" ,placeholder:"请输入项目批复文件"},
  { label: '项目估算:', prop: 'valuation', placeholder: '请输入项目估算' },
  { label: '项目总投资:', prop: 'totalInvest', placeholder: '请输入项目总投资' },
  { label: '海绵相关投资:', prop: 'spongeInvest', placeholder: '请输入海绵相关投资' },
  { label: '地方政府投资:', prop: 'govermentInvest', placeholder: '请输入地方政府投资' },
  { label: '社会资本投入:', prop: 'socialInvest', placeholder: '请输入社会资本投入' },
  { label: '中央专项资金:', prop: 'centralSpecialFunds', placeholder: '请输入中央专项资金' },
  { label: '总体工程量:', prop: 'totalQuantites', placeholder: '请输入总体工程量' },
  { label: '责任部门:', prop: 'chargeDepartment', placeholder: '请输入责任部门' },
  { label: '责任人:', prop: 'chargeUser', placeholder: '请输入责任人' },
  { label: '联系方式:', prop: 'phone', placeholder: '请输入联系方式' },
  { label: '设计单位:', prop: 'designUnit', placeholder: '请选择设计单位' },
  { label: '施工单位:', prop: 'constructUnit', placeholder: '请选择施工单位' },
  { label: '运维单位:', prop: 'operationUnit', placeholder: '请选择运维单位' },
  { label: '指定处理人:', prop: 'dealUsers', placeholder: '请选择指定处理人' },
  { label: '流程抄送人:', prop: 'pushUsers', placeholder: '请选择流程抄送人' },
  { label: '项目建设内容:', prop: 'buildContent', placeholder: '请输入项目建设内容' },
  { label: '补充说明:', prop: 'supplement', placeholder: '请输入补充说明' },

  // { label: "处理意见:", prop: "approveComment" ,placeholder:"请输入处理意见"},
];
export const projectEstimateForm = [
  { label: '项目名称:', prop: 'projectName', placeholder: '请选择项目' },
  { label: '项目编号:', prop: 'projectNo', placeholder: '请先选择项目' },
  { label: '资金来源:', prop: 'fundSource', placeholder: '请选择资金来源' },
  { label: '报价日期:', prop: 'quoteDate', placeholder: '请选择报价日期' },
  { label: '联系人:', prop: 'contactUser', placeholder: '请输入联系人' },
  { label: '联系方式:', prop: 'contactPhone', placeholder: '请输入联系方式' },
  { label: '概算金额:', prop: 'budget', placeholder: '请输入概算金额' },
  { label: '技术人员:', prop: 'techUser', placeholder: '请输入技术人员' },
  { label: '联系方式:', prop: 'techPhone', placeholder: '请输入联系方式' },
  { label: '要求:', prop: 'requireContent', placeholder: '请输入要求' },
  { label: '附件:', prop: 'fileList1', placeholder: '附件' },
];

export const tenderReviewForm = [
  { label: '标书编号:', prop: 'tenderNumber', placeholder: '请输入标书编号' },
  { label: '项目名称:', prop: 'projectNo', placeholder: '请选择项目名称' },
  { label: '投标公司名称:', prop: 'companyId', placeholder: '请选择投标公司名称' },
  { label: '招标项目资金来源:', prop: 'capitalSource', placeholder: '请选择招标项目资金来源' },
  { label: '投标时间:', prop: 'bidTime', placeholder: '请选择投标时间' },
  { label: '投标方式:', prop: 'bidWay', placeholder: '请选择招标方式' },
  { label: '投标地址:', prop: 'bidAddress', placeholder: '请输入投标地址' },

  { label: '保证金金额:', prop: 'earnestMoney', placeholder: '请输入保证金金额' },
  { label: '开标日期:', prop: 'bidOpenDate', placeholder: '请选择开标日期' },
  { label: '保证金退还时间:', prop: 'earnestMoneyRollbackTime', placeholder: '请选择保证金退还时间' },
  { label: '招标项目概况:', prop: 'bidProjectSurvey', placeholder: '请输入招标项目概况' },
  { label: '项目建设内容:', prop: 'projectConstructionContent', placeholder: '请输入项目建设内容' },
  { label: '附件:', prop: 'fileList1', placeholder: '附件' },
];
export const projectChangesForm = [
  { label: '项目编码', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '项目变更类型', props: 'operation' },
  { label: '项目资金来源', props: 'fundSource' },
  { label: '建设单位', props: 'constructUnit' },
  { label: '责任人', props: 'chargeUser' },
  { label: '联系方式', props: 'phone' },
  { label: '提交人', props: 'submitUserName' },
  { label: '最近处理人', props: 'recentSubmitter' },
  { label: '审核状态', props: 'auditStatus' },
];
export const lcProject = [
  {
    prop: 'update',
    label: '修改',
  },
  {
    prop: 'delete',
    label: '删除',
  },
];

export const statusOption = [
  {
    prop: 0,
    label: '待审核',
  },
  {
    prop: 1,
    label: '审核驳回',
  },
  {
    prop: 2,
    label: '审核通过',
  },
];

export const projectChangetableForm = [
  { label: '项目名称', props: 'projectName', span: 12 },
  { label: '项目类别', props: 'projectTypeId', span: 12 },
  { label: '建设类别', props: 'buildCategory', span: 12 },
  { label: '项目运作模式', props: 'projectOperationPattern', span: 12 },
  { label: '所属排水分区', props: 'drainagePartition', span: 24 },
  // { label: "工程分项类容", props: "amongContent", span: 24 },
  // { label: "设计参数", props: "designParam", span: 24 },
  { label: '总体工程量', props: 'totalQuantites', span: 24 },
  // { label: "投资分项内容", props: "investDetailed", span: 24 },
  { label: '海绵相关投资(万元)', props: 'spongeInvest', span: 12 },
  { label: '地方政府投资(万元)', props: 'govermentInvest', span: 12 },
  { label: '社会资本投入(万元)', props: 'socialInvest', span: 12 },
  { label: '中央专项资金(万元)', props: 'centralSpecialFunds', span: 12 },
  { label: '责任部门名称', props: 'chargeDepartment', span: 12 },
  { label: '责任人', props: 'chargeUser', span: 12 },
  { label: '联系方式', props: 'phone', span: 12 },
  { label: '设计单位', props: 'designUnit', span: 12 },
  { label: '施工单位', props: 'constructUnit', span: 12 },
  { label: '运维单位', props: 'operationUnit', span: 12 },
];

//   export const tenderReviewForm=[
//     { label: "项目编码", props: "projectNo" },
//     { label: "项目名称", props: "projectName", span: 12 },
//     { label: "标书编号", props: "tenderNumber", span: 12 },
//     { label: "投标公司名称", props: "tenderCompanyName", span: 12 },
//     { label: "投招标项目资金来源", props: "capitalSource", span: 12 },
//     { label: "投标时间", props: "bidTime", span: 24 },
//     { label: "招标方式", props: "bidWay", span: 24 },
//     { label: "保证金金额", props: "earnestMoney", span: 12 },
//     { label: "开标日期", props: "bidOpenDate", span: 12 },
//   ]

export const tenderResultForm = [
  { label: '项目编码', props: 'projectNo' },
  { label: '项目名称', props: 'projectName', span: 12 },
  { label: '标书编号', props: 'tenderNumber', span: 12 },
  { label: '中标单位', props: 'successfulUnitName', span: 12 },
  { label: '中标金额', props: 'successfulMoney', span: 12 },
  { label: '投标时间', props: 'bidTime', span: 24 },
  { label: '开标日期', props: 'bidOpenDate', span: 12 },
];

export const tabsNumList = [
  { label: '概况', prop: 1 },
  { label: '合同', prop: 2 },
  { label: '计划', prop: 3 },
  { label: '进度', prop: 4 },
  { label: '质量', prop: 5 },
  { label: '安全', prop: 6 },
  { label: '图片', prop: 7 },
];

export const contractManagementForm = [
  { label: '项目编码', props: 'projectNo' },
  { label: '项目名称', props: 'projectName', span: 12 },
  { label: '合同编号', props: 'contractNo', span: 12 },
  { label: '合同名称', props: 'contractName', span: 12 },
  // { label: "合同计价方式", props: "contractName", span: 12 },
  { label: '合同类型', props: 'contractType', span: 12 },
  { label: '合同金额', props: 'money', span: 24 },
  { label: '签约日期', props: 'signTime', span: 24 },
  { label: '已付款', props: 'paidMoney', span: 12 },
  { label: '未付款', props: 'notPaidMoney', span: 12 },
  { label: '支付情况', props: 'ratio', span: 12 },
];
export const projectPlanForm = [
  { label: '项目编码', props: 'projectNo' },
  { label: '项目名称', props: 'projectName', span: 12 },
  { label: '计划开始日期', props: 'startTime', span: 12 },
  { label: '计划结束日期', props: 'endTime', span: 12 },
  // { label: "实际开始日期", props: "actualFinishStartTime", span: 12 },
  // { label: "实际结束日期", props: "actualFinishEndTime", span: 24 },
  { label: '责任人', props: 'chargeUser', span: 24 },
  // { label: "已付款", props: "paidMoney", span: 12 },
  // { label: "未付款", props: "notPaidMoney", span: 12 },
  // { label: "支付情况", props: "ratio", span: 12 },
];

export const yzsblishiForm = [
  { label: '一级节点', props: 'nodeName' },
  { label: '计划日期起', props: 'planStartTime', span: 12 },
  { label: '计划日期止', props: 'planEndTime', span: 12 },
  { label: '完成开始日期', props: 'actualFinishStartTime', span: 12 },
  { label: '完成结束日期', props: 'actualFinishEndTime', span: 12 },
  { label: '工作类容', props: 'outputData', span: 24 },
  { label: '预计工时', props: 'estimatedWorkHours', span: 24 },
  // { label: "已付款", props: "paidMoney", span: 12 },
  // { label: "未付款", props: "notPaidMoney", span: 12 },
  // { label: "支付情况", props: "ratio", span: 12 },
];
export const shortcuts = [
  {
    text: '近一周',
    prop: () => {
      const end = new Date();
      const start = new Date();
      start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
      return [start, end];
    },
  },
  {
    text: '近一个月',
    prop: () => {
      const end = new Date();
      const start = new Date();
      start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
      return [start, end];
    },
  },
  {
    text: '近三个月',
    prop: () => {
      const end = new Date();
      const start = new Date();
      start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
      return [start, end];
    },
  },
];
export const projectMilestonesForm = [
  { label: '项目编码', props: 'projectNo' },
  { label: '项目名称', props: 'projectName', span: 12 },
  { label: '里程碑', props: 'milestoneName', span: 12 },
  { label: '日期', props: 'finishDate', span: 12 },
  { label: '创建人', props: 'createBy', span: 12 },
  { label: '创建时间', props: 'createTime', span: 24 },
  // { label: "已付款", props: "paidMoney", span: 12 },
  // { label: "未付款", props: "notPaidMoney", span: 12 },
  // { label: "支付情况", props: "ratio", span: 12 },
];

export const shangbaoForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '项目类别', props: 'projectTypeName' },
  { label: '建设类别', props: 'buildCategory' },
  { label: '责任人', props: 'chargeUser' },
  { label: '施工单位', props: 'constructUnitName' },
];
export const yzsblishisjForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '项目类别', props: 'projectTypeName' },
  { label: '建设状态', props: 'buildStatus' },
  // { label: "建设类别", props: "buildCategory" },
  { label: '月份', props: 'month' },
  { label: '建设进度', props: 'totalProgress' },
  { label: '当月完成项目总投资(万元)', props: 'monthInvest' },
  { label: '当月完成海绵投资(万元)', props: 'monthSpongeInvest' },
  { label: '完成项目总投资(万元)', props: 'completeTotalInvest' },
  { label: '完成海绵相关投资(万元)', props: 'completeSpongeInvest' },
  { label: '责任人', props: 'chargeUser' },
];

export const payContForm = [
  { label: '合同编号', props: 'contractNo' },
  { label: '合同名称', props: 'contractName' },
  // { label: "合同计价方式", props: "projectNo" },
  { label: '合同类型', props: 'contractType' },
  { label: '合同金额', props: 'money' },
  { label: '签约日期', props: 'signTime' },
  { label: '已付款', props: 'paidMoney' },
  { label: '未付款', props: 'notPaidMoney' },
  { label: '支付情况', props: 'ratio' },
];

export const plantContForm = [
  { label: '一级节点', props: 'nodeName' },
  { label: '状态', props: 'status' },
  { label: '进度', props: 'schedule' },
  { label: '计划日期起', props: 'planEndTime' },
  { label: '预算工时', props: 'estimatedWorkHours' },
  { label: '实际日期起', props: 'actualFinishStartTime' },
  { label: '实际日期止', props: 'actualFinishEndTime' },
  { label: '实际工时', props: 'manHour' },
  { label: '负责人', props: 'dutyUserId' },
  { label: '输出资料', props: 'outputData' },
  { label: '备注', props: 'remark' },
];

export const quaitryContFormOne = [
  { label: '巡检记录编号', props: 'patrolNo' },
  { label: '巡检人', props: 'patrolPrimaryPerson' },
  { label: '巡检日期', props: 'patrolTime' },
  { label: '问题分类', props: 'problemType' },
  { label: '检查项', props: 'checkItem' },
  { label: '项目整体进度描述', props: 'problemDescription' },
  // { label: "是否整改", props: "status" },
  { label: '整改状态', props: 'status' },
  { label: '备注', props: 'remark' },
];

export const quaitryContFormTwo = [
  { label: '整改单号', props: 'reformNo' },
  { label: '问题分类', props: 'problemType' },
  { label: '检查项', props: 'checkItem' },
  // { label: "检查项明细", props: "checkItem" },
  // { label: "检查项明细", props: "checkItem" },
  { label: '整改要求', props: 'abarbeitungRequire' },
  { label: '项目整体进度描述', props: 'problemDescription' },
  { label: '整改措施说明', props: 'abarbeitungDescription' },
  { label: '整改类型', props: 'abarbeitungType' },
  { label: '整改前附图', props: 'fileSaveRequestList' },
  { label: '整改后附图', props: 'afterRectificationFileList' },
];

export const safcityContFormOne = [
  { label: '编码', props: 'id' },
  { label: '方案名称', props: 'scenarioName' },
  { label: '申请时间', props: 'compilationTime' },
  { label: '建筑面积', props: 'area' },
  { label: '补充说明', props: 'description' },
  // { label: "方案附件", props: "abarbeitungType" },
  { label: '方案附件', props: 'abarbeitungType' },
  // { label: "申请人", props: "createBy" },
  { label: '申请人', props: 'createBy' },
];
export const safcityContFormTwo = [
  { label: '隐患编号', props: 'reformRecordCode' },
  { label: '检查人', props: 'checkUserName' },
  { label: '检查日期', props: 'checkTime' },
  { label: '隐患类型', props: 'hiddenTroubleType' },
  { label: '隐患级别', props: 'hiddenTroubleLevel' },
  { label: '通知方式', props: 'notificationType' },
  { label: '整改完成期限', props: 'abarbeitungDeadline' },
  { label: '实际完成日期', props: 'actualFinishDate' },
  { label: '责任整改人', props: 'abarbeitungDutyUserName' },
  { label: '责任单位', props: 'abarbeitungDutyUserName' },
];

export const safcityContFormThree = [
  { label: '识别日期', props: 'identificationDate' },
  { label: '识别内容', props: 'identifyContent' },
  { label: '环境因素', props: 'environmentElement' },
  { label: '活动点', props: 'activePoint' },
  { label: '排放量', props: 'discharge' },
  { label: '标准要求', props: 'standardRequire' },
  { label: '处置方式', props: 'disposalWay' },
  { label: '控制方式', props: 'controlWay' },
  { label: '相关法律法规', props: 'legal' },
  { label: '评价结果', props: 'evaluationResult' },
];

export const safcityContFormFour = [
  // { label: "测量日期", props: "measurTime" },
  { label: '测量日期', props: 'measurTime' },
  { label: '仪器名称', props: 'instrumentName' },
  { label: '仪器编码', props: 'instrumentCode' },
  { label: '测量人', props: 'measurUserName' },
];

export const imgwhForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '项目类别', props: 'projectTypeName' },
  { label: '项目状态', props: 'projectStatus' },
  { label: '建设前', props: 'preConstructionFileList' },
  { label: '建设中', props: 'underConstructionFileList' },
  { label: '建设后', props: 'postConstructionFileList' },
  { label: '概况', props: 'generalSituationFileList' },
];

export const dwwhForm = [
  { label: '单位名称', props: 'unitName' },
  { label: '类型', props: 'unitType' },
  { label: '单位属性', props: 'unitProperty' },
  { label: '电话', props: 'unitPhone' },
  { label: '负责人', props: 'primaryConcatPersonName' },
  { label: '联系方式', props: 'primaryConcatPersonInformation' },
  { label: '信用度', props: 'creditLine' },
  { label: '创建时间', props: 'registryDate' },
];

export const xmGisForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '编码', props: 'gisNo' },
  { label: '标注类型', props: 'facilityType' },
  { label: '名称', props: 'gisName' },
  { label: '描述', props: 'remark' },
  { label: '类型', props: 'facilityType' },
  { label: '颜色', props: 'color' },
  { label: '边界颜色', props: 'boundaryColor' },
  { label: '边界线类型', props: 'boundaryType' },
];
export const environmentalMonitoringForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '识别日期', props: 'identificationDate' },
  { label: '环境因素', props: 'environmentElement' },
  { label: '识别内容', props: 'identifyContent' },
  { label: '处置方式', props: 'disposalWay' },
  { label: '负责人', props: 'chargeUser' },
];
export const hazardRectificationAndReviewForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '测量日期', props: 'measurTime' },
  { label: '仪器名称', props: 'instrumentName' },
  { label: '仪器编码', props: 'instrumentNumber' },
  { label: '测量人', props: 'measurUserName' },
  { label: '负责人', props: 'measurDutyUserName' },
];
export const environmentalIdentificationAndEvaluationForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '隐患编号', props: 'reformRecordCode' },
  { label: '隐患类型', props: 'hiddenTroubleType' },
  { label: '隐患级别', props: 'hiddenTroubleLevel' },
  { label: '检查人', props: 'checkUserName' },
  { label: '检查日期', props: 'checkTime' },
  { label: '检查单位', props: 'checkUnitName' },
  { label: '最近处理人', props: 'recentSubmitter' },
  { label: '流程步骤', props: 'status' },
];

export const engineeringApprovalForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '编号', props: 'id' },
  { label: '方案名称', props: 'scenarioName' },
  { label: '部门', props: 'chargeDepartment' },
  { label: '责任人', props: 'chargeUser' },
  { label: '编制时间', props: 'compilationTime' },
  { label: '最近处理人', props: 'recentSubmitter' },
  { label: '流程步骤', props: 'status' },
];

export const qualityRectificationDetailsForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '整改单号', props: 'reformNo' },
  { label: '问题类型', props: 'problemType' },
  { label: '检查项', props: 'checkItem' },
  { label: '检查项明细', props: 'problemType' },
  { label: '整改要求', props: 'abarbeitungRequire' },
  { label: '整改类型', props: 'abarbeitungType' },
];

export const qualityRectificationForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '整改单号', props: 'reformNo' },
  { label: '整改发起时间', props: 'abarbeitungStartTime' },
  { label: '限制整改时间', props: 'abarbeitungEndTime' },
  { label: '问题数量', props: 'problemCount' },
  { label: '提交人', props: 'submitUserName' },
  { label: '最近处理人', props: 'recentSubmitter' },
  { label: '流程步骤', props: 'status' },
];

export const ListOfIssuesForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '巡检记录编号', props: 'patrolNo' },
  { label: '巡检人', props: 'patrolPrimaryPerson' },
  { label: '巡检日期', props: 'patrolTime' },
  { label: '问题分类', props: 'problemType' },
  { label: '是否整改', props: 'status' },
];

export const InspectionRecordsForm = [
  { label: '项目编号', props: 'projectNo' },
  { label: '项目名称', props: 'projectName' },
  { label: '巡检记录编号', props: 'patrolNo' },
  { label: '巡检人', props: 'patrolPrimaryPerson' },
  { label: '巡检日期', props: 'patrolTime' },
  { label: '项目整体进度描述', props: 'description' },
  { label: '问题数量', props: 'problemCount' },
];

export const stationInfoForm = [
  { label: '站点编号:', prop: 'stationCode', placeholder: '请输入站点编号' },
  { label: '站点名称:', prop: 'stationName', placeholder: '请输入点名称' },
  { label: '站点类型:', prop: 'plcStationType', placeholder: '请选择站点类型' },
  { label: '数据采集频率(分钟/次):', prop: 'dataFrequency', placeholder: '请输入数据采集频率' },
  { label: '经纬度:', prop: 'lonLat', placeholder: '请点击选择经纬度' },
  { label: '状态:', prop: 'status', placeholder: '请输入状态' },
];
export const status_source = [
  { label: '启用 ', value: '1' },
  { label: '停用', value: '0' },
];
export const areaInfoForm = [
  { label: '区域编号:', prop: 'areaCode', placeholder: '请输入区域编号' },
  { label: '区域名称:', prop: 'areaName', placeholder: '请输入区域名称' },
  { label: '站点名称:', prop: 'stationName', placeholder: '请选择站点名称' },
  { label: '站点编号:', prop: 'stationCode', placeholder: '请输入站点编号' },
  { label: '上级区域', prop: 'parentId', placeholder: '请选择上级区域' },
  // { label: "设施编号:", prop: "facilityCode" ,placeholder:"请输入设施编号"},
  { label: '位置:', prop: 'address', placeholder: '请输入位置' },
  // { label: "坐标:", prop: "lonLat" ,placeholder:"请先点击选择位置"},
  { label: '备注:', prop: 'remark', placeholder: '请输入备注' },
];
export const plcPointInfoForm = [
  { label: '点位:', prop: 'pointName', placeholder: '请输入点位' },
  { label: '点位键:', prop: 'pointKey', placeholder: '请输入点位键' },
  { label: '站点:', prop: 'stationCode', placeholder: '请选择站点' },
  { label: '区域:', prop: 'areaCode', placeholder: '请先选择站点' },
  { label: '设备:', prop: 'deviceCode', placeholder: '请先选择站点' },
  { label: '点位类型:', prop: 'pointType', placeholder: '请选择点位类型' },
  { label: '数据类型:', prop: 'dataType', placeholder: '请选择数据类型' },
  { label: '监测类型 :', prop: 'monitorType', placeholder: '请输入监测类型 ' },
  { label: '单位:', prop: 'unit', placeholder: '请输入单位' },
  { label: '保留小数位数:', prop: 'scaleNum', placeholder: '请输入保留小数位数' },
  { label: '状态:', prop: 'status', placeholder: '状态' },
  { label: '排序:', prop: 'orderNum', placeholder: '请输入排序' },
  { label: '是否生成报表:', prop: 'createReport', placeholder: '请选择是否生成报表' },
];
export const deviceInfoForm = [
  { label: '设备名称:', prop: 'deviceName', placeholder: '请输入设备名称' },
  { label: '设备编码:', prop: 'deviceCode', placeholder: '请输入设备编码' },
  { label: '设备类型:', prop: 'deviceType', placeholder: '设备类型' },
  { label: '站点名称:', prop: 'stationName', placeholder: '请选择站点名称' },
  { label: '站点编号:', prop: 'stationCode', placeholder: '请输入站点编号' },
  { label: '区域名称:', prop: 'areaCode', placeholder: '请选择区域名称' },
  { label: '状态:', prop: 'status', placeholder: '请输入状态' },
  { label: '备注:', prop: 'remark', placeholder: '备注' },
];
export const fund_source = [
  { label: '正常', value: 'normal' },
  { label: '拆分', value: 'split' },
  { label: ' 聚合(如开关量)', value: 'union' },
];
export const reportType_source = [
  { label: '平均 ', value: 'avg' },
  { label: '求和', value: 'sum' },
  { label: '最大', value: 'max' },
  { label: '最小', value: 'min' },
  { label: '开关量', value: 'switch' },
];
export const dataType_source = [
  { label: '监测数据 ', value: 'monitor' },
  { label: '状态数据', value: 'status' },
  { label: ' 故障数据', value: 'error' },
  { label: '下行数据', value: 'down' },
];
export const plcDatasourceForm = [
  { label: '接入频率(秒/次):', prop: 'accessFrequency', placeholder: '接入频率(秒/次)' },
  { label: '数据源名称:', prop: 'datasourceName', placeholder: '请输入数据源名称' },
  { label: '端口:', prop: 'port', placeholder: '请输入端口' },
  { label: '扩展属性(json):', prop: 'property', placeholder: '请输入扩展属性(json)' },
  { label: '类型:', prop: 'type', placeholder: '请选择类型' },
  { label: 'url:', prop: 'url', placeholder: '请输入URL' },
  { label: '用户名:', prop: 'userName', placeholder: '请输入用户名' },
  { label: '密码:', prop: 'userPassword', placeholder: '请输入密码' },
  { label: '备注:', prop: 'remark', placeholder: '请输入备注' },
  { label: '状态:', prop: 'status', placeholder: '请输入状态' },
];
export const plcDatasource_source = [
  { label: 'MQTT ', value: 'MQTT' },
  { label: 'MySQL', value: 'MySQL' },
];