{
  "accUserMode" : 0,
  "codeName" : "AppDataUploadView",
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPUTILVIEWS/AppDataUploadView.json",
  "name" : "AppDataUploadView",
  "getPSAppModule" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPMODULES/common.json"
  },
  "getPSControls" : [ {
    "codeName" : "captionbar",
    "controlType" : "CAPTIONBAR",
    "name" : "captionbar",
    "getPSControlParam" : { }
  } ],
  "getPSSysCss" : {
    "cssName" : "data-upload-view"
  },
  "getPSViewLayoutPanel" : {
    "codeName" : "Usr0417651445",
    "controlType" : "VIEWLAYOUTPANEL",
    "hookEventNames" : [ "ONCLICK" ],
    "layoutMode" : "Flex",
    "logicName" : "数据导入布局面板",
    "name" : "layoutpanel",
    "getPSControlLogics" : [ {
      "eventNames" : "onClick",
      "itemName" : "dowmload_button",
      "logicTag" : "layoutpanel",
      "logicType" : "SCRIPT",
      "name" : "logic",
      "scriptCode" : "view.downloadTemplate()"
    }, {
      "eventNames" : "onClick",
      "itemName" : "upload_raw",
      "logicTag" : "layoutpanel",
      "logicType" : "SCRIPT",
      "name" : "logic2",
      "scriptCode" : "view.selectAndImport().then(result=>{\r\n    console.log(\"上传结果\",result);\r\n})"
    } ],
    "getPSControlParam" : { },
    "getPSLayout" : {
      "layout" : "FLEX"
    },
    "getRootPSPanelItems" : [ {
      "itemStyle" : "DEFAULT",
      "itemType" : "CONTAINER",
      "name" : "page_container",
      "getPSLayout" : {
        "dir" : "column",
        "layout" : "FLEX"
      },
      "getPSLayoutPos" : {
        "grow" : -1,
        "layout" : "FLEX"
      },
      "getPSPanelItems" : [ {
        "caption" : "容器",
        "itemStyle" : "DEFAULT",
        "itemType" : "CONTAINER",
        "name" : "view_header",
        "getPSLayout" : {
          "align" : "space-between",
          "dir" : "row",
          "layout" : "FLEX",
          "vAlign" : "center"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "layout" : "FLEX"
        },
        "getPSPanelItems" : [ {
          "caption" : "下载模板描述",
          "contentType" : "HTML",
          "htmlContent" : "<p>下载模板</p>\n<p>下载工单导入模板，按照以下规则填写导入数据。</p>",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "download_description",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "content" : "<p>下载模板</p>\n<p>下载工单导入模板，按照以下规则填写导入数据。</p>",
            "contentType" : "HTML",
            "name" : "download_description",
            "predefinedType" : "STATIC_TEXT"
          },
          "showCaption" : true
        }, {
          "actionType" : "NONE",
          "buttonStyle" : "DEFAULT",
          "caption" : "下载模板",
          "itemStyle" : "DEFAULT",
          "itemType" : "BUTTON",
          "name" : "dowmload_button",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "tooltip" : "下载模板",
          "uIActionTarget" : "NONE",
          "showCaption" : true
        } ]
      }, {
        "caption" : "容器",
        "itemStyle" : "DEFAULT",
        "itemType" : "CONTAINER",
        "name" : "view_content",
        "getPSLayout" : {
          "layout" : "FLEX"
        },
        "getPSLayoutPos" : {
          "grow" : -1,
          "layout" : "FLEX"
        },
        "getPSPanelItems" : [ {
          "caption" : "模板规则",
          "contentType" : "HTML",
          "htmlContent" : "<table style=\"border-collapse: collapse; width: 100%; height: 63px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 21px;\">\n<td style=\"width: 49.5098%; height: 21px;\">属性（带\"<span class=\"text-danger ng-star-inserted\">*</span>\"的为必填项）</td>\n<td style=\"width: 49.5098%; height: 21px;\">填写规则</td>\n</tr>\n<tr style=\"height: 21px;\">\n<td style=\"width: 49.5098%; height: 21px;\">标题<span class=\"text-danger ng-star-inserted\">*</span></td>\n<td style=\"width: 49.5098%; height: 21px;\"><span class=\"text-danger ng-star-inserted\">必填项，</span>不可为空。</td>\n</tr>\n<tr style=\"height: 21px;\">\n<td style=\"width: 49.5098%; height: 21px;\">类型<span class=\"text-danger ng-star-inserted\">*</span></td>\n<td style=\"width: 49.5098%; height: 21px;\"><span class=\"text-danger ng-star-inserted\">必填项，</span>可选值为需要导入工单的产品中「产品设置」-「工单类型」已存在的工单类型。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">状态</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">填写工单状态：可选值为当前工单可选的状态，为空时默认为初始状态。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">负责人</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">填写组织成员的姓名，若组织中有重名的成员默认随机选择其中一位成员。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">描述</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">文本。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">优先级</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">可选值：P0、P1、P2、P3、P4。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">解决方案</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">可选值：进入需求池、技术排期、待进一步确认、方案调研、暂时搁置、功能已支持、不予采纳。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">标签</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">标签支持多个导入，需要导入系统内存在的标签，并使用&ldquo;，&rdquo;隔开。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">关注人</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">填写组织成员的姓名，若组织中有重名的成员默认随机选择其中一位成员，填写多个值时，请用\"，\"隔开。</td>\n</tr>\n</tbody>\n</table>",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "template_rule",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "content" : "<table style=\"border-collapse: collapse; width: 100%; height: 63px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 21px;\">\n<td style=\"width: 49.5098%; height: 21px;\">属性（带\"<span class=\"text-danger ng-star-inserted\">*</span>\"的为必填项）</td>\n<td style=\"width: 49.5098%; height: 21px;\">填写规则</td>\n</tr>\n<tr style=\"height: 21px;\">\n<td style=\"width: 49.5098%; height: 21px;\">标题<span class=\"text-danger ng-star-inserted\">*</span></td>\n<td style=\"width: 49.5098%; height: 21px;\"><span class=\"text-danger ng-star-inserted\">必填项，</span>不可为空。</td>\n</tr>\n<tr style=\"height: 21px;\">\n<td style=\"width: 49.5098%; height: 21px;\">类型<span class=\"text-danger ng-star-inserted\">*</span></td>\n<td style=\"width: 49.5098%; height: 21px;\"><span class=\"text-danger ng-star-inserted\">必填项，</span>可选值为需要导入工单的产品中「产品设置」-「工单类型」已存在的工单类型。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">状态</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">填写工单状态：可选值为当前工单可选的状态，为空时默认为初始状态。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">负责人</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">填写组织成员的姓名，若组织中有重名的成员默认随机选择其中一位成员。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">描述</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">文本。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">优先级</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">可选值：P0、P1、P2、P3、P4。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">解决方案</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">可选值：进入需求池、技术排期、待进一步确认、方案调研、暂时搁置、功能已支持、不予采纳。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">标签</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">标签支持多个导入，需要导入系统内存在的标签，并使用&ldquo;，&rdquo;隔开。</td>\n</tr>\n<tr class=\"cdk-drag thy-sortable-item cdk-drag-disabled ng-star-inserted\">\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">关注人</td>\n<td class=\"ng-star-inserted\" style=\"width: 49.5098%;\">填写组织成员的姓名，若组织中有重名的成员默认随机选择其中一位成员，填写多个值时，请用\"，\"隔开。</td>\n</tr>\n</tbody>\n</table>",
            "contentType" : "HTML",
            "name" : "template_rule",
            "predefinedType" : "STATIC_LABEL"
          },
          "showCaption" : true
        }, {
          "caption" : "上传文件描述",
          "contentType" : "HTML",
          "htmlContent" : "<p>上传文件</p>\n<p>上传需要导入的 Excel 文件，上传文件的表头字段名必须与对应工单属性一致，仅支持 xls 、 xlsx 。</p>",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "upload_description",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "content" : "<p>上传文件</p>\n<p>上传需要导入的 Excel 文件，上传文件的表头字段名必须与对应工单属性一致，仅支持 xls 、 xlsx 。</p>",
            "contentType" : "HTML",
            "name" : "upload_description",
            "predefinedType" : "STATIC_TEXT"
          },
          "showCaption" : true
        }, {
          "caption" : "文本",
          "contentType" : "HTML",
          "htmlContent" : "<p>点击此处&nbsp; &lt;a&gt;<a>上传文件&lt;/a&gt;</a></p>",
          "itemStyle" : "DEFAULT",
          "itemType" : "RAWITEM",
          "name" : "upload_raw",
          "getPSLayoutPos" : {
            "grow" : -1,
            "layout" : "FLEX"
          },
          "getPSRawItem" : {
            "content" : "<p>点击此处&nbsp; &lt;a&gt;<a>上传文件&lt;/a&gt;</a></p>",
            "contentType" : "HTML",
            "name" : "upload_raw",
            "predefinedType" : "STATIC_TEXT"
          },
          "showCaption" : true
        } ]
      } ]
    } ],
    "layoutBodyOnly" : false,
    "layoutPanel" : true,
    "useDefaultLayout" : false,
    "modelid" : "96F022AF-9527-4131-8731-77FFAA068077",
    "modeltype" : "PSSYSVIEWLAYOUTPANEL"
  },
  "title" : "应用数据导入视图",
  "viewStyle" : "DEFAULT",
  "viewType" : "APPDATAUPLOADVIEW",
  "enableDP" : false,
  "modelid" : "9D1822C3-E2FB-4DA9-AED1-2E71A7119365",
  "modeltype" : "PSAPPUTILVIEW",
  "getUserParam" : {
    "modalOption" : "{\"width\":\"auto\",\"height\":\"auto\"}"
  }
}