wangting
2024-10-22 a08c388ad3c340554b24b15721aa9084df4d6a1f
Source/plt-web/plt-web-ui/src/api/UI/formDefine/api.js
@@ -77,10 +77,26 @@
  })
}
const obj ={
  "id": "",// 修改时候必传
// 克隆接口
export function clone(params) {
  return request({
    url: "/api/portalVIController/clone",
    method: "post",
    data: params
  })
}
const cloneObj = {
  "clonePortalVIDTOList": [{
    "viName": "ppartProp",//--克隆的表单/表格名称
    "typeName": "ppart",//----克隆的业务类型,为“” 则为当前业务类型
    "typeFlag": "0",//--业务类型,0: 业务类型,1:链接类型
//--克隆的对象
    "oldPortalVIDTO": {
      "id": "5963B31F-287B-6B01-3544-D6ECF9CFDC96",
  "prm": {
  "formQtName": "", // 表单名称对应下面视图名称
        "formQtName": "",
    "prmItemList": [
    {
      "itemAddFilter": "",
@@ -579,186 +595,15 @@
  ],
    "showCols": "2"
},
  "typeFlag": 0, // 业务类型0 or 链接类型1
  "typeFlagText": "业务类型的表单",// 业务类型显示值
  "typeName": "ppart",// 业务类型名
  "viName": "ppartProp_test3", // 视图名称
  "viType": 1, // 视图类型
  "viTypeText": "表单" // 视图中文名称
      "typeFlag": 0,
      "typeFlagText": "业务类型的表单",
      "typeName": "ppart",
      "viName": "ppartProp",
      "viType": 1,
      "viTypeText": "表单"
    }
  }]
}
const dataForm = {
  "id": "",
  "prm": {
    "formQtName": "",
    "prmItemList": [
      {
        "itemAddFilter": "",
        "itemBat": "",
        "itemCols": "",
        "itemCtrlDisplyCol": "",
        "itemCtrlDisplyCondition": "",
        "itemCustomClass": "",
        "itemCut": "",
        "itemDateFormat": "",
        "itemDbl": "3",
        "itemEQ": "",
        "itemEditCondition": "",
        "itemEditableProgram": "",
        "itemField": "",
        "itemFieldWidth": "150,150,100,80,80,80,100,100,100,100,50,100,250",
        "itemFieldWidthList": [
          {
            "attributes": {},
            "key": "code",
            "value": "150"
          },
          {
            "attributes": {},
            "key": "partoid.name",
            "value": "150"
          },
          {
            "attributes": {},
            "key": "validity",
            "value": "100"
          },
          {
            "attributes": {},
            "key": "lcstatus",
            "value": "80"
          },
          {
            "attributes": {},
            "key": "additionalunit",
            "value": "80"
          },
          {
            "attributes": {},
            "key": "distributeunittwo",
            "value": "80"
          },
          {
            "attributes": {},
            "key": "anticollaboration",
            "value": "100"
          },
          {
            "attributes": {},
            "key": "holistic",
            "value": "100"
          },
          {
            "attributes": {},
            "key": "scale",
            "value": "100"
          },
          {
            "attributes": {},
            "key": "source",
            "value": "100"
          },
          {
            "attributes": {},
            "key": "isforging",
            "value": "50"
          },
          {
            "attributes": {},
            "key": "isproductbring",
            "value": "100"
          },
          {
            "attributes": {},
            "key": "processremark",
            "value": "250"
          }
        ],
        "itemHrefConf": "",
        "itemHrefFields": "",
        "itemHttpPathField": "",
        "itemHttpVolumnPath": "",
        "itemImgWH": "0,0",
        "itemInObj": "A5791895-83D1-D63F-40C4-26705FF3A2BB",
        "itemIsEditable": "",
        "itemIsHidden": "",
        "itemIsHttpSave": "",
        "itemIsNavigatorExpand": "false",
        "itemIsRequired": "",
        "itemIsShowFolder": "false",
        "itemKeyFieldList": null,
        "itemKeyFields": "",
        "itemListTable": "",
        "itemListTxt": "",
        "itemListVal": "",
        "itemName": "",
        "itemOR": "",
        "itemOutFieldList": [
          "code",
          "partoid.name",
          "validity",
          "lcstatus",
          "additionalunit",
          "distributeunittwo",
          "anticollaboration",
          "holistic",
          "scale",
          "source",
          "isforging",
          "isproductbring",
          "processremark"
        ],
        "itemOutFields": "code,partoid.name,validity,lcstatus,additionalunit,distributeunittwo,anticollaboration,holistic,scale,source,isforging,isproductbring,processremark",
        "itemOutType": "",
        "itemPageSize": "",
        "itemParentFolderName": "",
        "itemQtName": "queryppartbypbom",
        "itemQueryRefFields": "",
        "itemQuerySql": "",
        "itemRight": "",
        "itemRows": "",
        "itemScript": "",
        "itemSearchFieldList": [
          "code",
          "partoid.name",
          "validity",
          "lcstatus",
          "additionalunit",
          "distributeunittwo",
          "anticollaboration",
          "holistic",
          "scale",
          "source",
          "isforging",
          "isproductbring",
          "processremark"
        ],
        "itemSelectoutFieldList": [
          "produceroute",
          "hotsurfaceroute"
        ],
        "itemSeniorQueryBOS": [],
        "itemSeniorQueryCols": "",
        "itemSeniorQueryColsCounts": "",
        "itemShowExpression": "",
        "itemStyle": "",
        "itemTips": "",
        "itemTrim": "",
        "itemTxf": "",
        "itemType": "",
        "itemTypeText": "",
        "itemValue": "",
        "itemValueList": []
      }
    ],
    "showCols": "3"
  },
  "typeFlag": 0,
  "typeFlagText": "业务类型的表格",
  "typeName": "ppart",
  "viName": "ppart_auditlist_test",
  "viType": 0,
  "viTypeText": "表格"
}