@leevan/jtui 2.0.18 → 2.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/examples/data2.js CHANGED
@@ -1,6 +1,16 @@
1
+ /*
2
+ * @Author: leevan
3
+ * @Date: 2022-03-15 21:52:59
4
+ * @LastEditTime: 2022-04-18 14:39:37
5
+ * @LastEditors: leevan
6
+ * @FilePath: /jtui-pc/examples/data2.js
7
+ */
1
8
  export function data(){
2
9
  return [{"retjson":{"isEnums":true,"isHaveHead":true,"header":[{"isSort":false,"prop":"name","width":240,"label":"名称","type":"String","align":"left","enum":[]},{"isSort":false,"prop":"path","width":0,"label":"path","type":"String","align":"","enum":[]},{"isSort":false,"prop":"pjcd","width":120,"label":"拟报标志","type":"String","align":"center","cellRender":"TabsBtn","enum":[]}],"isPages":false},"DataArray":[{"path":"NB_ADDVCD_DS?nbcode=/srdao/sqdb/ST_PPTN_05&stlbz=T","inBottons":[{"funcode":"stcd_ppcdreflash","color":"#409EFF","size":14,"name":"刷新","icon":"iconzengjia"},{"funcode":"stcd_search","color":"#409EFF","size":14,"name":"检索","icon":"iconzengjia"}],"name":"实时雨量(PN05)-[/srjtcontrol/nb/PN05ToPPTN]","pjcd":""},{"path":"NB_ADMAUTH?nbcode=/srdao/sqdb/RM_PF5&stlbz=P","inBottons":[{"funcode":"stcd_ppcdreflash","color":"#409EFF","size":14,"name":"刷新","icon":"iconzengjia"},{"funcode":"stcd_search","color":"#409EFF","size":14,"name":"检索","icon":"iconzengjia"}],"name":"累计雨量(PF5)-[/srjtcontrol/nb/PF5ToDB]","pjcd":""},{"path":"NB_ADMAUTH?nbcode=/srdao/sqdb/ST_RIVER_05&stlbz=T","inBottons":[{"funcode":"stcd_ppcdreflash","color":"#409EFF","size":14,"name":"刷新","icon":"iconzengjia"},{"funcode":"stcd_search","color":"#409EFF","size":14,"name":"检索","icon":"iconzengjia"}],"name":"水位流量(RIVER05)-[/srjtcontrol/nb/ZQToRiver]","pjcd":""},{"path":"NB_ADMAUTH?nbcode=/srdao/sqdb/ST_RSVR_R&stlbz=T","inBottons":[{"funcode":"stcd_ppcdreflash","color":"#409EFF","size":14,"name":"刷新","icon":"iconzengjia"},{"funcode":"stcd_search","color":"#409EFF","size":14,"name":"检索","icon":"iconzengjia"}],"name":"水库水情表(RSVR05)-[/srjtcontrol/nb/ZToRSVR]","pjcd":""},{"path":"NB_ADMAUTH?nbcode=/srdao/sqdb/ST_SOIL_R&stlbz=T","inBottons":[{"funcode":"stcd_ppcdreflash","color":"#409EFF","size":14,"name":"刷新","icon":"iconzengjia"},{"funcode":"stcd_search","color":"#409EFF","size":14,"name":"检索","icon":"iconzengjia"}],"name":"土壤墒情表-[/srjtcontrol/nb/MToSOIL]","pjcd":""},{"path":"NB_STLIST?admauth=none&pjcd=none&addvcd=none&nbcode=/SX/BV&stlbz=L","inBottons":[{"funcode":"stcd_ppcdreflash","color":"#409EFF","size":14,"name":"刷新","icon":"iconzengjia"},{"funcode":"stcd_search","color":"#409EFF","size":14,"name":"检索","icon":"iconzengjia"}],"name":"三峡遥测电压-[/srjtcontrol/sx/BVToSXRTSQ]","pjcd":""},{"path":"NB_STLIST?admauth=none&pjcd=none&addvcd=none&nbcode=/SX/PF5&stlbz=L","inBottons":[{"funcode":"stcd_ppcdreflash","color":"#409EFF","size":14,"name":"刷新","icon":"iconzengjia"},{"funcode":"stcd_search","color":"#409EFF","size":14,"name":"检索","icon":"iconzengjia"}],"name":"三峡遥测累计雨量-[/srjtcontrol/sx/PF5ToSXRTSQ]","pjcd":""}],"forms":[{"oprtype":"modify","submit":"/dbacc/test-app/39409a71d7d8bfdba778013749cf6730fa93ee98ad3c38b51bd3dd3e1a6f07c6/883A146DF81C76D9A22858721A45353B/sqrms_ycnb/","data":[],"display":false,"index":1,"showtype":"el-dialog","pagemodal":"step","Pages":[{"pagerule":"required","formtype":"JT_DEFAULT_FORM","formConfig":[{"disabled":false,"label":"nbcode","type":"empty","modelKey":"nbcode"},{"disabled":false,"label":"stcd","type":"empty","modelKey":"stcd"},{"disabled":false,"label":"pjcd","type":"empty","modelKey":"pjcd"}],"model":{"stcd":{},"nbcode":{},"pjcd":{}},"rules":{},"pagecode":"stcd_nb_0"}],"path":"IU","funcode":"stcd_nb","name":"测站拟报设置","width":"600","model":{}},{"Pages":[],"funcode":"stcd_ppcdreflash","oprtype":"Reflash","data":[],"display":false,"name":"刷新","width":"600","index":1,"model":{},"showtype":"el-dialog","pagemodal":"step"},{"oprtype":"modify","submit":"/dbacc/test-app/39409a71d7d8bfdba778013749cf6730fa93ee98ad3c38b51bd3dd3e1a6f07c6/883A146DF81C76D9A22858721A45353B/sqrms_ycnb/","data":[],"display":false,"index":1,"showtype":"el-dialog","pagemodal":"step","Pages":[{"pagerule":"required","formtype":"jt-form-pc","formConfig":[{"disabled":false,"label":"nbcode","type":"empty","modelKey":"nbcode"},{"disabled":false,"label":"stcd","type":"empty","modelKey":"stcd"},{"width":300,"defaultvalue":"","disabled":false,"label":"参数代码","placeholder":"请输入参数代码","type":"input","modelKey":"ppcdlist"}],"name":"测站拟报参数设置","labelWidth":200,"model":{"stcd":{},"nbcode":{},"ppcdlist":""},"rules":{},"pagecode":"stcd_ppcdlist_0"}],"path":"IU","funcode":"stcd_ppcdlist","name":"拟报参数","width":"600","model":{}},{"oprtype":"Search","submit":"/dbacc/test-app/65ddae9353688b639ee665a28da7e9ddfa91c372308a33fe8e0f899adf78637c/883A146DF81C76D9A22858721A45353B/sqrms_ycnb/","data":[],"display":false,"index":1,"showtype":"el-dialog","pagemodal":"step","Pages":[],"path":"NB_PJCD","funcode":"stcd_search","name":"检索","width":"600","model":{}}],"Result":7}]
3
10
  }
4
11
 
5
12
 
6
13
 
14
+ export function data1(){
15
+ return [{"retjson":{"isEnums":true,"inBottons":[{"funcode":"yczgzcspz_szz","color":"#d81e06","size":20,"name":"修改","icon":"edit-1-copy"}],"isHaveHead":true,"header":[{"isSort":true,"prop":"PPCD","width":80,"label":"参数代码","type":"String","align":"center"},{"isSort":true,"prop":"PPNM","width":200,"label":"参数名称","type":"String","align":"left"},{"isSort":true,"prop":"ZHXS","width":80,"label":"转换系数","type":"Decimal","align":"center"},{"isSort":false,"prop":"MINVL","width":80,"label":"最小值","type":"Decimal","align":"center"},{"isSort":false,"prop":"MAXVL","width":90,"label":"最大值","type":"Decimal","align":"center"},{"isSort":true,"prop":"PVLBZ","width":0,"label":"值标志","type":"String","align":"center"},{"isSort":false,"prop":"PVLBZ_SHOW","width":80,"label":"值标志","type":"String","align":"center"},{"isSort":true,"prop":"IS_WORK","width":0,"label":"是否工作参数","type":"String","align":"center"},{"isSort":true,"prop":"IS_REAL","width":0,"label":"是否实时数据","type":"String","align":"center"},{"isSort":true,"prop":"IS_GK","width":0,"label":"是否工况参数","type":"String","align":"center"},{"isSort":true,"prop":"IS_WORK_SHOW","width":80,"label":"是否工作参数","type":"String","align":"center"},{"isSort":true,"prop":"IS_REAL_SHOW","width":80,"label":"是否实时数据","type":"String","align":"center"},{"isSort":true,"prop":"IS_GK_SHOW","width":80,"label":"是否工况参数","type":"String","align":"center"}],"isPages":false,"isEnumsToTag":true},"DataArray":[{"MAXVL":99999,"ZHXS":0.1,"PPCD":"M10","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"0","PPNM":"10cm深度土壤含水率","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":100000,"ZHXS":0.001,"PPCD":"Q01","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"1","PPNM":"1号流量传感器流量值","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":0.010,"PPCD":"ZT01","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"1号水位传感器读数转换系数","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"ZA01","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"1号水位传感器发送控制标准-A","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"ZB01","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"1号水位传感器发送控制标准-B","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"ZC01","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"1号水位传感器发送控制标准-C","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"DZA01","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"1号水位传感器发送时间间隔控制-A","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"DZB01","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"1号水位传感器发送时间间隔控制-B","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"DZC01","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"1号水位传感器发送时间间隔控制-C","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"DZD01","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"1号水位传感器发送时间间隔控制-D","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"ZF01","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"1号水位传感器计算公式定义","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":6000,"ZHXS":0.01,"PPCD":"Z01","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"1","PPNM":"1号水位传感器水位值","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"ZD01","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"1号水位发传感器送控制标准-D","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":99999,"ZHXS":0.1,"PPCD":"M20","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"0","PPNM":"20cm深度土壤含水率","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":100000,"ZHXS":0.001,"PPCD":"Q02","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"1","PPNM":"2号流量传感器流量值","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1,"PPCD":"ZT02","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"2号水位传感器读数转换系数","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"ZA02","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"2号水位传感器发送控制标准-A","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"ZB02","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"2号水位传感器发送控制标准-B","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"ZC02","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"2号水位传感器发送控制标准-C","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"DZA02","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"2号水位传感器发送时间间隔控制-A","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"DZB02","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"2号水位传感器发送时间间隔控制-B","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"DZC02","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"2号水位传感器发送时间间隔控制-C","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"DZD02","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"2号水位传感器发送时间间隔控制-D","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"ZF02","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"2号水位传感器计算公式定义","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":6000,"ZHXS":0.01,"PPCD":"Z02","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"1","PPNM":"2号水位传感器水位值","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"ZD02","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"2号水位发传感器送控制标准-D","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":100000,"ZHXS":0.001,"PPCD":"Q03","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"0","PPNM":"3号流量传感器流量值","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":6000,"ZHXS":0.01,"PPCD":"Z03","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"1","PPNM":"3号水位传感器水位值","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"MAXVL":99999,"ZHXS":0.1,"PPCD":"M40","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"0","PPNM":"40cm深度土壤含水率","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":100000,"ZHXS":0.001,"PPCD":"Q04","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"1","PPNM":"4号流量传感器流量值","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"MAXVL":6000,"ZHXS":0.01,"PPCD":"Z04","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"1","PPNM":"4号水位传感器水位值","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"MAXVL":99999,"ZHXS":0.1,"PPCD":"PF5","PVLBZ_SHOW":"累计值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"R","IS_GK":"0","MINVL":0,"IS_REAL":"0","PPNM":"5分钟累雨量计值","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":36,"ZHXS":0.1,"PPCD":"PN05","PVLBZ_SHOW":"单点值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"P","IS_GK":"0","MINVL":0,"IS_REAL":"1","PPNM":"5分钟雨量值","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","PPCD":"CP4","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"GPRS优先级别","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","PPCD":"CP1","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"GSM短信优先级别","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"1","ZHXS":1.000,"PPCD":"SI1","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"GSM信号强度","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"是","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","PPCD":"CP3","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"PSTN优先级别","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"C","IS_GK":"1","PPCD":"VER","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"RTU版本号","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"是","IS_WORK_SHOW":"否"},{"MAXVL":6000,"ZHXS":0.01,"PPCD":"Z11","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"1","PPNM":"Z11水位传感器水位值","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"MAXVL":6000,"ZHXS":0.01,"PPCD":"Z12","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"L","IS_GK":"0","MINVL":0,"IS_REAL":"1","PPNM":"Z12水位传感器水位值","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"MAXVL":9999.000,"ZHXS":1.000,"PPCD":"DC","PVLBZ_SHOW":"累计值","IS_WORK":"0","IS_GK_SHOW":"是","PVLBZ":"R","IS_GK":"1","MINVL":0.000,"IS_REAL":"0","PPNM":"报文计数器","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"1","ZHXS":1.000,"PPCD":"SI2","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"北斗卫星信号强度","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"是","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","PPCD":"CP2","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"北斗卫星优先级别","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"NL","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"北纬","IS_WORK":"1","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"是"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"A01","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"测流参数A","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"F01","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"测流参数F","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"B","IS_GK":"0","ZHXS":1.000,"PPCD":"V01","PVLBZ_SHOW":"配置值","IS_REAL":"0","PPNM":"测流参数V","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"0","ZHXS":0.010,"PPCD":"V02","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"垂线流速02","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"0","ZHXS":0.010,"PPCD":"V03","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"垂线流速03","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"0","ZHXS":0.010,"PPCD":"V04","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"垂线流速04","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"0","ZHXS":0.010,"PPCD":"V05","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"垂线流速05","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"0","ZHXS":0.010,"PPCD":"V06","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"垂线流速06","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"0","ZHXS":0.010,"PPCD":"V07","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"垂线流速07","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"0","ZHXS":0.010,"PPCD":"V08","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"垂线流速08","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"0","ZHXS":0.010,"PPCD":"V09","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"垂线流速09","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"CODE","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"代码标识","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":30,"ZHXS":0.1,"PPCD":"BV","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"是","PVLBZ":"L","IS_GK":"1","MINVL":0,"IS_REAL":"1","PPNM":"电池电压","IS_REAL_SHOW":"是","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"EL","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"东经","IS_WORK":"1","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"是"},{"PVLBZ":"C","IS_GK":"0","PPCD":"GSM1","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"短信目标地址-1","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"C","IS_GK":"0","PPCD":"GSM2","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"短信目标地址-2","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"C","IS_GK":"0","PPCD":"GSM3","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"短信目标地址-3","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"C","IS_GK":"0","PPCD":"GSM4","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"短信目标地址-4","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":9999999.000,"ZHXS":1.000,"PPCD":"DI","PVLBZ_SHOW":"配置值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"B","IS_GK":"0","MINVL":0.000,"IS_REAL":"0","PPNM":"分包计数器","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"C","IS_GK":"0","PPCD":"IT1","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"服务器IP目标地址-1","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"C","IS_GK":"0","PPCD":"IT2","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"服务器IP目标地址-2","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"C","IS_GK":"0","PPCD":"IT3","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"服务器IP目标地址-3","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"C","IS_GK":"0","PPCD":"IT4","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"服务器IP目标地址-4","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"PT","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"服务器通讯端口","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"HOST1","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"服务器主机域名-1","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"HOST2","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"服务器主机域名-2","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"HOST3","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"服务器主机域名-3","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"C","IS_GK":"0","PPCD":"RF","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"更新标志","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"1","ZHXS":0.100,"PPCD":"ET","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"环境温度","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"是","IS_WORK_SHOW":"否"},{"PVLBZ":"C","IS_GK":"0","PPCD":"PW","PVLBZ_SHOW":"配置串","IS_REAL":"0","PPNM":"密码关键字","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":999999,"ZHXS":1,"PPCD":"PWN","PVLBZ_SHOW":"累计值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"R","IS_GK":"0","MINVL":0,"IS_REAL":"0","PPNM":"密码序号","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"L","IS_GK":"0","ZHXS":0.100,"PPCD":"ED","PVLBZ_SHOW":"连续值","IS_REAL":"0","PPNM":"日蒸发量","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"P","IS_GK":"0","ZHXS":1,"PPCD":"MF","PVLBZ_SHOW":"单点值","MINVL":0.000,"IS_REAL":"0","PPNM":"数据存储器剩余量","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"P","IS_GK":"0","ZHXS":1,"PPCD":"ML","PVLBZ_SHOW":"单点值","IS_REAL":"0","PPNM":"数据存储器指针","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":30.000,"ZHXS":0.100,"PPCD":"SV","PVLBZ_SHOW":"连续值","IS_WORK":"0","IS_GK_SHOW":"是","PVLBZ":"L","IS_GK":"1","MINVL":0.000,"IS_REAL":"0","PPNM":"太阳能电压","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"PIC1","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"图片标识","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"NQ","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"土壤农情信息","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":99999,"ZHXS":0.1,"PPCD":"RC","PVLBZ_SHOW":"累计值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"R","IS_GK":"0","MINVL":0,"IS_REAL":"0","PPNM":"小时雨量累计值","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":9999.000,"ZHXS":1.00,"PPCD":"RD","PVLBZ_SHOW":"配置值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"B","IS_GK":"0","MINVL":0.000,"IS_REAL":"0","PPNM":"雨量传感器分辨力","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":9999.000,"ZHXS":1.00,"PPCD":"PI","PVLBZ_SHOW":"配置值","IS_WORK":"0","IS_GK_SHOW":"否","PVLBZ":"B","IS_GK":"0","MINVL":0.000,"IS_REAL":"0","PPNM":"雨量加报控制标准","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"DNS1","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"域名解析服务器-1","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"PVLBZ":"S","IS_GK":"0","PPCD":"DNS2","PVLBZ_SHOW":"字符串","IS_REAL":"0","PPNM":"域名解析服务器-2","IS_WORK":"0","IS_REAL_SHOW":"否","IS_GK_SHOW":"否","IS_WORK_SHOW":"否"},{"MAXVL":999999.000,"ZHXS":1.000,"PPCD":"CN","PVLBZ_SHOW":"累计值","IS_WORK":"0","IS_GK_SHOW":"是","PVLBZ":"R","IS_GK":"1","MINVL":0.000,"IS_REAL":"0","PPNM":"招测计数器","IS_REAL_SHOW":"否","IS_WORK_SHOW":"否"}],"Result":87}]
16
+ }
@@ -99,7 +99,8 @@
99
99
  </template>
100
100
 
101
101
  <script>
102
- import { data23 , data13,data7 } from '../../packages/jt-table-pc/data2';
102
+ import { data23 , data13,data7 ,data5} from '../../packages/jt-table-pc/data2';
103
+ import { data1 } from '../data2';
103
104
  export default {
104
105
  data(){
105
106
  return {
@@ -130,11 +131,11 @@ import { data23 , data13,data7 } from '../../packages/jt-table-pc/data2';
130
131
  }
131
132
  },
132
133
  created(){
133
- const res = data7();
134
+ const res = data5();
134
135
  this.tableData[0].retjson = res[0].retjson;
135
136
  },
136
137
  mounted(){
137
- const res = data7();
138
+ const res = data5();
138
139
  let timeId = setTimeout(()=>{
139
140
  this.$refs.tablePtbg.loadData(res[0].DataArray);
140
141
  clearTimeout(timeId);
@@ -146,7 +147,6 @@ import { data23 , data13,data7 } from '../../packages/jt-table-pc/data2';
146
147
  this.$refs.tablePtbg.exportTableData();
147
148
  },
148
149
  exportDataExcel(){
149
- debugger;
150
150
  this.$refs.tablePtbg.exportData({ type: 'csv' });
151
151
  },
152
152
  //导入数据
@@ -231258,7 +231258,7 @@ var es_function_name = __webpack_require__("b0c0");
231258
231258
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
231259
231259
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
231260
231260
 
231261
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=1e2979c4&
231261
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=66056588&
231262
231262
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tableStyle-2",class:_vm.isWrap ? 'isWrap' : '',staticStyle:{"position":"absolute","top":"1px","left":"1px","right":"1px","bottom":"1px"}},[(_vm.isTool)?_c('div',{staticStyle:{"position":"relative"}},[_c('vxe-toolbar',{staticClass:"jt-toolbar",attrs:{"custom":{ icon: 'jtIcon iconpeizhi41 colStyle' }}})],1):_vm._e(),(_vm.tableType === 'default')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"height":"auto","size":"mini","show-overflow":"","show-header-overflow":"","auto-resize":"","resizable":"","highlight-current-row":"","highlight-current-column":"","keep-source":"","id":_vm.id,"data":_vm.data.DataArray,"stripe":_vm.stripe,"border":_vm.border,"max-height":_vm.maxHeight,"show-footer":_vm.isFooter,"footer-method":_vm.footerMethod,"footer-span-method":_vm.footerColspanMethod,"footer-cell-class-name":_vm.footerCellClassName,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"header-cell-class-name":_vm.headerClass,"span-method":_vm.spanMethod,"scroll-y":{ mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
231263
231263
  type: 'xlsx',
231264
231264
  types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
@@ -231358,7 +231358,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
231358
231358
  var staticRenderFns = []
231359
231359
 
231360
231360
 
231361
- // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=1e2979c4&
231361
+ // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=66056588&
231362
231362
 
231363
231363
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
231364
231364
  var es_array_concat = __webpack_require__("99af");
@@ -232952,14 +232952,20 @@ var component = normalizeComponent(
232952
232952
  var list = [];
232953
232953
 
232954
232954
  if (order === "asc" || order === "desc") {
232955
- if (/.*[\u4e00-\u9fa5]+.*$/.test(data1[0][property])) {
232955
+ if (/.*[\u4e00-\u9fa5]+.*$/.test(data1[0][property]) || /[a-zA-Z]/i.test(data1[0][property])) {
232956
232956
  list = data1.sort(function (a, b) {
232957
232957
  return a[property].localeCompare(b[property]);
232958
232958
  });
232959
232959
  } else {
232960
- list = data1.sort(function (a, b) {
232961
- return a[property] - b[property];
232962
- });
232960
+ if (isNaN(data1[0][property]) && !isNaN(Date.parse(data1[0][property]))) {
232961
+ list = data1.sort(function (a, b) {
232962
+ return new Date(a[property]).getTime() - new Date(b[property]).getTime();
232963
+ });
232964
+ } else {
232965
+ list = data1.sort(function (a, b) {
232966
+ return a[property] - b[property];
232967
+ });
232968
+ }
232963
232969
  }
232964
232970
  }
232965
232971
 
@@ -233118,7 +233124,7 @@ var component = normalizeComponent(
233118
233124
  var ch = $event.target.clientHeight;
233119
233125
  var sh = $event.target.scrollHeight;
233120
233126
 
233121
- if (scrollTop + ch >= sh) {
233127
+ if (scrollTop + ch >= sh && scrollTop != 0) {
233122
233128
  _this2.$emit("scrollBottom", ++_this2.pageIndex);
233123
233129
  }
233124
233130
  }, 200);
@@ -233580,18 +233586,22 @@ jt_table.install = function (Vue) {
233580
233586
 
233581
233587
 
233582
233588
  /* harmony default export */ var packages_jt_table = (jt_table);
233583
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=35a74f31&
233584
- var JtFormPcvue_type_template_id_35a74f31_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"jt-form-class-only",style:(_vm.style)},[_c('el-form',{ref:_vm.id,attrs:{"model":_vm.model,"label-width":_vm.labelWidth === 'auto' ? _vm.labelWidth : _vm.labelWidth+'px',"label-position":_vm.labelPosition,"rules":_vm.rules,"size":_vm.size,"inline":_vm.inline}},_vm._l((_vm.formConfig),function(item,index){return _c('el-form-item',{key:index,attrs:{"prop":item.modelKey,"label":item.label}},[(item.type === 'empty')?_c('div',{style:({width:item.width ? item.width === 'auto' ?
233585
- item.width : item.width + 'px' : '200px',height:_vm.type2size(_vm.size)})}):_vm._e(),(item.type === 'upload')?_vm._t(item.slotName ? item.slotName :'upload'):_vm._e(),(item.type === 'custom')?_c('el-tooltip',{attrs:{"popper-class":"jt-form-popper","placement":"top"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._t(item.slotName)],2),_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}})],1):_vm._e(),(item.type === 'text')?_c('span',{staticClass:"ht-text"},[_vm._v(_vm._s(_vm.model[item.modelKey]))]):_vm._e(),(item.type === 'input')?_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : '',"type":item.iType ? item.iType : 'text',"disabled":item.disabled ? item.disabled : false},on:{"focus":function($event){return _vm.focus(item.modelKey,$event)},"blur":function($event){return _vm.blur(item.modelKey,$event)}},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},[('isPwd' in item)?_c('i',{staticClass:"jtIcon",class:item.isPwd ? 'iconyincangmima' : 'iconxianshimima',attrs:{"slot":"suffix"},on:{"click":function($event){$event.stopPropagation();return _vm.eyeClick(item)}},slot:"suffix"}):_vm._e()]):_vm._e(),(item.type === 'iNumber')?_c('el-input-number',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"min":item.min!=undefined ? item.min : -1.7976931348623157E+10308,"max":item.max!=undefined ? item.max : 1.7976931348623157E+10308,"controls-position":"right"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'select')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"default-first-option":"","disabled":item.disabled ? item.disabled : false,"filterable":item.isCreate ? true : false,"allow-create":item.isCreate ? true : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i){return _c('el-option',{key:i.value,attrs:{"label":i.label,"value":i.value}})}),1):_vm._e(),(item.type === 'select_r')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"filterable":"","remote":"","remote-method":item.remoteMethod,"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i){return _c('el-option',{key:i.value,attrs:{"label":i.label,"value":i.value}})}),1):_vm._e(),(item.type === 'cascader')?_c('el-cascader',{ref:item.refName? item.refName : 'elCascader',refInFor:true,style:({width:item.width ? item.width === 'auto' ? item.width :item.width + 'px' : '200px'}),attrs:{"filterable":item.filterable !== undefined ? item.filterable : true,"disabled":item.disabled ? item.disabled : false,"collapse-tags":_vm.collapseTags,"show-all-levels":item.isEnd ? item.isEnd : true,"placeholder":item.placeholder ? item.placeholder : '请选择',"props":_vm.loadData({
233589
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=4d950d71&
233590
+ var JtFormPcvue_type_template_id_4d950d71_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"jt-form-class-only",style:(_vm.style)},[_c('el-form',{ref:_vm.id,attrs:{"model":_vm.model,"label-width":_vm.labelWidth === 'auto' ? _vm.labelWidth : _vm.labelWidth+'px',"label-position":_vm.labelPosition,"rules":_vm.rules,"size":_vm.size,"inline":_vm.inline}},_vm._l((_vm.formConfig),function(item,index){return _c('el-form-item',{key:index,attrs:{"prop":item.modelKey,"label":item.label}},[(item.type === 'empty')?_c('div',{style:({width:item.width ? item.width === 'auto' ?
233591
+ item.width : item.width + 'px' : '200px',height:_vm.type2size(_vm.size)})}):_vm._e(),(item.type === 'upload')?_vm._t(item.slotName ? item.slotName :'upload'):_vm._e(),(item.type === 'custom')?_c('el-tooltip',{attrs:{"popper-class":"jt-form-popper","placement":"top"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._t(item.slotName)],2),_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}})],1):_vm._e(),(item.type === 'text')?_c('span',{staticClass:"ht-text"},[_vm._v(_vm._s(_vm.model[item.modelKey]))]):_vm._e(),(item.type === 'input')?_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : '',"type":item.iType ? item.iType : 'text',"disabled":item.disabled ? item.disabled : false},on:{"focus":function($event){return _vm.focus(item.modelKey,$event)},"blur":function($event){return _vm.blur(item.modelKey,$event)}},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},[('isPwd' in item)?_c('i',{staticClass:"jtIcon",class:item.isPwd ? 'iconyincangmima' : 'iconxianshimima',attrs:{"slot":"suffix"},on:{"click":function($event){$event.stopPropagation();return _vm.eyeClick(item)}},slot:"suffix"}):_vm._e()]):_vm._e(),(item.type === 'iNumber')?_c('el-input-number',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"min":item.min!=undefined ? item.min : -1.7976931348623157E+10308,"max":item.max!=undefined ? item.max : 1.7976931348623157E+10308,"controls-position":"right"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'select')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"default-first-option":"","disabled":item.disabled ? item.disabled : false,"filterable":item.isCreate ? true : false,"allow-create":item.isCreate ? true : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i){return _c('el-option',{key:i.value,attrs:{"label":i.label,"value":i.value}})}),1):_vm._e(),(item.type === 'select_r')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"filterable":"","remote":"","remote-method":item.path ? _vm.selectRemoteData({
233592
+ path: item.path,
233593
+ childPath: item.childPath,
233594
+ params: item.params,
233595
+ }) : item.remoteMethod,"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i){return _c('el-option',{key:i.value,attrs:{"label":i.label,"value":i.value}})}),1):_vm._e(),(item.type === 'cascader')?_c('el-cascader',{ref:item.refName? item.refName : 'elCascader',refInFor:true,style:({width:item.width ? item.width === 'auto' ? item.width :item.width + 'px' : '200px'}),attrs:{"filterable":item.filterable !== undefined ? item.filterable : true,"disabled":item.disabled ? item.disabled : false,"collapse-tags":_vm.collapseTags,"show-all-levels":item.isEnd ? item.isEnd : true,"placeholder":item.placeholder ? item.placeholder : '请选择',"props":_vm.loadData({
233586
233596
  path:item.path,
233587
233597
  childPath:item.childPath,
233588
233598
  params:item.params,
233589
233599
  checkStrictly:item.checkStrictly,
233590
233600
  multiple:item.multiple})},on:{"change":function($event){return _vm.casChange(item.refName? item.refName : 'elCascader',item.modelKey)}},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'date')?_c('el-date-picker',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"type":item.dType,"value-format":item.valFormat,"unlink-panels":"","start-placeholder":"开始日期","end-placeholder":"结束日期","placeholder":"选择日期"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'time')?_c('el-time-picker',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"value-format":"HH:mm:ss","disabled":item.disabled ? item.disabled : false,"placeholder":item.placeholder ? item.placeholder : '请选择时间'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'switch')?_c('span',{staticStyle:{"margin-right":"5px"}},[_vm._v(_vm._s(item.bText))]):_vm._e(),(item.type === 'switch')?_c('el-switch',{attrs:{"disabled":item.disabled ? item.disabled : false,"active-text":item.rt ? item.rt : '',"inactive-text":item.lt ? item.lt : '',"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'switch')?_c('span',{staticStyle:{"margin-left":"5px"}},[_vm._v(_vm._s(item.fText))]):_vm._e(),(item.type === 'checkbox')?_c('el-checkbox-group',{model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i,index){return _c('el-checkbox',{key:index,attrs:{"label":i.value,"disabled":i.disabled ? i.disabled : false}},[_vm._v(_vm._s(i.label))])}),1):_vm._e(),(item.type === 'radio')?_c('el-radio-group',{model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i,index){return _c('el-radio',{key:index,attrs:{"disabled":i.disabled ? i.disabled : false,"label":i.value}},[_vm._v(_vm._s(i.label))])}),1):_vm._e(),(item.type === 'monthDay')?_c('monthDay',{attrs:{"width":item.width ? item.width : '100'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.button)?_c('el-button',{staticClass:"jt-form-item-button",on:{"click":function($event){return _vm.itemClick(item.button.value,index)}}},[_vm._v(" "+_vm._s(item.button.label)+" ")]):_vm._e(),(item.type === 'autocomplete')?_c('el-autocomplete',{staticClass:"inline-input",style:({width:item.width ? item.width + 'px' : '100px'}),attrs:{"fetch-suggestions":item.querySearch,"placeholder":item.placeholder ? item.placeholder : '请输入'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e()],2)}),1)],1)}
233591
- var JtFormPcvue_type_template_id_35a74f31_staticRenderFns = []
233601
+ var JtFormPcvue_type_template_id_4d950d71_staticRenderFns = []
233592
233602
 
233593
233603
 
233594
- // CONCATENATED MODULE: ./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=35a74f31&
233604
+ // CONCATENATED MODULE: ./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=4d950d71&
233595
233605
 
233596
233606
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
233597
233607
  var es_object_keys = __webpack_require__("b64b");
@@ -234258,6 +234268,10 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
234258
234268
  //
234259
234269
  //
234260
234270
  //
234271
+ //
234272
+ //
234273
+ //
234274
+ //
234261
234275
 
234262
234276
 
234263
234277
 
@@ -234471,6 +234485,33 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
234471
234485
  //重置
234472
234486
  resetAll: function resetAll() {
234473
234487
  this.$refs[this.id].resetFields();
234488
+ },
234489
+ selectRemoteData: function selectRemoteData(config) {
234490
+ var _this3 = this;
234491
+
234492
+ return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
234493
+ var path, childPath, _config$params, params, _yield$_this3$$axios$, data;
234494
+
234495
+ return regeneratorRuntime.wrap(function _callee2$(_context2) {
234496
+ while (1) {
234497
+ switch (_context2.prev = _context2.next) {
234498
+ case 0:
234499
+ path = config.path, childPath = config.childPath, _config$params = config.params, params = _config$params === void 0 ? {} : _config$params;
234500
+ _context2.next = 3;
234501
+ return _this3.$axios.post(path + childPath, params);
234502
+
234503
+ case 3:
234504
+ _yield$_this3$$axios$ = _context2.sent;
234505
+ data = _yield$_this3$$axios$.data;
234506
+ return _context2.abrupt("return", data);
234507
+
234508
+ case 6:
234509
+ case "end":
234510
+ return _context2.stop();
234511
+ }
234512
+ }
234513
+ }, _callee2);
234514
+ }))();
234474
234515
  }
234475
234516
  },
234476
234517
  computed: {
@@ -234497,8 +234538,8 @@ var JtFormPcvue_type_style_index_0_lang_css_ = __webpack_require__("2e7d");
234497
234538
 
234498
234539
  var JtFormPc_component = normalizeComponent(
234499
234540
  jt_form_pc_JtFormPcvue_type_script_lang_js_,
234500
- JtFormPcvue_type_template_id_35a74f31_render,
234501
- JtFormPcvue_type_template_id_35a74f31_staticRenderFns,
234541
+ JtFormPcvue_type_template_id_4d950d71_render,
234542
+ JtFormPcvue_type_template_id_4d950d71_staticRenderFns,
234502
234543
  false,
234503
234544
  null,
234504
234545
  null,
package/lib/jtui.umd.js CHANGED
@@ -231267,7 +231267,7 @@ var es_function_name = __webpack_require__("b0c0");
231267
231267
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
231268
231268
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
231269
231269
 
231270
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=1e2979c4&
231270
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-table/index.vue?vue&type=template&id=66056588&
231271
231271
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tableStyle-2",class:_vm.isWrap ? 'isWrap' : '',staticStyle:{"position":"absolute","top":"1px","left":"1px","right":"1px","bottom":"1px"}},[(_vm.isTool)?_c('div',{staticStyle:{"position":"relative"}},[_c('vxe-toolbar',{staticClass:"jt-toolbar",attrs:{"custom":{ icon: 'jtIcon iconpeizhi41 colStyle' }}})],1):_vm._e(),(_vm.tableType === 'default')?_c('vxe-table',{ref:_vm.id,staticClass:"jt-table-class-only",attrs:{"height":"auto","size":"mini","show-overflow":"","show-header-overflow":"","auto-resize":"","resizable":"","highlight-current-row":"","highlight-current-column":"","keep-source":"","id":_vm.id,"data":_vm.data.DataArray,"stripe":_vm.stripe,"border":_vm.border,"max-height":_vm.maxHeight,"show-footer":_vm.isFooter,"footer-method":_vm.footerMethod,"footer-span-method":_vm.footerColspanMethod,"footer-cell-class-name":_vm.footerCellClassName,"loading":_vm.loading,"row-style":_vm.rowStyle,"cell-style":_vm.cellStyle_m,"header-cell-class-name":_vm.headerClass,"span-method":_vm.spanMethod,"scroll-y":{ mode: 'wheel' },"sort-config":{ sortMethod: _vm.sortMethod },"radio-config":{ checkRowKey: null },"keyboard-config":{ isArrow: true },"checkbox-config":{ highlight: true },"export-config":{
231272
231272
  type: 'xlsx',
231273
231273
  types: ['xlsx', 'csv', 'html', 'xml', 'txt'],
@@ -231367,7 +231367,7 @@ return [(_vm.handlerConfig.btnGroup)?_c('el-dropdown',[_c('el-button',{attrs:{"s
231367
231367
  var staticRenderFns = []
231368
231368
 
231369
231369
 
231370
- // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=1e2979c4&
231370
+ // CONCATENATED MODULE: ./packages/jt-table/index.vue?vue&type=template&id=66056588&
231371
231371
 
231372
231372
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
231373
231373
  var es_array_concat = __webpack_require__("99af");
@@ -232961,14 +232961,20 @@ var component = normalizeComponent(
232961
232961
  var list = [];
232962
232962
 
232963
232963
  if (order === "asc" || order === "desc") {
232964
- if (/.*[\u4e00-\u9fa5]+.*$/.test(data1[0][property])) {
232964
+ if (/.*[\u4e00-\u9fa5]+.*$/.test(data1[0][property]) || /[a-zA-Z]/i.test(data1[0][property])) {
232965
232965
  list = data1.sort(function (a, b) {
232966
232966
  return a[property].localeCompare(b[property]);
232967
232967
  });
232968
232968
  } else {
232969
- list = data1.sort(function (a, b) {
232970
- return a[property] - b[property];
232971
- });
232969
+ if (isNaN(data1[0][property]) && !isNaN(Date.parse(data1[0][property]))) {
232970
+ list = data1.sort(function (a, b) {
232971
+ return new Date(a[property]).getTime() - new Date(b[property]).getTime();
232972
+ });
232973
+ } else {
232974
+ list = data1.sort(function (a, b) {
232975
+ return a[property] - b[property];
232976
+ });
232977
+ }
232972
232978
  }
232973
232979
  }
232974
232980
 
@@ -233127,7 +233133,7 @@ var component = normalizeComponent(
233127
233133
  var ch = $event.target.clientHeight;
233128
233134
  var sh = $event.target.scrollHeight;
233129
233135
 
233130
- if (scrollTop + ch >= sh) {
233136
+ if (scrollTop + ch >= sh && scrollTop != 0) {
233131
233137
  _this2.$emit("scrollBottom", ++_this2.pageIndex);
233132
233138
  }
233133
233139
  }, 200);
@@ -233589,18 +233595,22 @@ jt_table.install = function (Vue) {
233589
233595
 
233590
233596
 
233591
233597
  /* harmony default export */ var packages_jt_table = (jt_table);
233592
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=35a74f31&
233593
- var JtFormPcvue_type_template_id_35a74f31_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"jt-form-class-only",style:(_vm.style)},[_c('el-form',{ref:_vm.id,attrs:{"model":_vm.model,"label-width":_vm.labelWidth === 'auto' ? _vm.labelWidth : _vm.labelWidth+'px',"label-position":_vm.labelPosition,"rules":_vm.rules,"size":_vm.size,"inline":_vm.inline}},_vm._l((_vm.formConfig),function(item,index){return _c('el-form-item',{key:index,attrs:{"prop":item.modelKey,"label":item.label}},[(item.type === 'empty')?_c('div',{style:({width:item.width ? item.width === 'auto' ?
233594
- item.width : item.width + 'px' : '200px',height:_vm.type2size(_vm.size)})}):_vm._e(),(item.type === 'upload')?_vm._t(item.slotName ? item.slotName :'upload'):_vm._e(),(item.type === 'custom')?_c('el-tooltip',{attrs:{"popper-class":"jt-form-popper","placement":"top"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._t(item.slotName)],2),_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}})],1):_vm._e(),(item.type === 'text')?_c('span',{staticClass:"ht-text"},[_vm._v(_vm._s(_vm.model[item.modelKey]))]):_vm._e(),(item.type === 'input')?_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : '',"type":item.iType ? item.iType : 'text',"disabled":item.disabled ? item.disabled : false},on:{"focus":function($event){return _vm.focus(item.modelKey,$event)},"blur":function($event){return _vm.blur(item.modelKey,$event)}},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},[('isPwd' in item)?_c('i',{staticClass:"jtIcon",class:item.isPwd ? 'iconyincangmima' : 'iconxianshimima',attrs:{"slot":"suffix"},on:{"click":function($event){$event.stopPropagation();return _vm.eyeClick(item)}},slot:"suffix"}):_vm._e()]):_vm._e(),(item.type === 'iNumber')?_c('el-input-number',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"min":item.min!=undefined ? item.min : -1.7976931348623157E+10308,"max":item.max!=undefined ? item.max : 1.7976931348623157E+10308,"controls-position":"right"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'select')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"default-first-option":"","disabled":item.disabled ? item.disabled : false,"filterable":item.isCreate ? true : false,"allow-create":item.isCreate ? true : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i){return _c('el-option',{key:i.value,attrs:{"label":i.label,"value":i.value}})}),1):_vm._e(),(item.type === 'select_r')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"filterable":"","remote":"","remote-method":item.remoteMethod,"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i){return _c('el-option',{key:i.value,attrs:{"label":i.label,"value":i.value}})}),1):_vm._e(),(item.type === 'cascader')?_c('el-cascader',{ref:item.refName? item.refName : 'elCascader',refInFor:true,style:({width:item.width ? item.width === 'auto' ? item.width :item.width + 'px' : '200px'}),attrs:{"filterable":item.filterable !== undefined ? item.filterable : true,"disabled":item.disabled ? item.disabled : false,"collapse-tags":_vm.collapseTags,"show-all-levels":item.isEnd ? item.isEnd : true,"placeholder":item.placeholder ? item.placeholder : '请选择',"props":_vm.loadData({
233598
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e503786-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=4d950d71&
233599
+ var JtFormPcvue_type_template_id_4d950d71_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"jt-form-class-only",style:(_vm.style)},[_c('el-form',{ref:_vm.id,attrs:{"model":_vm.model,"label-width":_vm.labelWidth === 'auto' ? _vm.labelWidth : _vm.labelWidth+'px',"label-position":_vm.labelPosition,"rules":_vm.rules,"size":_vm.size,"inline":_vm.inline}},_vm._l((_vm.formConfig),function(item,index){return _c('el-form-item',{key:index,attrs:{"prop":item.modelKey,"label":item.label}},[(item.type === 'empty')?_c('div',{style:({width:item.width ? item.width === 'auto' ?
233600
+ item.width : item.width + 'px' : '200px',height:_vm.type2size(_vm.size)})}):_vm._e(),(item.type === 'upload')?_vm._t(item.slotName ? item.slotName :'upload'):_vm._e(),(item.type === 'custom')?_c('el-tooltip',{attrs:{"popper-class":"jt-form-popper","placement":"top"}},[_c('div',{attrs:{"slot":"content"},slot:"content"},[_vm._t(item.slotName)],2),_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}})],1):_vm._e(),(item.type === 'text')?_c('span',{staticClass:"ht-text"},[_vm._v(_vm._s(_vm.model[item.modelKey]))]):_vm._e(),(item.type === 'input')?_c('el-input',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"placeholder":item.placeholder ? item.placeholder : '',"type":item.iType ? item.iType : 'text',"disabled":item.disabled ? item.disabled : false},on:{"focus":function($event){return _vm.focus(item.modelKey,$event)},"blur":function($event){return _vm.blur(item.modelKey,$event)}},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},[('isPwd' in item)?_c('i',{staticClass:"jtIcon",class:item.isPwd ? 'iconyincangmima' : 'iconxianshimima',attrs:{"slot":"suffix"},on:{"click":function($event){$event.stopPropagation();return _vm.eyeClick(item)}},slot:"suffix"}):_vm._e()]):_vm._e(),(item.type === 'iNumber')?_c('el-input-number',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"min":item.min!=undefined ? item.min : -1.7976931348623157E+10308,"max":item.max!=undefined ? item.max : 1.7976931348623157E+10308,"controls-position":"right"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'select')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"default-first-option":"","disabled":item.disabled ? item.disabled : false,"filterable":item.isCreate ? true : false,"allow-create":item.isCreate ? true : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i){return _c('el-option',{key:i.value,attrs:{"label":i.label,"value":i.value}})}),1):_vm._e(),(item.type === 'select_r')?_c('el-select',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"multiple":item.multiple === undefined ? false : true,"collapse-tags":item.collapse ===undefined ? false : true,"filterable":"","remote":"","remote-method":item.path ? _vm.selectRemoteData({
233601
+ path: item.path,
233602
+ childPath: item.childPath,
233603
+ params: item.params,
233604
+ }) : item.remoteMethod,"placeholder":item.placeholder ? item.placeholder : ''},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i){return _c('el-option',{key:i.value,attrs:{"label":i.label,"value":i.value}})}),1):_vm._e(),(item.type === 'cascader')?_c('el-cascader',{ref:item.refName? item.refName : 'elCascader',refInFor:true,style:({width:item.width ? item.width === 'auto' ? item.width :item.width + 'px' : '200px'}),attrs:{"filterable":item.filterable !== undefined ? item.filterable : true,"disabled":item.disabled ? item.disabled : false,"collapse-tags":_vm.collapseTags,"show-all-levels":item.isEnd ? item.isEnd : true,"placeholder":item.placeholder ? item.placeholder : '请选择',"props":_vm.loadData({
233595
233605
  path:item.path,
233596
233606
  childPath:item.childPath,
233597
233607
  params:item.params,
233598
233608
  checkStrictly:item.checkStrictly,
233599
233609
  multiple:item.multiple})},on:{"change":function($event){return _vm.casChange(item.refName? item.refName : 'elCascader',item.modelKey)}},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'date')?_c('el-date-picker',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"disabled":item.disabled ? item.disabled : false,"type":item.dType,"value-format":item.valFormat,"unlink-panels":"","start-placeholder":"开始日期","end-placeholder":"结束日期","placeholder":"选择日期"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'time')?_c('el-time-picker',{style:({width:item.width ? item.width === 'auto' ? item.width : item.width + 'px' : '200px'}),attrs:{"value-format":"HH:mm:ss","disabled":item.disabled ? item.disabled : false,"placeholder":item.placeholder ? item.placeholder : '请选择时间'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'switch')?_c('span',{staticStyle:{"margin-right":"5px"}},[_vm._v(_vm._s(item.bText))]):_vm._e(),(item.type === 'switch')?_c('el-switch',{attrs:{"disabled":item.disabled ? item.disabled : false,"active-text":item.rt ? item.rt : '',"inactive-text":item.lt ? item.lt : '',"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.type === 'switch')?_c('span',{staticStyle:{"margin-left":"5px"}},[_vm._v(_vm._s(item.fText))]):_vm._e(),(item.type === 'checkbox')?_c('el-checkbox-group',{model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i,index){return _c('el-checkbox',{key:index,attrs:{"label":i.value,"disabled":i.disabled ? i.disabled : false}},[_vm._v(_vm._s(i.label))])}),1):_vm._e(),(item.type === 'radio')?_c('el-radio-group',{model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}},_vm._l((item.options),function(i,index){return _c('el-radio',{key:index,attrs:{"disabled":i.disabled ? i.disabled : false,"label":i.value}},[_vm._v(_vm._s(i.label))])}),1):_vm._e(),(item.type === 'monthDay')?_c('monthDay',{attrs:{"width":item.width ? item.width : '100'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e(),(item.button)?_c('el-button',{staticClass:"jt-form-item-button",on:{"click":function($event){return _vm.itemClick(item.button.value,index)}}},[_vm._v(" "+_vm._s(item.button.label)+" ")]):_vm._e(),(item.type === 'autocomplete')?_c('el-autocomplete',{staticClass:"inline-input",style:({width:item.width ? item.width + 'px' : '100px'}),attrs:{"fetch-suggestions":item.querySearch,"placeholder":item.placeholder ? item.placeholder : '请输入'},model:{value:(_vm.model[item.modelKey]),callback:function ($$v) {_vm.$set(_vm.model, item.modelKey, $$v)},expression:"model[item.modelKey]"}}):_vm._e()],2)}),1)],1)}
233600
- var JtFormPcvue_type_template_id_35a74f31_staticRenderFns = []
233610
+ var JtFormPcvue_type_template_id_4d950d71_staticRenderFns = []
233601
233611
 
233602
233612
 
233603
- // CONCATENATED MODULE: ./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=35a74f31&
233613
+ // CONCATENATED MODULE: ./packages/jt-form-pc/JtFormPc.vue?vue&type=template&id=4d950d71&
233604
233614
 
233605
233615
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
233606
233616
  var es_object_keys = __webpack_require__("b64b");
@@ -234267,6 +234277,10 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
234267
234277
  //
234268
234278
  //
234269
234279
  //
234280
+ //
234281
+ //
234282
+ //
234283
+ //
234270
234284
 
234271
234285
 
234272
234286
 
@@ -234480,6 +234494,33 @@ var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
234480
234494
  //重置
234481
234495
  resetAll: function resetAll() {
234482
234496
  this.$refs[this.id].resetFields();
234497
+ },
234498
+ selectRemoteData: function selectRemoteData(config) {
234499
+ var _this3 = this;
234500
+
234501
+ return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
234502
+ var path, childPath, _config$params, params, _yield$_this3$$axios$, data;
234503
+
234504
+ return regeneratorRuntime.wrap(function _callee2$(_context2) {
234505
+ while (1) {
234506
+ switch (_context2.prev = _context2.next) {
234507
+ case 0:
234508
+ path = config.path, childPath = config.childPath, _config$params = config.params, params = _config$params === void 0 ? {} : _config$params;
234509
+ _context2.next = 3;
234510
+ return _this3.$axios.post(path + childPath, params);
234511
+
234512
+ case 3:
234513
+ _yield$_this3$$axios$ = _context2.sent;
234514
+ data = _yield$_this3$$axios$.data;
234515
+ return _context2.abrupt("return", data);
234516
+
234517
+ case 6:
234518
+ case "end":
234519
+ return _context2.stop();
234520
+ }
234521
+ }
234522
+ }, _callee2);
234523
+ }))();
234483
234524
  }
234484
234525
  },
234485
234526
  computed: {
@@ -234506,8 +234547,8 @@ var JtFormPcvue_type_style_index_0_lang_css_ = __webpack_require__("2e7d");
234506
234547
 
234507
234548
  var JtFormPc_component = normalizeComponent(
234508
234549
  jt_form_pc_JtFormPcvue_type_script_lang_js_,
234509
- JtFormPcvue_type_template_id_35a74f31_render,
234510
- JtFormPcvue_type_template_id_35a74f31_staticRenderFns,
234550
+ JtFormPcvue_type_template_id_4d950d71_render,
234551
+ JtFormPcvue_type_template_id_4d950d71_staticRenderFns,
234511
234552
  false,
234512
234553
  null,
234513
234554
  null,