# app_customproperty

id: 619e4b175db28e14782b94ec
pid: 0
name: 凭证调阅封面
code: 619e4b175db28e14782b94ec
fullname: /凭证调阅封面
fullcode: 619e4b175db28e14782b94ec
nodetype: leaf
createdate: 2021.11.24 22:38:53.000
lastmodifieddate: 2023.08.03 11:30:18.857
value:
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="first"
margin-right="7.5cm"
margin-left="7.5cm"
margin-bottom="2cm"
margin-top="3cm"
page-height="21cm"
page-width="29.7cm">
<fo:region-body margin-top="1cm"></fo:region-body>
<fo:region-before extent="1cm"></fo:region-before>
<fo:region-after extent="1.5cm"></fo:region-after>
</fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="first">


<fo:flow flow-name="xsl-region-body">



<fo:block font-size="26pt"
font-family="simsun"
line-height="36pt"
space-after.optimum="15pt"

color="#404040"
text-align="center"
padding-top="3pt"
font-variant="small-caps">
凭证调阅
</fo:block>

<fo:table border-collapse="collapse" table-layout="fixed" width="100%">
<fo:table-column column-width="3cm"></fo:table-column>
<fo:table-column column-width="12cm"></fo:table-column>


<fo:table-body>

<fo:table-row>
<fo:table-cell border-color="#404040" border-width="0.5pt" border-style="solid">
<fo:block text-align="center" line-height="30pt" font-family="simsun">
调阅日期
</fo:block>
</fo:table-cell>
<fo:table-cell border-color="#404040" border-width="0.5pt" border-style="solid">
<fo:block text-align="left" line-height="30pt" font-family="simsun">
${billdate}
</fo:block>
</fo:table-cell>
</fo:table-row>


<fo:table-row>
<fo:table-cell border-color="#404040" border-width="0.5pt" border-style="solid">
<fo:block text-align="center" line-height="30pt" font-family="simsun">
调阅单号
</fo:block>
</fo:table-cell>
<fo:table-cell border-color="#404040" border-width="0.5pt" border-style="solid">
<fo:block text-align="left" line-height="30pt" font-family="simsun">
${billno}
</fo:block>
</fo:table-cell>
</fo:table-row>



<fo:table-row>
<fo:table-cell border-color="#404040" border-width="0.5pt" border-style="solid">
<fo:block text-align="center" line-height="30pt" font-family="simsun">
调阅人
</fo:block>
</fo:table-cell>
<fo:table-cell border-color="#404040" border-width="0.5pt" border-style="solid">
<fo:block text-align="left" line-height="30pt" font-family="simsun">
${reader}
</fo:block>
</fo:table-cell>
</fo:table-row>



<fo:table-row>
<fo:table-cell border-color="#404040" border-width="0.5pt" border-style="solid">
<fo:block text-align="center" line-height="30pt" font-family="simsun">
调阅理由
</fo:block>
</fo:table-cell>
<fo:table-cell border-color="#404040" border-width="0.5pt" border-style="solid">
<fo:block text-align="left" line-height="30pt" font-family="simsun">
${summary}
</fo:block>
</fo:table-cell>
</fo:table-row>



<fo:table-row>
<fo:table-cell border-color="#404040" border-width="0.5pt" border-style="solid">
<fo:block text-align="center" line-height="30pt" font-family="simsun">
审批人
</fo:block>
</fo:table-cell>
<fo:table-cell border-color="#404040" border-width="0.5pt" border-style="solid">
<fo:block text-align="left" line-height="30pt" font-family="simsun">
${leader}
</fo:block>
</fo:table-cell>
</fo:table-row>


</fo:table-body>
</fo:table>


</fo:flow>
</fo:page-sequence>
</fo:root>


id: 61a98441db74f189cff63f1a
pid: 0
name: 凭证调阅凭证号页
code: 61a98441db74f189cff63f1a
fullname: /凭证调阅凭证号页
fullcode: 61a98441db74f189cff63f1a
nodetype: leaf
createdate: 2021.12.03 10:43:14.000
lastmodifieddate: 2023.08.03 11:30:18.857
value:
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="first"
margin-right="7cm"
margin-left="7cm"
margin-bottom="2cm"
margin-top="7cm"
page-height="21cm"
page-width="29.7cm">
<fo:region-body margin-top="1cm"></fo:region-body>
<fo:region-before extent="1cm"></fo:region-before>
<fo:region-after extent="1.5cm"></fo:region-after>
</fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="first">


<fo:flow flow-name="xsl-region-body">



<fo:block font-size="96pt"
font-family="simsun"
line-height="120pt"
space-after.optimum="15pt"
 
color="#D7010D"
text-align="center"
padding-top="10pt"
font-variant="small-caps">
${pzh}
</fo:block>
 

</fo:flow>
</fo:page-sequence>
</fo:root>


# app_document

id: 60bf2cef993270982e9c1528
pid: 0
appid: 606d21ab99328dc77af633f9
name: 演示桌面布局配置
nodetype: leaf
createdate: 2021.06.08 16:53:24.000
lastmodifieddate: 2023.08.03 11:30:19.117
value:
[
{x:8,y:0,width:4,height:4,url:'report?id=chart1' , css:'border:1px solid #efefef; border-radius:5px; overflow:hidden;'} ,
{x:0,y:0,width:4,height:4,url:'report?id=chart2' , css:'border:1px solid #efefef; border-radius:5px; overflow:hidden;'} ,
{x:4,y:0,width:4,height:4,url:'report?id=chart3' , css:'border:1px solid #efefef; border-radius:5px; overflow:hidden;'} ,
{x:0,y:4,width:12,height:8,url:'favorite.jsp' , css:'border:1px solid #efefef; border-radius:5px; overflow:hidden;'} 
]


id: 631021439932214495b83e05
pid: 631021ad9932e80014ce2d81
appid: 606d21ab99328dc77af633f9
name: image-631021439932214495b83e04-1662563477245
nodetype: column
createdate: 2022.09.07 23:11:17.000
lastmodifieddate: 2023.08.03 11:30:19.117
value:


id: 631021439932214495b83e09
pid: 631021ad9932e80014ce2d81
appid: 606d21ab99328dc77af633f9
name: image-631021439932214495b83e08-1662563496987
nodetype: column
createdate: 2022.09.07 23:11:37.000
lastmodifieddate: 2023.08.03 11:30:19.117
value:


id: 631021ad9932e80014ce2d81
pid: 0
appid: 606d21ab99328dc77af633f9
name: logo
nodetype: leaf
createdate: 2022.09.07 23:11:08.000
lastmodifieddate: 2023.08.03 11:30:19.117
value:
![](imageForDoc?name=image-631021439932214495b83e04-1662563477245)


![](imageForDoc?name=image-631021439932214495b83e08-1662563496987)


# app_db

id: 609d3dcf5db2b0a331d6bbfd
pid: 609d3dcf5db2b0a331d6bbf8
name: sql
code: 609d3dcf5db2b0a331d6bbfd
namepath: /dzpz_imgpool
codepath: 609d3dcf5db2b0a331d6bbf8
fullname: /dzpz_imgpool/sql
fullcode: 609d3dcf5db2b0a331d6bbf8.609d3dcf5db2b0a331d6bbfd
nodetype: column
createdate: 2021.05.13 22:55:13.000
lastmodifieddate: 2023.08.03 11:30:21.235
value:
select dzpz_imgpool.*  ,
(select count(*) from dzpz_imgpool_fileupload b where b.gguid=dzpz_imgpool.gguid and ifnull(info2,'')='') as c1 ,
(select count(*) from dzpz_imgpool_fileupload b where b.gguid=dzpz_imgpool.gguid and ifnull(info2,'')='回收站') as c2  

from  dzpz_imgpool   where ifnull(deleteflag,0)=0


id: 60ab31c65db2f37491f998ae
pid: 60ab2c6e5db2f37491f997fe
name: sql
code: 60ab31c65db2f37491f998ae
namepath: /dzpz_pz
codepath: 60ab2c6e5db2f37491f997fe
fullname: /dzpz_pz/sql
fullcode: 60ab2c6e5db2f37491f997fe.60ab31c65db2f37491f998ae
nodetype: column
createdate: 2021.05.24 12:59:01.000
lastmodifieddate: 2023.08.03 11:30:23.715
value:
select
  id,
  pz,
  pzh,
  userid,
  username,
  verifieddate,
  verifierid,
  verifiername,
  xm,
  ym,
  case when verifierid > 0 then 1 else 0 end as verified
from
  dzpz_pz
order by
  pzh desc


id: 60ab31c65db2f37491f998af
pid: 60ab2c6e5db2f37491f997fe
name: dynamicwheredata2
code: 60ab31c65db2f37491f998af
namepath: /dzpz_pz
codepath: 60ab2c6e5db2f37491f997fe
fullname: /dzpz_pz/dynamicwheredata2
fullcode: 60ab2c6e5db2f37491f997fe.60ab31c65db2f37491f998af
nodetype: column
createdate: 2021.05.24 12:59:01.000
lastmodifieddate: 2023.08.03 11:30:23.715
value:
corpid:凭证清单!corpid
pzh: 凭证清单!pzh
ym:凭证清单!ym
st_datetype:凭证清单!st_datetype
st_date1: date2yyyymmdd( 凭证清单!st_date1)
st_date2: date2yyyymmdd( 凭证清单!st_date2)
st_key1:凭证清单!st_key1
st_value1:凭证清单!st_value1
is_about_me:凭证清单!is_about_me


id: 60ab31c65db2f37491f998b0
pid: 60ab2c6e5db2f37491f997fe
name: dynamicwhere2
code: 60ab31c65db2f37491f998b0
namepath: /dzpz_pz
codepath: 60ab2c6e5db2f37491f997fe
fullname: /dzpz_pz/dynamicwhere2
fullcode: 60ab2c6e5db2f37491f997fe.60ab31c65db2f37491f998b0
nodetype: column
createdate: 2021.05.24 12:59:01.000
lastmodifieddate: 2023.08.03 11:30:23.715
value:
" corpid='"+ corpid+"'  "
" ym="+ym 
st_key1+"  like  '%"+ st_value1+"%' "
st_datetype +" >='"+ st_date1+"' "
st_datetype +" <'"+ date2yyyymmdd(nextDate(yyyymmdd2Date(st_date2),1))+"' "


id: 60ab31c65db2f37491f998b1
pid: 60ab2c6e5db2f37491f997fe
name: dynamicwhere2_tokens
code: 60ab31c65db2f37491f998b1
namepath: /dzpz_pz
codepath: 60ab2c6e5db2f37491f997fe
fullname: /dzpz_pz/dynamicwhere2_tokens
fullcode: 60ab2c6e5db2f37491f997fe.60ab31c65db2f37491f998b1
nodetype: column
createdate: 2021.05.24 12:59:01.000
lastmodifieddate: 2023.08.03 11:30:23.715
value:
{
    "\" corpid='\"+ corpid+\"'  \"": "corpid",
    "\" ym=\"+ym": "ym",
    "st_key1+\"  like  '%\"+ st_value1+\"%' \"": "st_key1,st_value1",
    "st_datetype +\" >='\"+ st_date1+\"' \"": "st_datetype,st_date1",
    "st_datetype +\" <'\"+ date2yyyymmdd(nextDate(yyyymmdd2Date(st_date2),1))+\"' \"": "st_datetype,st_date2"
}


id: 60ab9dd75db2a837c83ac52b
pid: 60a31c475db27838e0c0134b
name: dynamicwhere2
code: 60ab9dd75db2a837c83ac52b
namepath: /dzpz_pz
codepath: 60a31c475db27838e0c0134b
fullname: /dzpz_pz/dynamicwhere2
fullcode: 60a31c475db27838e0c0134b.60ab9dd75db2a837c83ac52b
nodetype: column
createdate: 2021.05.24 20:51:58.000
lastmodifieddate: 2023.08.03 11:30:24.064
value:
"  corpid='"+ corpid+"' "
"ym="+ym
"pzh like '%"+pzh+"%' "
" bm like '%"+bm+"%' "
 " labeldata->'$."+'"'+labelname+ '"'+ "'  like  '%"+labelvalue+"%' "


id: 60ab9dd75db2a837c83ac52c
pid: 60a31c475db27838e0c0134b
name: dynamicwhere2_tokens
code: 60ab9dd75db2a837c83ac52c
namepath: /dzpz_pz
codepath: 60a31c475db27838e0c0134b
fullname: /dzpz_pz/dynamicwhere2_tokens
fullcode: 60a31c475db27838e0c0134b.60ab9dd75db2a837c83ac52c
nodetype: column
createdate: 2021.05.24 20:51:58.000
lastmodifieddate: 2023.08.03 11:30:24.064
value:
{
    "\"  corpid='\"+ corpid+\"' \"": "corpid",
    "\"ym=\"+ym": "ym",
    "\"pzh like '%\"+pzh+\"%' \"": "pzh",
    "\" bm like '%\"+bm+\"%' \"": "bm",
    "\" labeldata->'$.\"+'\"'+labelname+ '\"'+ \"'  like  '%\"+labelvalue+\"%' \"": "labelname,labelvalue"
}


id: 60abac6c5db2a837c83ac636
pid: 60aba1855db2a837c83ac5fe
name: sql
code: 60abac6c5db2a837c83ac636
namepath: /one
codepath: 60aba1855db2a837c83ac5fe
fullname: /one/sql
fullcode: 60aba1855db2a837c83ac5fe.60abac6c5db2a837c83ac636
nodetype: column
createdate: 2021.05.24 21:39:48.000
lastmodifieddate: 2023.08.03 11:30:24.414
value:
select
  id,
  pzh,
  url_img,
  url_thumbnail,
  attachmentcount,
  pz,
  fj,
  username,
  verifiername
from
  dzpz_pz


id: 60c1d5c49932e1a17db2e7a3
pid: 60c1d2bf9932e1a17db2e77c
name: sql
code: 60c1d5c49932e1a17db2e7a3
namepath: /query1
codepath: 60c1d2bf9932e1a17db2e77c
fullname: /query1/sql
fullcode: 60c1d2bf9932e1a17db2e77c.60c1d5c49932e1a17db2e7a3
nodetype: column
createdate: 2021.06.10 17:11:11.000
lastmodifieddate: 2023.08.03 11:30:24.758
value:
SELECT
  x.userid,
  x.username,
  x.corpid,
  x.ym,
  sum(x.op1) as op1,
  sum(case when x.op1 > 0 then pic_sl else 0 end) as op1_sl,
  sum(x.op2) as op2,
  sum(case when x.op2 > 0 then pic_sl else 0 end) as op2_sl
FROM(
    SELECT
      gguid,
      corpid,
      pzh,
      userid,
      username,
      ym,
      billdate,
      1 AS op1,
      0 AS op2
    FROM
      dzpz_pz
    WHERE
      userid IS NOT NULL
      and billdate >= ':st_date1{1900.01.01}'
      and billdate <= ':st_date2{9999.01.01}'
    UNION ALL
    SELECT
      gguid,
      corpid,
      pzh,
      verifierid AS userid,
      verifiername AS username,
      ym,
      verifieddate as billdate,
      0 AS op1,
      1 AS op2
    FROM
      dzpz_pz
    WHERE
      verifierid IS NOT NULL
      and verifieddate >= ':st_date1{1900.01.01}'
      and verifieddate <= ':st_date2{9999.01.01}'
  ) x
  left join (
    select
      gguid,
      count(id) as pic_sl
    from
      dzpz_pzfj
    group by
      gguid
  ) y on x.gguid = y.gguid
group by
  x.userid,
  x.username,
  x.corpid,
  x.ym
order by
  x.username,
  x.corpid,
  x.ym


id: 60c1d5c49932e1a17db2e7a4
pid: 60c1d2bf9932e1a17db2e77c
name: dynamicwheredata2
code: 60c1d5c49932e1a17db2e7a4
namepath: /query1
codepath: 60c1d2bf9932e1a17db2e77c
fullname: /query1/dynamicwheredata2
fullcode: 60c1d2bf9932e1a17db2e77c.60c1d5c49932e1a17db2e7a4
nodetype: column
createdate: 2021.06.10 17:11:11.000
lastmodifieddate: 2023.08.03 11:30:24.758
value:
st_corpid:filter!corpid
st_date1:date2yyyymmdd(filter!st_date1)
st_date2:date2yyyymmdd(nextDate(yyyymmdd2Date(date2yyyymmdd(filter!st_date2)),1))
st_username:filter!st_username


id: 60c1d5c49932e1a17db2e7a6
pid: 60c1d2bf9932e1a17db2e77c
name: dynamicwhere2_tokens
code: 60c1d5c49932e1a17db2e7a6
namepath: /query1
codepath: 60c1d2bf9932e1a17db2e77c
fullname: /query1/dynamicwhere2_tokens
fullcode: 60c1d2bf9932e1a17db2e77c.60c1d5c49932e1a17db2e7a6
nodetype: column
createdate: 2021.06.10 17:11:11.000
lastmodifieddate: 2023.08.03 11:30:24.758
value:
{
    "\"x.corpid='\"+st_corpid+\"'\"": "st_corpid",
    "\"x.username like '%\"+st_username+\"%'\"": "st_username"
}


id: 60c5615f5db2e8eff0d867d4
pid: 60c560a05db2e8eff0d867a8
name: sql
code: 60c5615f5db2e8eff0d867d4
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a8
fullname: /dzpz_pz/sql
fullcode: 60c560a05db2e8eff0d867a8.60c5615f5db2e8eff0d867d4
nodetype: column
createdate: 2021.06.13 09:37:37.000
lastmodifieddate: 2023.08.03 11:30:25.098
value:
select
  dzpz_pz.*,
  0 as selected,
  '' as tipinfo,
  case when verifierid is null then '校对' else '' end as c_sh1,
  case when verifierid is null then '' else '取消校对' end as c_sh2
from
  dzpz_pz
where
  isnull(deleteflag, 0) = 0
order by
  ym,
  pzh


id: 60c5615f5db2e8eff0d867d5
pid: 60c560a05db2e8eff0d867a8
name: dynamicwheredata2
code: 60c5615f5db2e8eff0d867d5
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a8
fullname: /dzpz_pz/dynamicwheredata2
fullcode: 60c560a05db2e8eff0d867a8.60c5615f5db2e8eff0d867d5
nodetype: column
createdate: 2021.06.13 09:37:37.000
lastmodifieddate: 2023.08.03 11:30:25.098
value:
st_corpid:main!st_corpid
shzt:main!shzt
ym:main!ym
st_username:main!st_username
pzh1:main!pzh_prefix+main!pzh1
pzh2:main!pzh_prefix+main!pzh2


id: 60c5615f5db2e8eff0d867d6
pid: 60c560a05db2e8eff0d867a8
name: dynamicwhere2
code: 60c5615f5db2e8eff0d867d6
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a8
fullname: /dzpz_pz/dynamicwhere2
fullcode: 60c560a05db2e8eff0d867a8.60c5615f5db2e8eff0d867d6
nodetype: column
createdate: 2021.06.13 09:37:37.000
lastmodifieddate: 2023.08.03 11:30:25.098
value:
"corpid='"+ st_corpid+"' "
iif( shzt==1, " verifierid is not null" , iif ( shzt==2, "verifierid is null ", ""))
"ym="+ym
"username="+st_username
"pzh >= '"+pzh1+"' "
"pzh <= '"+pzh2+"' "


id: 60c5615f5db2e8eff0d867d7
pid: 60c560a05db2e8eff0d867a8
name: dynamicwhere2_tokens
code: 60c5615f5db2e8eff0d867d7
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a8
fullname: /dzpz_pz/dynamicwhere2_tokens
fullcode: 60c560a05db2e8eff0d867a8.60c5615f5db2e8eff0d867d7
nodetype: column
createdate: 2021.06.13 09:37:38.000
lastmodifieddate: 2023.08.03 11:30:25.098
value:
{
    "\"corpid='\"+ st_corpid+\"' \"": "st_corpid",
    "iif( shzt==1, \" verifierid is not null\" , iif ( shzt==2, \"verifierid is null \", \"\"))": "shzt",
    "\"ym=\"+ym": "ym",
    "\"username=\"+st_username": "st_username",
    "\"pzh >= '\"+pzh1+\"' \"": "pzh1",
    "\"pzh <= '\"+pzh2+\"' \"": "pzh2"
}


id: 60c9faff9932d177d8ac6123
pid: 60c9bd189932d177d8ac5e81
name: sql
code: 60c9faff9932d177d8ac6123
namepath: /pzh_check
codepath: 60c9bd189932d177d8ac5e81
fullname: /pzh_check/sql
fullcode: 60c9bd189932d177d8ac5e81.60c9faff9932d177d8ac6123
nodetype: column
createdate: 2021.06.16 21:22:08.000
lastmodifieddate: 2023.08.03 11:30:26.489
value:
select
  a.pzh
from
  (
    select
      concat(
        ':pzh_prefix{}',
        right(concat('0000000000', id), :pzh_len { 4 })
      ) as pzh
    from
      app_int  -- 这个表就是一个整数序列表
    where
      id <= (
        select
          cast(right(max(b.pzh), :pzh_len { 4 }) as decimal) as maxpzh  --取出当月最大的凭证号的后几位去掉前缀
        from
          dzpz_pz b
        where
          b.ym = :ym { 202106 }
          and b.corpid = ':corpid{-}'
      )
  ) a  --  把从1 到 最大凭证号 构建一个凭证号码完成序列表 
where
  a.pzh not in (  --  不存在的就是
    select
      pzh
    from
      dzpz_pz b
    where
      b.ym = :ym { 202106 }
      and b.corpid = ':corpid{-}'
  )


id: 60fa608c9932563b7c99bbb1
pid: 60fa608c9932563b7c99bbac
name: sql
code: 60fa608c9932563b7c99bbb1
namepath: /dzpz_dy
codepath: 60fa608c9932563b7c99bbac
fullname: /dzpz_dy/sql
fullcode: 60fa608c9932563b7c99bbac.60fa608c9932563b7c99bbb1
nodetype: column
createdate: 2021.07.23 14:24:22.000
lastmodifieddate: 2023.08.03 11:30:28.258
value:
select
  *
from
  dzpz_dy
where
  isnull(deleteflag, 0) = 0
  and ( userid=:currentUserId(){0} or  1=:currentUserId(){-1} or 
        leaderid=:currentUserId(){0} )
        
        order by billno desc


id: 6114b2b59932563b7c99cc8c
pid: 6114a5109932563b7c99cc64
name: sql
code: 6114b2b59932563b7c99cc8c
namepath: /q_pzdjex
codepath: 6114a5109932563b7c99cc64
fullname: /q_pzdjex/sql
fullcode: 6114a5109932563b7c99cc64.6114b2b59932563b7c99cc8c
nodetype: column
createdate: 2021.08.12 13:35:30.000
lastmodifieddate: 2023.08.03 11:30:29.647
value:
select
  distinct 0 as selected,
  a.corpid,
  a.pzrq,
  a.y,
  a.m,
  a.pzh,
  a.kmdm,
  a.code,
  a.posted,
  a.bz,
  dzpz_id as doc_id,
  pzsl_pic as status 
from
  pzdjex a
 
order by
  a.y asc,
  a.m asc,
  a.pzh asc,
  a.code asc


id: 6114b2b59932563b7c99cc8d
pid: 6114a5109932563b7c99cc64
name: dynamicwheredata2
code: 6114b2b59932563b7c99cc8d
namepath: /q_pzdjex
codepath: 6114a5109932563b7c99cc64
fullname: /q_pzdjex/dynamicwheredata2
fullcode: 6114a5109932563b7c99cc64.6114b2b59932563b7c99cc8d
nodetype: column
createdate: 2021.08.12 13:35:30.000
lastmodifieddate: 2023.08.03 11:30:29.647
value:
st_date1:  date2yyyymmdd(凭证资料查询!st_date1)
st_date2: date2yyyymmdd(凭证资料查询!st_date2)
st_key1:凭证资料查询!st_key1
st_value1:凭证资料查询!st_value1


id: 6114b2b59932563b7c99cc8e
pid: 6114a5109932563b7c99cc64
name: dynamicwhere2
code: 6114b2b59932563b7c99cc8e
namepath: /q_pzdjex
codepath: 6114a5109932563b7c99cc64
fullname: /q_pzdjex/dynamicwhere2
fullcode: 6114a5109932563b7c99cc64.6114b2b59932563b7c99cc8e
nodetype: column
createdate: 2021.08.12 13:35:30.000
lastmodifieddate: 2023.08.03 11:30:29.647
value:
"a.pzrq >= '"+st_date1+"' "
"a.pzrq < '"+date2yyyymmdd(nextDate(yyyymmdd2Date(st_date2),1))+"' "
"a."+st_key1+" like '%"+st_value1+"%'"


id: 6114b2b59932563b7c99cc8f
pid: 6114a5109932563b7c99cc64
name: dynamicwhere2_tokens
code: 6114b2b59932563b7c99cc8f
namepath: /q_pzdjex
codepath: 6114a5109932563b7c99cc64
fullname: /q_pzdjex/dynamicwhere2_tokens
fullcode: 6114a5109932563b7c99cc64.6114b2b59932563b7c99cc8f
nodetype: column
createdate: 2021.08.12 13:35:30.000
lastmodifieddate: 2023.08.03 11:30:29.647
value:
{
    "\"a.pzrq >= '\"+st_date1+\"' \"": "st_date1",
    "\"a.pzrq < '\"+date2yyyymmdd(nextDate(yyyymmdd2Date(st_date2),1))+\"' \"": "st_date2",
    "\"a.\"+st_key1+\" like '%\"+st_value1+\"%'\"": "st_key1,st_value1"
}


id: 617cc6df99328c3820c0b3f4
pid: 617cc6df99328c3820c0b3ca
name: sql
code: 617cc6df99328c3820c0b3f4
namepath: /q_mx
codepath: 617cc6df99328c3820c0b3ca
fullname: /q_mx/sql
fullcode: 617cc6df99328c3820c0b3ca.617cc6df99328c3820c0b3f4
nodetype: column
createdate: 2021.10.30 12:15:54.000
lastmodifieddate: 2023.08.03 11:30:30.701
value:
select
  *,
  pzsl_dj - pzsl_pic as status
from(
    select
     distinct b.corpid,
      b.y * 100 + b.m as ym,
      dzpz_id ,
      b.pzh,
      b.zdr,
      b.pzrq,
      1 as pzsl_dj,
      case when pic_pz>0 then 1 else 0 end  as pzsl_pic,
        pic_pz,
      pic_fj,
      pic_pz + pic_fj  as pic_hj
    from
       pzdjex b   
    union all
    select
     distinct corpid,
      ym,
      id,
      pzh,
      '' as zdr,
      null as pzrq,
      0 as pzsl_dj,
      1 as pzsl_pic,
      c.pz as pic_fj,
      ifnull(c.fj, 0) as pic_fj,
      ifnull(c.pz, 0) + ifnull(c.fj, 0) as pic_hj
    from
      dzpz_pz c 
    where
      pzdj_exist=0 
  ) x
order by
  corpid,
  ym,
  pzh


id: 617cc6df99328c3820c0b3f6
pid: 617cc6df99328c3820c0b3ca
name: dynamicwhere2
code: 617cc6df99328c3820c0b3f6
namepath: /q_mx
codepath: 617cc6df99328c3820c0b3ca
fullname: /q_mx/dynamicwhere2
fullcode: 617cc6df99328c3820c0b3ca.617cc6df99328c3820c0b3f6
nodetype: column
createdate: 2021.10.30 12:15:54.000
lastmodifieddate: 2023.08.03 11:30:30.701
value:
"corpid='"+st_corpid+"'"
"left(ym,4)='"+st_y+"'"
"right(ym,2)='"+st_m+"'"
"pzsl_dj - pzsl_pic="+st_status


id: 617cc6df99328c3820c0b3f7
pid: 617cc6df99328c3820c0b3ca
name: dynamicwhere2_tokens
code: 617cc6df99328c3820c0b3f7
namepath: /q_mx
codepath: 617cc6df99328c3820c0b3ca
fullname: /q_mx/dynamicwhere2_tokens
fullcode: 617cc6df99328c3820c0b3ca.617cc6df99328c3820c0b3f7
nodetype: column
createdate: 2021.10.30 12:15:54.000
lastmodifieddate: 2023.08.03 11:30:30.701
value:
{
    "\"corpid='\"+st_corpid+\"'\"": "st_corpid",
    "\"left(ym,4)='\"+st_y+\"'\"": "st_y",
    "\"right(ym,2)='\"+st_m+\"'\"": "st_m",
    "\"pzsl_dj - pzsl_pic=\"+st_status": "st_status"
}


id: 617cc89c99328c3820c0b6b3
pid: 617cc89c99328c3820c0b67f
name: sql
code: 617cc89c99328c3820c0b6b3
namepath: /q_hz
codepath: 617cc89c99328c3820c0b67f
fullname: /q_hz/sql
fullcode: 617cc89c99328c3820c0b67f.617cc89c99328c3820c0b6b3
nodetype: column
createdate: 2021.10.30 12:38:44.000
lastmodifieddate: 2023.08.03 11:30:31.455
value:
select
  corpid,
  ym,
  sum(pzsl_dj) as pzsl_dj,
  sum(
    case when pzsl_dj = 1
    and pzsl_pic = 1 then 1 else 0 end
  ) as pzsl_dj_pic,
  sum(
    case when pzsl_dj = 1
    and pzsl_pic = 0 then 1 else 0 end
  ) as pzsl_dj_wpic,
  sum(
    case when pzsl_dj = 0
    and pzsl_pic = 1 then 1 else 0 end
  ) as pzsl_pic_wdj,
  sum(
    case when pzsl_dj = 1 then pic_pz + pic_fj else 0 end
  ) as pic_sl_dj,
  sum(
    case when pzsl_dj = 0 then pic_pz + pic_fj else 0 end
  ) as pic_sl_wdj
from(
    select
      distinct b.corpid,
      b.y * 100 + b.m as ym,
      b.pzh,
      b.pzrq,
      1 as pzsl_dj,
      case when pic_pz>0 then 1 else 0 end  as pzsl_pic,
      pic_pz,
      pic_fj
    from
       pzdjex b  
    where b.y= :st_y{2020}
  
    union all
    select
      corpid,
      ym,
      pzh,
      null as pzrq,
      0 as pzsl_dj,
      1 as pzsl_pic,
      c.pz as pic_fj,
      ifnull(c.fj, 0) as pic_fj
    from
      dzpz_pz c
    where   left( c.ym ,4)=':st_y{2020}' and 
       pzdj_exist =0 
  ) x
group by
  corpid,
  ym
order by
  corpid asc,
  ym desc


id: 617cc89c99328c3820c0b6b6
pid: 617cc89c99328c3820c0b67f
name: dynamicwhere2_tokens
code: 617cc89c99328c3820c0b6b6
namepath: /q_hz
codepath: 617cc89c99328c3820c0b67f
fullname: /q_hz/dynamicwhere2_tokens
fullcode: 617cc89c99328c3820c0b67f.617cc89c99328c3820c0b6b6
nodetype: column
createdate: 2021.10.30 12:38:44.000
lastmodifieddate: 2023.08.03 11:30:31.455
value:
{
    "\"corpid='\"+st_corpid+\"'\"": "st_corpid",
    "\"left(ym,4)='\"+st_y+\"'\"": "st_y",
    "\"right(ym,2)='\"+st_m+\"'\"": "st_m"
}


id: 6183205499328c3820c0c92b
pid: 6183205499328c3820c0c927
name: coltype
code: 60c5623b5db2e8eff0d868f020211104075044
namepath: /dzpz_pz/attachmentcount
codepath: 60c560a05db2e8eff0d867a820211104075044.60c5623b5db2e8eff0d868ef20211104075044
fullname: /dzpz_pz/attachmentcount/coltype
nodetype: column
value: int
createdate: 2021.06.13 09:44:25.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c5623b5db2e8eff0d868ef20211104075044.60c5623b5db2e8eff0d868f020211104075044


id: 6183205499328c3820c0c937
pid: 6183205499328c3820c0c933
name: coltype
code: 60c5623b5db2e8eff0d868f320211104075044
namepath: /dzpz_pz/billdate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c5623b5db2e8eff0d868f220211104075044
fullname: /dzpz_pz/billdate/coltype
nodetype: column
value: datetime
createdate: 2021.06.13 09:44:25.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c5623b5db2e8eff0d868f220211104075044.60c5623b5db2e8eff0d868f320211104075044


id: 6183205499328c3820c0c93f
pid: 6183205499328c3820c0c93b
name: colsize
code: 60c5623b5db2e8eff0d868f720211104075044
namepath: /dzpz_pz/billno
codepath: 60c560a05db2e8eff0d867a820211104075044.60c5623b5db2e8eff0d868f520211104075044
fullname: /dzpz_pz/billno/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:26.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c5623b5db2e8eff0d868f520211104075044.60c5623b5db2e8eff0d868f720211104075044


id: 6183205499328c3820c0c943
pid: 6183205499328c3820c0c93b
name: coltype
code: 60c5623b5db2e8eff0d868f620211104075044
namepath: /dzpz_pz/billno
codepath: 60c560a05db2e8eff0d867a820211104075044.60c5623b5db2e8eff0d868f520211104075044
fullname: /dzpz_pz/billno/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:26.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c5623b5db2e8eff0d868f520211104075044.60c5623b5db2e8eff0d868f620211104075044


id: 6183205499328c3820c0c94b
pid: 6183205499328c3820c0c947
name: colsize
code: 60c562fa5db2e8eff0d868fd20211104075044
namepath: /dzpz_pz/billtype
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d868fb20211104075044
fullname: /dzpz_pz/billtype/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:27.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d868fb20211104075044.60c562fa5db2e8eff0d868fd20211104075044


id: 6183205499328c3820c0c94f
pid: 6183205499328c3820c0c947
name: coltype
code: 60c562fa5db2e8eff0d868fc20211104075044
namepath: /dzpz_pz/billtype
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d868fb20211104075044
fullname: /dzpz_pz/billtype/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:27.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d868fb20211104075044.60c562fa5db2e8eff0d868fc20211104075044


id: 6183205499328c3820c0c957
pid: 6183205499328c3820c0c953
name: colsize
code: 60c562fa5db2e8eff0d8694c20211104075044
namepath: /dzpz_pz/bm
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694a20211104075044
fullname: /dzpz_pz/bm/colsize
nodetype: column
value: 200
createdate: 2021.06.13 09:44:42.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694a20211104075044.60c562fa5db2e8eff0d8694c20211104075044


id: 6183205499328c3820c0c95b
pid: 6183205499328c3820c0c953
name: coltype
code: 60c562fa5db2e8eff0d8694b20211104075044
namepath: /dzpz_pz/bm
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694a20211104075044
fullname: /dzpz_pz/bm/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:42.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694a20211104075044.60c562fa5db2e8eff0d8694b20211104075044


id: 6183205499328c3820c0c963
pid: 6183205499328c3820c0c95f
name: colsize
code: 60c7d6795db2f19751803b0620211104075044
namepath: /dzpz_pz/c_sh1
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0420211104075044
fullname: /dzpz_pz/c_sh1/colsize
nodetype: column
value: 2
createdate: 2021.06.15 06:21:58.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0420211104075044.60c7d6795db2f19751803b0620211104075044


id: 6183205499328c3820c0c967
pid: 6183205499328c3820c0c95f
name: coltype
code: 60c7d6795db2f19751803b0520211104075044
namepath: /dzpz_pz/c_sh1
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0420211104075044
fullname: /dzpz_pz/c_sh1/coltype
nodetype: column
value: varchar
createdate: 2021.06.15 06:21:58.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0420211104075044.60c7d6795db2f19751803b0520211104075044


id: 6183205499328c3820c0c96f
pid: 6183205499328c3820c0c96b
name: colsize
code: 60c7d6795db2f19751803b0a20211104075044
namepath: /dzpz_pz/c_sh2
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044
fullname: /dzpz_pz/c_sh2/colsize
nodetype: column
value: 4
createdate: 2021.06.15 06:21:58.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044.60c7d6795db2f19751803b0a20211104075044


id: 6183205499328c3820c0c973
pid: 6183205499328c3820c0c96b
name: coltype
code: 60c7d6795db2f19751803b0920211104075044
namepath: /dzpz_pz/c_sh2
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044
fullname: /dzpz_pz/c_sh2/coltype
nodetype: column
value: varchar
createdate: 2021.06.15 06:21:58.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044.60c7d6795db2f19751803b0920211104075044


id: 6183205499328c3820c0c977
pid: 6183205499328c3820c0c96b
name: nullable
code: 615187ec99326278b943ff4820211104075044
namepath: /dzpz_pz/c_sh2
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044
fullname: /dzpz_pz/c_sh2/nullable
nodetype: column
value: true
createdate: 2021.09.27 17:08:01.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044.615187ec99326278b943ff4820211104075044


id: 6183205499328c3820c0c97b
pid: 6183205499328c3820c0c96b
name: smartretrieve
code: 615187ec99326278b943ff4a20211104075044
namepath: /dzpz_pz/c_sh2
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044
fullname: /dzpz_pz/c_sh2/smartretrieve
nodetype: column
value: false
createdate: 2021.09.27 17:08:01.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044.615187ec99326278b943ff4a20211104075044


id: 6183205499328c3820c0c97f
pid: 6183205499328c3820c0c96b
name: updatable
code: 615187ec99326278b943ff4920211104075044
namepath: /dzpz_pz/c_sh2
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044
fullname: /dzpz_pz/c_sh2/updatable
nodetype: column
value: true
createdate: 2021.09.27 17:08:01.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044.615187ec99326278b943ff4920211104075044


id: 6183205499328c3820c0c983
pid: 6183205499328c3820c0c96b
name: usedingroupby
code: 615187ec99326278b943ff4b20211104075044
namepath: /dzpz_pz/c_sh2
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044
fullname: /dzpz_pz/c_sh2/usedingroupby
nodetype: column
value: false
createdate: 2021.09.27 17:08:01.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044.615187ec99326278b943ff4b20211104075044


id: 6183205499328c3820c0c987
pid: 6183205499328c3820c0c96b
name: usedinsum
code: 615187ec99326278b943ff4c20211104075044
namepath: /dzpz_pz/c_sh2
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044
fullname: /dzpz_pz/c_sh2/usedinsum
nodetype: column
value: false
createdate: 2021.09.27 17:08:01.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d6795db2f19751803b0820211104075044.615187ec99326278b943ff4c20211104075044


id: 6183205499328c3820c0c98f
pid: 6183205499328c3820c0c98b
name: description
code: 60c7d4645db2f19751803a2d20211104075044
namepath: /dzpz_pz/c_xh
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f19751803a1a20211104075044
fullname: /dzpz_pz/c_xh/description
nodetype: column
createdate: 2021.06.15 06:13:00.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f19751803a1a20211104075044.60c7d4645db2f19751803a2d20211104075044


id: 6183205499328c3820c0c993
pid: 6183205499328c3820c0c98b
name: dynamicwhere2_tokens
code: 60c7d4645db2f19751803a2e20211104075044
namepath: /dzpz_pz/c_xh
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f19751803a1a20211104075044
fullname: /dzpz_pz/c_xh/dynamicwhere2_tokens
nodetype: column
value: {}
createdate: 2021.06.15 06:13:00.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f19751803a1a20211104075044.60c7d4645db2f19751803a2e20211104075044


id: 6183205499328c3820c0c997
pid: 6183205499328c3820c0c98b
name: expression
code: 60c7d4645db2f19751803a2c20211104075044
namepath: /dzpz_pz/c_xh
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f19751803a1a20211104075044
fullname: /dzpz_pz/c_xh/expression
nodetype: column
value: thisrow()+1
createdate: 2021.06.15 06:13:00.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f19751803a1a20211104075044.60c7d4645db2f19751803a2c20211104075044


id: 6183205499328c3820c0c99b
pid: 6183205499328c3820c0c98b
name: fillback
code: 60c7d4645db2f19751803a2b20211104075044
namepath: /dzpz_pz/c_xh
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f19751803a1a20211104075044
fullname: /dzpz_pz/c_xh/fillback
nodetype: column
createdate: 2021.06.15 06:12:59.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f19751803a1a20211104075044.60c7d4645db2f19751803a2b20211104075044


id: 6183205499328c3820c0c9a3
pid: 6183205499328c3820c0c99f
name: colsize
code: 61403c23993240476a10dc3c20211104075044
namepath: /dzpz_pz/corpid
codepath: 60c560a05db2e8eff0d867a820211104075044.61403c23993240476a10dc3a20211104075044
fullname: /dzpz_pz/corpid/colsize
nodetype: column
value: 32
createdate: 2021.09.14 14:13:40.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.61403c23993240476a10dc3a20211104075044.61403c23993240476a10dc3c20211104075044


id: 6183205499328c3820c0c9a7
pid: 6183205499328c3820c0c99f
name: coltype
code: 61403c23993240476a10dc3b20211104075044
namepath: /dzpz_pz/corpid
codepath: 60c560a05db2e8eff0d867a820211104075044.61403c23993240476a10dc3a20211104075044
fullname: /dzpz_pz/corpid/coltype
nodetype: column
value: varchar
createdate: 2021.09.14 14:13:40.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.61403c23993240476a10dc3a20211104075044.61403c23993240476a10dc3b20211104075044


id: 6183205499328c3820c0c9af
pid: 6183205499328c3820c0c9ab
name: colsize
code: 60c562fa5db2e8eff0d8690320211104075044
namepath: /dzpz_pz/corporationid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690120211104075044
fullname: /dzpz_pz/corporationid/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:28.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690120211104075044.60c562fa5db2e8eff0d8690320211104075044


id: 6183205499328c3820c0c9b3
pid: 6183205499328c3820c0c9ab
name: coltype
code: 60c562fa5db2e8eff0d8690220211104075044
namepath: /dzpz_pz/corporationid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690120211104075044
fullname: /dzpz_pz/corporationid/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:28.000
lastmodifieddate: 2023.08.03 11:30:32.530
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690120211104075044.60c562fa5db2e8eff0d8690220211104075044


id: 6183205499328c3820c0c9c3
pid: 6183205499328c3820c0c9bf
name: coltype
code: 60c562fa5db2e8eff0d8690620211104075044
namepath: /dzpz_pz/deleteflag
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690520211104075044
fullname: /dzpz_pz/deleteflag/coltype
nodetype: column
value: int
createdate: 2021.06.13 09:44:29.000
lastmodifieddate: 2023.08.03 11:30:32.531
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690520211104075044.60c562fa5db2e8eff0d8690620211104075044


id: 6183205499328c3820c0c9cf
pid: 6183205499328c3820c0c907
name: dynamicwhere2
code: 60c5615f5db2e8eff0d867d620211104075045
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a820211104075044
fullname: /dzpz_pz/dynamicwhere2
fullcode: 60c560a05db2e8eff0d867a820211104075044.60c5615f5db2e8eff0d867d620211104075045
nodetype: column
createdate: 2021.06.13 09:37:37.000
lastmodifieddate: 2023.08.03 11:30:32.531
value:
"corpid='"+ st_corpid+"' "
iif( shzt==1, " verifierid is not null" , iif ( shzt==2, "verifierid is null ", ""))
"username='"+st_username +"' "
" verifiername='"+ st_verifiername+"' "
"pzh  like  '%"+st_pzh+"%' "
"left(ym,4)='"+st_y+"'"
"right(ym,2)='"+st_m+"'"
beWhere_code(st_code)


id: 6183205499328c3820c0c9d3
pid: 6183205499328c3820c0c907
name: dynamicwhere2_tokens
code: 60c5615f5db2e8eff0d867d720211104075045
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a820211104075044
fullname: /dzpz_pz/dynamicwhere2_tokens
fullcode: 60c560a05db2e8eff0d867a820211104075044.60c5615f5db2e8eff0d867d720211104075045
nodetype: column
createdate: 2021.06.13 09:37:38.000
lastmodifieddate: 2023.08.03 11:30:32.531
value:
{
    "\"corpid='\"+ st_corpid+\"' \"": "st_corpid",
    "iif( shzt==1, \" verifierid is not null\" , iif ( shzt==2, \"verifierid is null \", \"\"))": "shzt",
    "\"username='\"+st_username +\"' \"": "st_username",
    "\" verifiername='\"+ st_verifiername+\"' \"": "st_verifiername",
    "\"pzh  like  '%\"+st_pzh+\"%' \"": "st_pzh",
    "\"left(ym,4)='\"+st_y+\"'\"": "st_y",
    "\"right(ym,2)='\"+st_m+\"'\"": "st_m",
    "beWhere_code(st_code)": "st_code"
}


id: 6183205499328c3820c0c9d7
pid: 6183205499328c3820c0c907
name: dynamicwheredata2
code: 60c5615f5db2e8eff0d867d520211104075045
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a820211104075044
fullname: /dzpz_pz/dynamicwheredata2
fullcode: 60c560a05db2e8eff0d867a820211104075044.60c5615f5db2e8eff0d867d520211104075045
nodetype: column
createdate: 2021.06.13 09:37:37.000
lastmodifieddate: 2023.08.03 11:30:32.531
value:
st_corpid:filter!st_corpid
st_y:filter!st_y
st_m:filter!st_m
st_username:filter!st_username
st_verifiername:filter!st_verifiername
st_pzh:filter!st_pzh
st_code:filter!st_code


id: 6183205499328c3820c0c9df
pid: 6183205499328c3820c0c9db
name: coltype
code: 60c562fa5db2e8eff0d8695320211104075045
namepath: /dzpz_pz/fj
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8695220211104075045
fullname: /dzpz_pz/fj/coltype
nodetype: column
value: int
createdate: 2021.06.13 09:44:43.000
lastmodifieddate: 2023.08.03 11:30:32.531
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8695220211104075045.60c562fa5db2e8eff0d8695320211104075045


id: 6183205499328c3820c0c9e7
pid: 6183205499328c3820c0c9e3
name: colsize
code: 60c562fa5db2e8eff0d8690a20211104075045
namepath: /dzpz_pz/gguid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690820211104075045
fullname: /dzpz_pz/gguid/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:30.000
lastmodifieddate: 2023.08.03 11:30:32.531
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690820211104075045.60c562fa5db2e8eff0d8690a20211104075045


id: 6183205499328c3820c0c9eb
pid: 6183205499328c3820c0c9e3
name: coltype
code: 60c562fa5db2e8eff0d8690920211104075045
namepath: /dzpz_pz/gguid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690820211104075045
fullname: /dzpz_pz/gguid/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:30.000
lastmodifieddate: 2023.08.03 11:30:32.531
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690820211104075045.60c562fa5db2e8eff0d8690920211104075045


id: 6183205599328c3820c0c9f7
pid: 6183205599328c3820c0c9f3
name: colsize
code: 60c562fa5db2e8eff0d8690e20211104075045
namepath: /dzpz_pz/id
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690c20211104075045
fullname: /dzpz_pz/id/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:31.000
lastmodifieddate: 2023.08.03 11:30:32.531
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690c20211104075045.60c562fa5db2e8eff0d8690e20211104075045


id: 6183205599328c3820c0c9fb
pid: 6183205599328c3820c0c9f3
name: coltype
code: 60c562fa5db2e8eff0d8690d20211104075045
namepath: /dzpz_pz/id
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690c20211104075045
fullname: /dzpz_pz/id/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:30.000
lastmodifieddate: 2023.08.03 11:30:32.531
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8690c20211104075045.60c562fa5db2e8eff0d8690d20211104075045


id: 6183205599328c3820c0ca03
pid: 6183205599328c3820c0c9ff
name: colsize
code: 60c562fa5db2e8eff0d8691520211104075045
namepath: /dzpz_pz/imgid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691020211104075045
fullname: /dzpz_pz/imgid/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:31.000
lastmodifieddate: 2023.08.03 11:30:32.877
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691020211104075045.60c562fa5db2e8eff0d8691520211104075045


id: 6183205599328c3820c0ca07
pid: 6183205599328c3820c0c9ff
name: coltype
code: 60c562fa5db2e8eff0d8691320211104075045
namepath: /dzpz_pz/imgid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691020211104075045
fullname: /dzpz_pz/imgid/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:31.000
lastmodifieddate: 2023.08.03 11:30:32.877
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691020211104075045.60c562fa5db2e8eff0d8691320211104075045


id: 6183205599328c3820c0ca0f
pid: 6183205599328c3820c0ca0b
name: coltype
code: 60c562fa5db2e8eff0d8691820211104075045
namepath: /dzpz_pz/lastmodifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045
fullname: /dzpz_pz/lastmodifieddate/coltype
nodetype: column
value: datetime
createdate: 2021.06.13 09:44:32.000
lastmodifieddate: 2023.08.03 11:30:32.877
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045.60c562fa5db2e8eff0d8691820211104075045


id: 6183205599328c3820c0ca1f
pid: 6183205599328c3820c0ca1b
name: colsize
code: 60c562fa5db2e8eff0d8691e20211104075045
namepath: /dzpz_pz/open_bill_with_url
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691c20211104075045
fullname: /dzpz_pz/open_bill_with_url/colsize
nodetype: column
value: 300
createdate: 2021.06.13 09:44:33.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691c20211104075045.60c562fa5db2e8eff0d8691e20211104075045


id: 6183205599328c3820c0ca23
pid: 6183205599328c3820c0ca1b
name: coltype
code: 60c562fa5db2e8eff0d8691d20211104075045
namepath: /dzpz_pz/open_bill_with_url
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691c20211104075045
fullname: /dzpz_pz/open_bill_with_url/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:33.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691c20211104075045.60c562fa5db2e8eff0d8691d20211104075045


id: 6183205599328c3820c0ca2f
pid: 6183205599328c3820c0ca2b
name: coltype
code: 60c562fa5db2e8eff0d8695620211104075045
namepath: /dzpz_pz/pz
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8695520211104075045
fullname: /dzpz_pz/pz/coltype
nodetype: column
value: int
createdate: 2021.06.13 09:44:44.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8695520211104075045.60c562fa5db2e8eff0d8695620211104075045


id: 6183205599328c3820c0ca37
pid: 6183205599328c3820c0ca33
name: colsize
code: 60c562fa5db2e8eff0d8692220211104075045
namepath: /dzpz_pz/pzh
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692020211104075045
fullname: /dzpz_pz/pzh/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:34.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692020211104075045.60c562fa5db2e8eff0d8692220211104075045


id: 6183205599328c3820c0ca3b
pid: 6183205599328c3820c0ca33
name: coltype
code: 60c562fa5db2e8eff0d8692120211104075045
namepath: /dzpz_pz/pzh
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692020211104075045
fullname: /dzpz_pz/pzh/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:34.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692020211104075045.60c562fa5db2e8eff0d8692120211104075045


id: 6183205599328c3820c0ca4b
pid: 6183205599328c3820c0ca47
name: colsize
code: 60c7d4645db2f19751803a4f20211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/colsize
nodetype: column
createdate: 2021.06.15 06:15:12.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a4f20211104075045


id: 6183205599328c3820c0ca4f
pid: 6183205599328c3820c0ca47
name: coltype
code: 60c7d41b5db2f197518039d620211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/coltype
nodetype: column
value: int
createdate: 2021.06.15 06:11:52.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d41b5db2f197518039d620211104075045


id: 6183205599328c3820c0ca53
pid: 6183205599328c3820c0ca47
name: datamask
code: 60c7d4645db2f19751803a5220211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/datamask
nodetype: column
createdate: 2021.06.15 06:15:12.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a5220211104075045


id: 6183205599328c3820c0ca57
pid: 6183205599328c3820c0ca47
name: decimalcount
code: 60c7d4645db2f19751803a5020211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/decimalcount
nodetype: column
createdate: 2021.06.15 06:15:12.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a5020211104075045


id: 6183205599328c3820c0ca5b
pid: 6183205599328c3820c0ca47
name: defaultvalue
code: 60c7d4645db2f19751803a5120211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/defaultvalue
nodetype: column
createdate: 2021.06.15 06:15:12.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a5120211104075045


id: 6183205599328c3820c0ca5f
pid: 6183205599328c3820c0ca47
name: description
code: 60c7d4645db2f19751803a5320211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/description
nodetype: column
createdate: 2021.06.15 06:15:13.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a5320211104075045


id: 6183205599328c3820c0ca63
pid: 6183205599328c3820c0ca47
name: dynamicwhere2_tokens
code: 60c7d4645db2f19751803a5420211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/dynamicwhere2_tokens
nodetype: column
value: {}
createdate: 2021.06.15 06:15:13.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a5420211104075045


id: 6183205599328c3820c0ca67
pid: 6183205599328c3820c0ca47
name: nullable
code: 60c7d4645db2f19751803a4420211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/nullable
nodetype: column
value: true
createdate: 2021.06.15 06:15:07.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a4420211104075045


id: 6183205599328c3820c0ca6b
pid: 6183205599328c3820c0ca47
name: smartretrieve
code: 60c7d4645db2f19751803a4620211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/smartretrieve
nodetype: column
value: false
createdate: 2021.06.15 06:15:07.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a4620211104075045


id: 6183205599328c3820c0ca6f
pid: 6183205599328c3820c0ca47
name: updatable
code: 60c7d4645db2f19751803a4520211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/updatable
nodetype: column
value: false
createdate: 2021.06.15 06:15:07.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a4520211104075045


id: 6183205599328c3820c0ca73
pid: 6183205599328c3820c0ca47
name: usedingroupby
code: 60c7d4645db2f19751803a4720211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/usedingroupby
nodetype: column
value: false
createdate: 2021.06.15 06:15:07.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a4720211104075045


id: 6183205599328c3820c0ca77
pid: 6183205599328c3820c0ca47
name: usedinsum
code: 60c7d4645db2f19751803a4820211104075045
namepath: /dzpz_pz/selected
codepath: 60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045
fullname: /dzpz_pz/selected/usedinsum
nodetype: column
value: false
createdate: 2021.06.15 06:15:07.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c7d41b5db2f197518039d520211104075045.60c7d4645db2f19751803a4820211104075045


id: 6183205599328c3820c0ca7f
pid: 6183205499328c3820c0c907
name: sql
code: 60c5615f5db2e8eff0d867d420211104075045
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a820211104075044
fullname: /dzpz_pz/sql
fullcode: 60c560a05db2e8eff0d867a820211104075044.60c5615f5db2e8eff0d867d420211104075045
nodetype: column
createdate: 2021.06.13 09:37:37.000
lastmodifieddate: 2023.08.03 11:30:32.878
value:
select
  dzpz_pz.*,
  0 as selected,
  '' as tipinfo,
  case when verifierid is null then '校对' else '' end as c_sh1,
  case when verifierid is null then '' else '取消校对' end as c_sh2
from
  dzpz_pz
where
  ifnull(deleteflag, 0) = 0
order by
  ym,
  pzh


id: 6183205599328c3820c0ca8b
pid: 6183205599328c3820c0ca87
name: colsize
code: 60c562fa5db2e8eff0d8692820211104075045
namepath: /dzpz_pz/summary
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692420211104075045
fullname: /dzpz_pz/summary/colsize
nodetype: column
value: 200
createdate: 2021.06.13 09:44:35.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692420211104075045.60c562fa5db2e8eff0d8692820211104075045


id: 6183205599328c3820c0ca8f
pid: 6183205599328c3820c0ca87
name: coltype
code: 60c562fa5db2e8eff0d8692520211104075045
namepath: /dzpz_pz/summary
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692420211104075045
fullname: /dzpz_pz/summary/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:34.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692420211104075045.60c562fa5db2e8eff0d8692520211104075045


id: 6183205599328c3820c0ca9b
pid: 6183205599328c3820c0ca97
name: colsize
code: 60c800ef5db2d209d074b49b20211104075045
namepath: /dzpz_pz/tipinfo
codepath: 60c560a05db2e8eff0d867a820211104075044.60c800ef5db2d209d074b49920211104075045
fullname: /dzpz_pz/tipinfo/colsize
nodetype: column
value: 0
createdate: 2021.06.15 09:23:00.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c800ef5db2d209d074b49920211104075045.60c800ef5db2d209d074b49b20211104075045


id: 6183205599328c3820c0ca9f
pid: 6183205599328c3820c0ca97
name: coltype
code: 60c800ef5db2d209d074b49a20211104075045
namepath: /dzpz_pz/tipinfo
codepath: 60c560a05db2e8eff0d867a820211104075044.60c800ef5db2d209d074b49920211104075045
fullname: /dzpz_pz/tipinfo/coltype
nodetype: column
value: varchar
createdate: 2021.06.15 09:23:00.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c800ef5db2d209d074b49920211104075045.60c800ef5db2d209d074b49a20211104075045


id: 6183205599328c3820c0cab3
pid: 6183205599328c3820c0caaf
name: colsize
code: 60c562fa5db2e8eff0d8692c20211104075045
namepath: /dzpz_pz/url_img
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692a20211104075045
fullname: /dzpz_pz/url_img/colsize
nodetype: column
value: 1000
createdate: 2021.06.13 09:44:36.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692a20211104075045.60c562fa5db2e8eff0d8692c20211104075045


id: 6183205599328c3820c0cab7
pid: 6183205599328c3820c0caaf
name: coltype
code: 60c562fa5db2e8eff0d8692b20211104075045
namepath: /dzpz_pz/url_img
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692a20211104075045
fullname: /dzpz_pz/url_img/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:35.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692a20211104075045.60c562fa5db2e8eff0d8692b20211104075045


id: 6183205599328c3820c0cabf
pid: 6183205599328c3820c0cabb
name: colsize
code: 60c562fa5db2e8eff0d8693020211104075045
namepath: /dzpz_pz/url_thumbnail
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692e20211104075045
fullname: /dzpz_pz/url_thumbnail/colsize
nodetype: column
value: 1000
createdate: 2021.06.13 09:44:36.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692e20211104075045.60c562fa5db2e8eff0d8693020211104075045


id: 6183205599328c3820c0cac3
pid: 6183205599328c3820c0cabb
name: coltype
code: 60c562fa5db2e8eff0d8692f20211104075045
namepath: /dzpz_pz/url_thumbnail
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692e20211104075045
fullname: /dzpz_pz/url_thumbnail/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:36.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8692e20211104075045.60c562fa5db2e8eff0d8692f20211104075045


id: 6183205599328c3820c0cacb
pid: 6183205599328c3820c0cac7
name: coltype
code: 60c562fa5db2e8eff0d8693520211104075045
namepath: /dzpz_pz/userid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693420211104075045
fullname: /dzpz_pz/userid/coltype
nodetype: column
value: int
createdate: 2021.06.13 09:44:37.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693420211104075045.60c562fa5db2e8eff0d8693520211104075045


id: 6183205599328c3820c0cad3
pid: 6183205599328c3820c0cacf
name: colsize
code: 60c562fa5db2e8eff0d8693920211104075045
namepath: /dzpz_pz/username
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693720211104075045
fullname: /dzpz_pz/username/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:38.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693720211104075045.60c562fa5db2e8eff0d8693920211104075045


id: 6183205599328c3820c0cad7
pid: 6183205599328c3820c0cacf
name: coltype
code: 60c562fa5db2e8eff0d8693820211104075045
namepath: /dzpz_pz/username
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693720211104075045
fullname: /dzpz_pz/username/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:38.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693720211104075045.60c562fa5db2e8eff0d8693820211104075045


id: 6183205599328c3820c0cadf
pid: 6183205599328c3820c0cadb
name: coltype
code: 60c562fa5db2e8eff0d8693c20211104075045
namepath: /dzpz_pz/verifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045
fullname: /dzpz_pz/verifieddate/coltype
nodetype: column
value: datetime
createdate: 2021.06.13 09:44:39.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045.60c562fa5db2e8eff0d8693c20211104075045


id: 6183205599328c3820c0cae3
pid: 6183205599328c3820c0cadb
name: nullable
code: 60c7f6715db2d209d074b40520211104075045
namepath: /dzpz_pz/verifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045
fullname: /dzpz_pz/verifieddate/nullable
nodetype: column
value: true
createdate: 2021.06.15 08:56:55.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045.60c7f6715db2d209d074b40520211104075045


id: 6183205599328c3820c0cae7
pid: 6183205599328c3820c0cadb
name: smartretrieve
code: 60c7f6715db2d209d074b40720211104075045
namepath: /dzpz_pz/verifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045
fullname: /dzpz_pz/verifieddate/smartretrieve
nodetype: column
value: false
createdate: 2021.06.15 08:56:56.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045.60c7f6715db2d209d074b40720211104075045


id: 6183205599328c3820c0caeb
pid: 6183205599328c3820c0cadb
name: updatable
code: 60c7f6715db2d209d074b40620211104075045
namepath: /dzpz_pz/verifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045
fullname: /dzpz_pz/verifieddate/updatable
nodetype: column
value: true
createdate: 2021.06.15 08:56:55.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045.60c7f6715db2d209d074b40620211104075045


id: 6183205599328c3820c0caef
pid: 6183205599328c3820c0cadb
name: usedingroupby
code: 60c7f6715db2d209d074b40820211104075045
namepath: /dzpz_pz/verifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045
fullname: /dzpz_pz/verifieddate/usedingroupby
nodetype: column
value: false
createdate: 2021.06.15 08:56:56.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045.60c7f6715db2d209d074b40820211104075045


id: 6183205599328c3820c0caf3
pid: 6183205599328c3820c0cadb
name: usedinsum
code: 60c7f6715db2d209d074b40920211104075045
namepath: /dzpz_pz/verifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045
fullname: /dzpz_pz/verifieddate/usedinsum
nodetype: column
value: false
createdate: 2021.06.15 08:56:56.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693b20211104075045.60c7f6715db2d209d074b40920211104075045


id: 6183205599328c3820c0cafb
pid: 6183205599328c3820c0caf7
name: coltype
code: 60c562fa5db2e8eff0d8693f20211104075045
namepath: /dzpz_pz/verifierid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045
fullname: /dzpz_pz/verifierid/coltype
nodetype: column
value: int
createdate: 2021.06.13 09:44:39.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045.60c562fa5db2e8eff0d8693f20211104075045


id: 6183205599328c3820c0caff
pid: 6183205599328c3820c0caf7
name: nullable
code: 60c7f6715db2d209d074b41a20211104075045
namepath: /dzpz_pz/verifierid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045
fullname: /dzpz_pz/verifierid/nullable
nodetype: column
value: true
createdate: 2021.06.15 09:04:50.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045.60c7f6715db2d209d074b41a20211104075045


id: 6183205599328c3820c0cb03
pid: 6183205599328c3820c0caf7
name: smartretrieve
code: 60c7f6715db2d209d074b41c20211104075045
namepath: /dzpz_pz/verifierid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045
fullname: /dzpz_pz/verifierid/smartretrieve
nodetype: column
value: false
createdate: 2021.06.15 09:04:51.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045.60c7f6715db2d209d074b41c20211104075045


id: 6183205599328c3820c0cb07
pid: 6183205599328c3820c0caf7
name: updatable
code: 60c7f6715db2d209d074b41b20211104075045
namepath: /dzpz_pz/verifierid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045
fullname: /dzpz_pz/verifierid/updatable
nodetype: column
value: true
createdate: 2021.06.15 09:04:51.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045.60c7f6715db2d209d074b41b20211104075045


id: 6183205599328c3820c0cb0b
pid: 6183205599328c3820c0caf7
name: usedingroupby
code: 60c7f6715db2d209d074b41d20211104075045
namepath: /dzpz_pz/verifierid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045
fullname: /dzpz_pz/verifierid/usedingroupby
nodetype: column
value: false
createdate: 2021.06.15 09:04:51.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045.60c7f6715db2d209d074b41d20211104075045


id: 6183205599328c3820c0cb0f
pid: 6183205599328c3820c0caf7
name: usedinsum
code: 60c7f6715db2d209d074b41e20211104075045
namepath: /dzpz_pz/verifierid
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045
fullname: /dzpz_pz/verifierid/usedinsum
nodetype: column
value: false
createdate: 2021.06.15 09:04:51.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8693e20211104075045.60c7f6715db2d209d074b41e20211104075045


id: 6183205599328c3820c0cb17
pid: 6183205599328c3820c0cb13
name: colsize
code: 60c562fa5db2e8eff0d8694320211104075045
namepath: /dzpz_pz/verifiername
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045
fullname: /dzpz_pz/verifiername/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:40.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045.60c562fa5db2e8eff0d8694320211104075045


id: 6183205599328c3820c0cb1b
pid: 6183205599328c3820c0cb13
name: coltype
code: 60c562fa5db2e8eff0d8694220211104075045
namepath: /dzpz_pz/verifiername
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045
fullname: /dzpz_pz/verifiername/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:40.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045.60c562fa5db2e8eff0d8694220211104075045


id: 6183205599328c3820c0cb1f
pid: 6183205599328c3820c0cb13
name: nullable
code: 60c800ef5db2d209d074b4ab20211104075045
namepath: /dzpz_pz/verifiername
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045
fullname: /dzpz_pz/verifiername/nullable
nodetype: column
value: true
createdate: 2021.06.15 09:25:32.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045.60c800ef5db2d209d074b4ab20211104075045


id: 6183205599328c3820c0cb23
pid: 6183205599328c3820c0cb13
name: smartretrieve
code: 60c800ef5db2d209d074b4ad20211104075046
namepath: /dzpz_pz/verifiername
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045
fullname: /dzpz_pz/verifiername/smartretrieve
nodetype: column
value: false
createdate: 2021.06.15 09:25:33.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045.60c800ef5db2d209d074b4ad20211104075046


id: 6183205599328c3820c0cb27
pid: 6183205599328c3820c0cb13
name: updatable
code: 60c800ef5db2d209d074b4ac20211104075046
namepath: /dzpz_pz/verifiername
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045
fullname: /dzpz_pz/verifiername/updatable
nodetype: column
value: true
createdate: 2021.06.15 09:25:33.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045.60c800ef5db2d209d074b4ac20211104075046


id: 6183205599328c3820c0cb2b
pid: 6183205599328c3820c0cb13
name: usedingroupby
code: 60c800ef5db2d209d074b4ae20211104075046
namepath: /dzpz_pz/verifiername
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045
fullname: /dzpz_pz/verifiername/usedingroupby
nodetype: column
value: false
createdate: 2021.06.15 09:25:34.000
lastmodifieddate: 2023.08.03 11:30:32.878
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045.60c800ef5db2d209d074b4ae20211104075046


id: 6183205599328c3820c0cb2f
pid: 6183205599328c3820c0cb13
name: usedinsum
code: 60c800ef5db2d209d074b4af20211104075046
namepath: /dzpz_pz/verifiername
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045
fullname: /dzpz_pz/verifiername/usedinsum
nodetype: column
value: false
createdate: 2021.06.15 09:25:35.000
lastmodifieddate: 2023.08.03 11:30:32.879
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694120211104075045.60c800ef5db2d209d074b4af20211104075046


id: 6183205599328c3820c0cb37
pid: 6183205599328c3820c0cb33
name: colsize
code: 60c562fa5db2e8eff0d8695020211104075046
namepath: /dzpz_pz/xm
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694e20211104075046
fullname: /dzpz_pz/xm/colsize
nodetype: column
value: 200
createdate: 2021.06.13 09:44:43.000
lastmodifieddate: 2023.08.03 11:30:32.879
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694e20211104075046.60c562fa5db2e8eff0d8695020211104075046


id: 6183205599328c3820c0cb3b
pid: 6183205599328c3820c0cb33
name: coltype
code: 60c562fa5db2e8eff0d8694f20211104075046
namepath: /dzpz_pz/xm
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694e20211104075046
fullname: /dzpz_pz/xm/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:42.000
lastmodifieddate: 2023.08.03 11:30:32.879
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694e20211104075046.60c562fa5db2e8eff0d8694f20211104075046


id: 6183205599328c3820c0cb43
pid: 6183205599328c3820c0cb3f
name: coltype
code: 60c562fa5db2e8eff0d8694620211104075046
namepath: /dzpz_pz/ym
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694520211104075046
fullname: /dzpz_pz/ym/coltype
nodetype: column
value: int
createdate: 2021.06.13 09:44:41.000
lastmodifieddate: 2023.08.03 11:30:32.879
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8694520211104075046.60c562fa5db2e8eff0d8694620211104075046


id: 618499a5993236a4844fa1d5
pid: 6183205599328c3820c0ca0b
name: nullable
code: 618499a5993236a4844fa1d5
namepath: /dzpz_pz/lastmodifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045
fullname: /dzpz_pz/lastmodifieddate/nullable
nodetype: column
value: true
createdate: 2021.11.05 11:56:38.000
lastmodifieddate: 2023.08.03 11:30:33.935
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045.618499a5993236a4844fa1d5


id: 618499a5993236a4844fa1d6
pid: 6183205599328c3820c0ca0b
name: updatable
code: 618499a5993236a4844fa1d6
namepath: /dzpz_pz/lastmodifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045
fullname: /dzpz_pz/lastmodifieddate/updatable
nodetype: column
value: true
createdate: 2021.11.05 11:56:38.000
lastmodifieddate: 2023.08.03 11:30:33.935
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045.618499a5993236a4844fa1d6


id: 618499a5993236a4844fa1d7
pid: 6183205599328c3820c0ca0b
name: smartretrieve
code: 618499a5993236a4844fa1d7
namepath: /dzpz_pz/lastmodifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045
fullname: /dzpz_pz/lastmodifieddate/smartretrieve
nodetype: column
value: false
createdate: 2021.11.05 11:56:38.000
lastmodifieddate: 2023.08.03 11:30:33.935
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045.618499a5993236a4844fa1d7


id: 618499a5993236a4844fa1d8
pid: 6183205599328c3820c0ca0b
name: usedingroupby
code: 618499a5993236a4844fa1d8
namepath: /dzpz_pz/lastmodifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045
fullname: /dzpz_pz/lastmodifieddate/usedingroupby
nodetype: column
value: false
createdate: 2021.11.05 11:56:38.000
lastmodifieddate: 2023.08.03 11:30:33.935
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045.618499a5993236a4844fa1d8


id: 618499a5993236a4844fa1d9
pid: 6183205599328c3820c0ca0b
name: usedinsum
code: 618499a5993236a4844fa1d9
namepath: /dzpz_pz/lastmodifieddate
codepath: 60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045
fullname: /dzpz_pz/lastmodifieddate/usedinsum
nodetype: column
value: false
createdate: 2021.11.05 11:56:38.000
lastmodifieddate: 2023.08.03 11:30:33.935
fullcode:
60c560a05db2e8eff0d867a820211104075044.60c562fa5db2e8eff0d8691720211104075045.618499a5993236a4844fa1d9


id: 619a5454993208680e5229a5
pid: 619a5454993208680e5229a1
name: apibody
code: 60c560a05db2e8eff0d867cb2021110407504420211121221444
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/apibody
nodetype: column
createdate: 2021.06.13 09:37:35.000
lastmodifieddate: 2023.08.03 11:30:34.650
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867cb2021110407504420211121221444


id: 619a5454993208680e5229a9
pid: 619a5454993208680e5229a1
name: apicolumndefine
code: 60c560a05db2e8eff0d867c82021110407504420211121221444
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/apicolumndefine
nodetype: column
createdate: 2021.06.13 09:37:35.000
lastmodifieddate: 2023.08.03 11:30:34.650
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867c82021110407504420211121221444


id: 619a5454993208680e5229ad
pid: 619a5454993208680e5229a1
name: apiheader
code: 60c560a05db2e8eff0d867ca2021110407504420211121221444
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/apiheader
nodetype: column
createdate: 2021.06.13 09:37:35.000
lastmodifieddate: 2023.08.03 11:30:34.650
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867ca2021110407504420211121221444


id: 619a5454993208680e5229b1
pid: 619a5454993208680e5229a1
name: apipagecount
code: 60c5615f5db2e8eff0d867d32021110407504420211121221444
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/apipagecount
nodetype: column
createdate: 2021.06.13 09:37:37.000
lastmodifieddate: 2023.08.03 11:30:34.650
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c5615f5db2e8eff0d867d32021110407504420211121221444


id: 619a5454993208680e5229b5
pid: 619a5454993208680e5229a1
name: apiresultconvert
code: 60c5615f5db2e8eff0d867ce2021110407504420211121221444
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/apiresultconvert
nodetype: column
createdate: 2021.06.13 09:37:36.000
lastmodifieddate: 2023.08.03 11:30:34.650
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c5615f5db2e8eff0d867ce2021110407504420211121221444


id: 619a5454993208680e5229b9
pid: 619a5454993208680e5229a1
name: apiresultpath
code: 60c5615f5db2e8eff0d867d22021110407504420211121221444
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/apiresultpath
nodetype: column
createdate: 2021.06.13 09:37:36.000
lastmodifieddate: 2023.08.03 11:30:34.650
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c5615f5db2e8eff0d867d22021110407504420211121221444


id: 619a5454993208680e5229bd
pid: 619a5454993208680e5229a1
name: apiurl
code: 60c560a05db2e8eff0d867c92021110407504420211121221444
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/apiurl
nodetype: column
createdate: 2021.06.13 09:37:35.000
lastmodifieddate: 2023.08.03 11:30:34.650
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867c92021110407504420211121221444


id: 619a5454993208680e5229c9
pid: 619a5454993208680e5229a1
name: autoretrieve
code: 60c560a05db2e8eff0d867b52021110407504420211121221444
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/autoretrieve
nodetype: column
value: true
createdate: 2021.06.13 09:37:14.000
lastmodifieddate: 2023.08.03 11:30:34.650
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867b52021110407504420211121221444


id: 619a5454993208680e522a25
pid: 619a5454993208680e5229a1
name: c_xh
code: 60c7d41b5db2f19751803a1a2021110407504420211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/c_xh
nodetype: computer
createdate: 2021.06.15 06:12:48.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c7d41b5db2f19751803a1a2021110407504420211121221445


id: 619a5454993208680e522a29
pid: 619a5454993208680e522a25
name: description
code: 60c7d4645db2f19751803a2d2021110407504420211121221445
namepath: /dzpz_pz/c_xh
fullname: /dzpz_pz/c_xh/description
nodetype: column
createdate: 2021.06.15 06:13:00.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c7d41b5db2f19751803a1a2021110407504420211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c7d41b5db2f19751803a1a2021110407504420211121221445.60c7d4645db2f19751803a2d2021110407504420211121221445


id: 619a5454993208680e522a2d
pid: 619a5454993208680e522a25
name: dynamicwhere2_tokens
code: 60c7d4645db2f19751803a2e2021110407504420211121221445
namepath: /dzpz_pz/c_xh
fullname: /dzpz_pz/c_xh/dynamicwhere2_tokens
nodetype: column
value: {}
createdate: 2021.06.15 06:13:00.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c7d41b5db2f19751803a1a2021110407504420211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c7d41b5db2f19751803a1a2021110407504420211121221445.60c7d4645db2f19751803a2e2021110407504420211121221445


id: 619a5454993208680e522a31
pid: 619a5454993208680e522a25
name: expression
code: 60c7d4645db2f19751803a2c2021110407504420211121221445
namepath: /dzpz_pz/c_xh
fullname: /dzpz_pz/c_xh/expression
nodetype: column
value: thisrow()+1
createdate: 2021.06.15 06:13:00.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c7d41b5db2f19751803a1a2021110407504420211121221445.60c7d4645db2f19751803a2c2021110407504420211121221445


id: 619a5454993208680e522a35
pid: 619a5454993208680e522a25
name: fillback
code: 60c7d4645db2f19751803a2b2021110407504420211121221445
namepath: /dzpz_pz/c_xh
fullname: /dzpz_pz/c_xh/fillback
nodetype: column
createdate: 2021.06.15 06:12:59.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c7d41b5db2f19751803a1a2021110407504420211121221445.60c7d4645db2f19751803a2b2021110407504420211121221445


id: 619a5454993208680e522a39
pid: 619a5454993208680e5229a1
name: corpid
code: 61403c23993240476a10dc3a2021110407504420211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/corpid
nodetype: dbcol
value: 账套ID
createdate: 2021.09.14 14:13:40.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.61403c23993240476a10dc3a2021110407504420211121221445


id: 619a5454993208680e522a3d
pid: 619a5454993208680e522a39
name: colsize
code: 61403c23993240476a10dc3c2021110407504420211121221445
namepath: /dzpz_pz/corpid
fullname: /dzpz_pz/corpid/colsize
nodetype: column
value: 10
createdate: 2021.09.14 14:13:40.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.61403c23993240476a10dc3a2021110407504420211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.61403c23993240476a10dc3a2021110407504420211121221445.61403c23993240476a10dc3c2021110407504420211121221445


id: 619a5454993208680e522a41
pid: 619a5454993208680e522a39
name: coltype
code: 61403c23993240476a10dc3b2021110407504420211121221445
namepath: /dzpz_pz/corpid
fullname: /dzpz_pz/corpid/coltype
nodetype: column
value: varchar
createdate: 2021.09.14 14:13:40.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.61403c23993240476a10dc3a2021110407504420211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.61403c23993240476a10dc3a2021110407504420211121221445.61403c23993240476a10dc3b2021110407504420211121221445


id: 619a5454993208680e522a45
pid: 619a5454993208680e5229a1
name: corporationid
code: 60c562fa5db2e8eff0d869012021110407504420211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/corporationid
nodetype: dbcol
value: 帐套ID
createdate: 2021.06.13 09:44:28.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869012021110407504420211121221445


id: 619a5454993208680e522a49
pid: 619a5454993208680e522a45
name: colsize
code: 60c562fa5db2e8eff0d869032021110407504420211121221445
namepath: /dzpz_pz/corporationid
fullname: /dzpz_pz/corporationid/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:28.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869012021110407504420211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869012021110407504420211121221445.60c562fa5db2e8eff0d869032021110407504420211121221445


id: 619a5454993208680e522a4d
pid: 619a5454993208680e522a45
name: coltype
code: 60c562fa5db2e8eff0d869022021110407504420211121221445
namepath: /dzpz_pz/corporationid
fullname: /dzpz_pz/corporationid/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:28.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869012021110407504420211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869012021110407504420211121221445.60c562fa5db2e8eff0d869022021110407504420211121221445


id: 619a5454993208680e522a51
pid: 619a5454993208680e5229a1
name: dbpool
code: 60c560a05db2e8eff0d867c72021110407504420211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/dbpool
nodetype: column
value: default
createdate: 2021.06.13 09:37:34.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867c72021110407504420211121221445


id: 619a5454993208680e522a55
pid: 619a5454993208680e5229a1
name: dbpool_expression
code: 613fd2c9993240476a10d29e2021110407504420211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/dbpool_expression
nodetype: column
createdate: 2021.09.14 06:38:15.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.613fd2c9993240476a10d29e2021110407504420211121221445


id: 619a5454993208680e522a59
pid: 619a5454993208680e5229a1
name: deleteflag
code: 60c562fa5db2e8eff0d869052021110407504420211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/deleteflag
nodetype: dbcol
value: 删除标记
createdate: 2021.06.13 09:44:29.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869052021110407504420211121221445


id: 619a5454993208680e522a5d
pid: 619a5454993208680e522a59
name: coltype
code: 60c562fa5db2e8eff0d869062021110407504420211121221445
namepath: /dzpz_pz/deleteflag
fullname: /dzpz_pz/deleteflag/coltype
nodetype: column
value: int
createdate: 2021.06.13 09:44:29.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869052021110407504420211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869052021110407504420211121221445.60c562fa5db2e8eff0d869062021110407504420211121221445


id: 619a5454993208680e522a61
pid: 619a5454993208680e5229a1
name: description
code: 60c5615f5db2e8eff0d867d92021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/description
nodetype: column
createdate: 2021.06.13 09:37:38.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c5615f5db2e8eff0d867d92021110407504520211121221445


id: 619a5454993208680e522a65
pid: 619a5454993208680e5229a1
name: dynamicwhere
code: 60c5615f5db2e8eff0d867d82021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/dynamicwhere
nodetype: column
createdate: 2021.06.13 09:37:38.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c5615f5db2e8eff0d867d82021110407504520211121221445


id: 619a5454993208680e522a69
pid: 619a5454993208680e5229a1
name: dynamicwhere2
code: 60c5615f5db2e8eff0d867d62021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/dynamicwhere2
nodetype: column
createdate: 2021.06.13 09:37:37.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c5615f5db2e8eff0d867d62021110407504520211121221445

value:
"a.corpid='"+ st_corpid+"' "
"b.y='"+st_y+"'"
"b.m='"+st_m+"'"
"b.code='"+st_code+"'"
"b.pzh like '%"+st_pzh+"%'"
iif( shzt==1, " c.verifierid is not null" , iif ( shzt==2, "c.verifierid is null ", ""))
"b."+st_key1+" like '%"+st_value1+"%'"
"b."+st_key2+" like '%"+st_value2+"%'"
"b.pzrq >='"+st_date1+"'"
"b.pzrq <'"+date2yyyymmdd(nextDate(yyyymmdd2Date(st_date2),1))+"'"


id: 619a5454993208680e522a6d
pid: 619a5454993208680e5229a1
name: dynamicwhere2_tokens
code: 60c5615f5db2e8eff0d867d72021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/dynamicwhere2_tokens
nodetype: column
createdate: 2021.06.13 09:37:38.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c5615f5db2e8eff0d867d72021110407504520211121221445

value:
{
    "\"a.corpid='\"+ st_corpid+\"' \"": "st_corpid",
    "\"b.y='\"+st_y+\"'\"": "st_y",
    "\"b.m='\"+st_m+\"'\"": "st_m",
    "\"b.code='\"+st_code+\"'\"": "st_code",
    "\"b.pzh like '%\"+st_pzh+\"%'\"": "st_pzh",
    "iif( shzt==1, \" c.verifierid is not null\" , iif ( shzt==2, \"c.verifierid is null \", \"\"))": "shzt",
    "\"b.\"+st_key1+\" like '%\"+st_value1+\"%'\"": "st_key1,st_value1",
    "\"b.\"+st_key2+\" like '%\"+st_value2+\"%'\"": "st_key2,st_value2",
    "\"b.pzrq >='\"+st_date1+\"'\"": "st_date1",
    "\"b.pzrq <'\"+date2yyyymmdd(nextDate(yyyymmdd2Date(st_date2),1))+\"'\"": "st_date2"
}


id: 619a5454993208680e522a71
pid: 619a5454993208680e5229a1
name: dynamicwheredata2
code: 60c5615f5db2e8eff0d867d52021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/dynamicwheredata2
nodetype: column
createdate: 2021.06.13 09:37:37.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c5615f5db2e8eff0d867d52021110407504520211121221445

value:
st_corpid:filter!st_corpid
st_y:filter!st_y
st_m:filter!st_m
st_code:filter!st_code
st_pzh:filter!st_pzh
shzt:filter!shzt
st_key1:filter!st_key1
st_value1:filter!st_value1
st_key2:filter!st_key2
st_value2:filter!st_value2
st_date1:date2yyyymmdd(filter!st_date1)
st_date2:date2yyyymmdd(filter!st_date2)


id: 619a5454993208680e522a75
pid: 619a5454993208680e5229a1
name: fj
code: 60c562fa5db2e8eff0d869522021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/fj
nodetype: dbcol
value: 附件的图片数
createdate: 2021.06.13 09:44:43.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869522021110407504520211121221445


id: 619a5454993208680e522a79
pid: 619a5454993208680e522a75
name: coltype
code: 60c562fa5db2e8eff0d869532021110407504520211121221445
namepath: /dzpz_pz/fj
fullname: /dzpz_pz/fj/coltype
nodetype: column
value: int
createdate: 2021.06.13 09:44:43.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869522021110407504520211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869522021110407504520211121221445.60c562fa5db2e8eff0d869532021110407504520211121221445


id: 619a5454993208680e522a7d
pid: 619a5454993208680e5229a1
name: gguid
code: 60c562fa5db2e8eff0d869082021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/gguid
nodetype: dbcol
value: GGUID
createdate: 2021.06.13 09:44:29.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869082021110407504520211121221445


id: 619a5454993208680e522a81
pid: 619a5454993208680e522a7d
name: colsize
code: 60c562fa5db2e8eff0d8690a2021110407504520211121221445
namepath: /dzpz_pz/gguid
fullname: /dzpz_pz/gguid/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:30.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869082021110407504520211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869082021110407504520211121221445.60c562fa5db2e8eff0d8690a2021110407504520211121221445


id: 619a5455993208680e522a85
pid: 619a5454993208680e522a7d
name: coltype
code: 60c562fa5db2e8eff0d869092021110407504520211121221445
namepath: /dzpz_pz/gguid
fullname: /dzpz_pz/gguid/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:30.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869082021110407504520211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869082021110407504520211121221445.60c562fa5db2e8eff0d869092021110407504520211121221445


id: 619a5455993208680e522a89
pid: 619a5454993208680e5229a1
name: gguidinject
code: 613fd2c9993240476a10d2972021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/gguidinject
nodetype: column
value: false
createdate: 2021.09.14 06:38:11.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.613fd2c9993240476a10d2972021110407504520211121221445


id: 619a5455993208680e522a8d
pid: 619a5454993208680e5229a1
name: id
code: 60c562fa5db2e8eff0d8690c2021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/id
nodetype: dbcol
value: ID
createdate: 2021.06.13 09:44:30.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d8690c2021110407504520211121221445


id: 619a5455993208680e522a91
pid: 619a5455993208680e522a8d
name: colsize
code: 60c562fa5db2e8eff0d8690e2021110407504520211121221445
namepath: /dzpz_pz/id
fullname: /dzpz_pz/id/colsize
nodetype: column
value: 40
createdate: 2021.06.13 09:44:31.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d8690c2021110407504520211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d8690c2021110407504520211121221445.60c562fa5db2e8eff0d8690e2021110407504520211121221445


id: 619a5455993208680e522a95
pid: 619a5455993208680e522a8d
name: coltype
code: 60c562fa5db2e8eff0d8690d2021110407504520211121221445
namepath: /dzpz_pz/id
fullname: /dzpz_pz/id/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:30.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d8690c2021110407504520211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d8690c2021110407504520211121221445.60c562fa5db2e8eff0d8690d2021110407504520211121221445


id: 619a5455993208680e522aa5
pid: 619a5454993208680e5229a1
name: lastmodifieddate
code: 60c562fa5db2e8eff0d869172021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/lastmodifieddate
nodetype: dbcol
value: 数据最后修改日期
createdate: 2021.06.13 09:44:32.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869172021110407504520211121221445


id: 619a5455993208680e522aa9
pid: 619a5455993208680e522aa5
name: coltype
code: 60c562fa5db2e8eff0d869182021110407504520211121221445
namepath: /dzpz_pz/lastmodifieddate
fullname: /dzpz_pz/lastmodifieddate/coltype
nodetype: column
value: datetime
createdate: 2021.06.13 09:44:32.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869172021110407504520211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869172021110407504520211121221445.60c562fa5db2e8eff0d869182021110407504520211121221445


id: 619a5455993208680e522aad
pid: 619a5455993208680e522aa5
name: nullable
code: 618499a5993236a4844fa1d520211121221445
namepath: /dzpz_pz/lastmodifieddate
fullname: /dzpz_pz/lastmodifieddate/nullable
nodetype: column
value: true
createdate: 2021.11.05 11:56:38.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869172021110407504520211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869172021110407504520211121221445.618499a5993236a4844fa1d520211121221445


id: 619a5455993208680e522ab1
pid: 619a5455993208680e522aa5
name: smartretrieve
code: 618499a5993236a4844fa1d720211121221445
namepath: /dzpz_pz/lastmodifieddate
fullname: /dzpz_pz/lastmodifieddate/smartretrieve
nodetype: column
value: false
createdate: 2021.11.05 11:56:38.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869172021110407504520211121221445.618499a5993236a4844fa1d720211121221445


id: 619a5455993208680e522ab5
pid: 619a5455993208680e522aa5
name: updatable
code: 618499a5993236a4844fa1d620211121221445
namepath: /dzpz_pz/lastmodifieddate
fullname: /dzpz_pz/lastmodifieddate/updatable
nodetype: column
value: true
createdate: 2021.11.05 11:56:38.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869172021110407504520211121221445.618499a5993236a4844fa1d620211121221445


id: 619a5455993208680e522ab9
pid: 619a5455993208680e522aa5
name: usedingroupby
code: 618499a5993236a4844fa1d820211121221445
namepath: /dzpz_pz/lastmodifieddate
fullname: /dzpz_pz/lastmodifieddate/usedingroupby
nodetype: column
value: false
createdate: 2021.11.05 11:56:38.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869172021110407504520211121221445.618499a5993236a4844fa1d820211121221445


id: 619a5455993208680e522abd
pid: 619a5455993208680e522aa5
name: usedinsum
code: 618499a5993236a4844fa1d920211121221445
namepath: /dzpz_pz/lastmodifieddate
fullname: /dzpz_pz/lastmodifieddate/usedinsum
nodetype: column
value: false
createdate: 2021.11.05 11:56:38.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869172021110407504520211121221445.618499a5993236a4844fa1d920211121221445


id: 619a5455993208680e522ac1
pid: 619a5454993208680e5229a1
name: multirow
code: 60c560a05db2e8eff0d867b32021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/multirow
nodetype: column
value: true
createdate: 2021.06.13 09:37:13.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867b32021110407504520211121221445


id: 619a5455993208680e522ac5
pid: 619a5454993208680e5229a1
name: needcache
code: 60c560a05db2e8eff0d867b72021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/needcache
nodetype: column
value: false
createdate: 2021.06.13 09:37:15.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867b72021110407504520211121221445


id: 619a5455993208680e522ad5
pid: 619a5454993208680e5229a1
name: primarykey
code: 60c560a05db2e8eff0d867c52021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/primarykey
nodetype: column
value: id
createdate: 2021.06.13 09:37:32.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867c52021110407504520211121221445


id: 619a5455993208680e522ad9
pid: 619a5454993208680e5229a1
name: pz
code: 60c562fa5db2e8eff0d869552021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/pz
nodetype: dbcol
value: 凭证的图片数
createdate: 2021.06.13 09:44:44.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869552021110407504520211121221445


id: 619a5455993208680e522add
pid: 619a5455993208680e522ad9
name: coltype
code: 60c562fa5db2e8eff0d869562021110407504520211121221445
namepath: /dzpz_pz/pz
fullname: /dzpz_pz/pz/coltype
nodetype: column
value: int
createdate: 2021.06.13 09:44:44.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869552021110407504520211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869552021110407504520211121221445.60c562fa5db2e8eff0d869562021110407504520211121221445


id: 619a5455993208680e522ae1
pid: 619a5454993208680e5229a1
name: pzh
code: 60c562fa5db2e8eff0d869202021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/pzh
nodetype: dbcol
value: 凭证号
createdate: 2021.06.13 09:44:33.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869202021110407504520211121221445


id: 619a5455993208680e522ae5
pid: 619a5455993208680e522ae1
name: colsize
code: 60c562fa5db2e8eff0d869222021110407504520211121221445
namepath: /dzpz_pz/pzh
fullname: /dzpz_pz/pzh/colsize
nodetype: column
value: 20
createdate: 2021.06.13 09:44:34.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869202021110407504520211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869202021110407504520211121221445.60c562fa5db2e8eff0d869222021110407504520211121221445


id: 619a5455993208680e522ae9
pid: 619a5455993208680e522ae1
name: coltype
code: 60c562fa5db2e8eff0d869212021110407504520211121221445
namepath: /dzpz_pz/pzh
fullname: /dzpz_pz/pzh/coltype
nodetype: column
value: varchar
createdate: 2021.06.13 09:44:34.000
lastmodifieddate: 2023.08.03 11:30:34.651
codepath:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869202021110407504520211121221445

fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c562fa5db2e8eff0d869202021110407504520211121221445.60c562fa5db2e8eff0d869212021110407504520211121221445


id: 619a5455993208680e522aed
pid: 619a5454993208680e5229a1
name: redis
code: 60c560a05db2e8eff0d867c62021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/redis
nodetype: column
createdate: 2021.06.13 09:37:34.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867c62021110407504520211121221445


id: 619a5455993208680e522af1
pid: 619a5454993208680e5229a1
name: rowcountlimit
code: 60c560a05db2e8eff0d867b62021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/rowcountlimit
nodetype: column
value: 0
createdate: 2021.06.13 09:37:14.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867b62021110407504520211121221445


id: 619a5455993208680e522b29
pid: 619a5454993208680e5229a1
name: sourcetype
code: 60c560a05db2e8eff0d867c22021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/sourcetype
nodetype: column
value: sql
createdate: 2021.06.13 09:37:31.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867c22021110407504520211121221445


id: 619a5455993208680e522b2d
pid: 619a5454993208680e5229a1
name: sql
code: 60c5615f5db2e8eff0d867d42021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/sql
nodetype: column
createdate: 2021.06.13 09:37:37.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c5615f5db2e8eff0d867d42021110407504520211121221445

value:
select
  a.corpid,
  b.*,
  c.id as img_id,
  c.pz,
  c.fj,
  ifnull(c.pz, 0) + ifnull(c.fj, 0) as img_sl,
  case when c.verifierid is not null then 1 else 0 end as is_verified
from
  pzdj a
  inner join pzdjex b on a.gguid = b.gguid
  left join dzpz_pz c on a.corpid = c.corpid
  and b.pzh = c.pzh
order by
  a.corpid asc,
  b.y asc,
  b.m asc,
  b.pzh asc


id: 619a5455993208680e522b31
pid: 619a5454993208680e5229a1
name: sqlinject
code: 60c560a05db2e8eff0d867b42021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/sqlinject
nodetype: column
value: true
createdate: 2021.06.13 09:37:14.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867b42021110407504520211121221445


id: 619a5455993208680e522b41
pid: 619a5454993208680e5229a1
name: timeout
code: 60c560a05db2e8eff0d867b82021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/timeout
nodetype: column
value: 30
createdate: 2021.06.13 09:37:15.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867b82021110407504520211121221445


id: 619a5455993208680e522b51
pid: 619a5454993208680e5229a1
name: type_api
code: 60c560a05db2e8eff0d867c32021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/type_api
nodetype: column
value: api
createdate: 2021.06.13 09:37:31.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867c32021110407504520211121221445


id: 619a5455993208680e522b55
pid: 619a5454993208680e5229a1
name: type_sql
code: 60c560a05db2e8eff0d867c12021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/type_sql
nodetype: column
value: sql
createdate: 2021.06.13 09:37:31.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867c12021110407504520211121221445


id: 619a5455993208680e522b59
pid: 619a5454993208680e5229a1
name: updatedtable
code: 60c560a05db2e8eff0d867c42021110407504520211121221445
namepath: /dzpz_pz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444
fullname: /dzpz_pz/updatedtable
nodetype: column
value: dzpz_pz
createdate: 2021.06.13 09:37:32.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.60c560a05db2e8eff0d867c42021110407504520211121221445


id: 619a54f8993208680e522d5d
pid: 619a54f8993208680e522d5c
name: coltype
code: 619a54f8993208680e522d5d
namepath: /dzpz_pz/bz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d5c
fullname: /dzpz_pz/bz/coltype
nodetype: column
value: varchar
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d5c.619a54f8993208680e522d5d


id: 619a54f8993208680e522d5e
pid: 619a54f8993208680e522d5c
name: colsize
code: 619a54f8993208680e522d5e
namepath: /dzpz_pz/bz
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d5c
fullname: /dzpz_pz/bz/colsize
nodetype: column
value: 50
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d5c.619a54f8993208680e522d5e


id: 619a54f8993208680e522d61
pid: 619a54f8993208680e522d60
name: coltype
code: 619a54f8993208680e522d61
namepath: /dzpz_pz/code
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d60
fullname: /dzpz_pz/code/coltype
nodetype: column
value: varchar
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d60.619a54f8993208680e522d61


id: 619a54f8993208680e522d62
pid: 619a54f8993208680e522d60
name: colsize
code: 619a54f8993208680e522d62
namepath: /dzpz_pz/code
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d60
fullname: /dzpz_pz/code/colsize
nodetype: column
value: 20
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d60.619a54f8993208680e522d62


id: 619a54f8993208680e522d65
pid: 619a54f8993208680e522d64
name: coltype
code: 619a54f8993208680e522d65
namepath: /dzpz_pz/pzdjex_corpid
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64
fullname: /dzpz_pz/pzdjex_corpid/coltype
nodetype: column
value: varchar
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64.619a54f8993208680e522d65


id: 619a54f8993208680e522d66
pid: 619a54f8993208680e522d64
name: colsize
code: 619a54f8993208680e522d66
namepath: /dzpz_pz/pzdjex_corpid
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64
fullname: /dzpz_pz/pzdjex_corpid/colsize
nodetype: column
value: 10
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64.619a54f8993208680e522d66


id: 619a54f8993208680e522d6d
pid: 619a54f8993208680e522d6c
name: coltype
code: 619a54f8993208680e522d6d
namepath: /dzpz_pz/inner_xh
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d6c
fullname: /dzpz_pz/inner_xh/coltype
nodetype: column
value: int
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d6c.619a54f8993208680e522d6d


id: 619a54f8993208680e522d71
pid: 619a54f8993208680e522d70
name: coltype
code: 619a54f8993208680e522d71
namepath: /dzpz_pz/m
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d70
fullname: /dzpz_pz/m/coltype
nodetype: column
value: int
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.651
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d70.619a54f8993208680e522d71


id: 619a54f8993208680e522d74
pid: 619a54f8993208680e522d73
name: coltype
code: 619a54f8993208680e522d74
namepath: /dzpz_pz/posted
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d73
fullname: /dzpz_pz/posted/coltype
nodetype: column
value: varchar
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d73.619a54f8993208680e522d74


id: 619a54f8993208680e522d75
pid: 619a54f8993208680e522d73
name: colsize
code: 619a54f8993208680e522d75
namepath: /dzpz_pz/posted
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d73
fullname: /dzpz_pz/posted/colsize
nodetype: column
value: 4
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d73.619a54f8993208680e522d75


id: 619a54f8993208680e522d79
pid: 619a54f8993208680e522d78
name: coltype
code: 619a54f8993208680e522d79
namepath: /dzpz_pz/pzrq
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d78
fullname: /dzpz_pz/pzrq/coltype
nodetype: column
value: datetime
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d78.619a54f8993208680e522d79


id: 619a54f8993208680e522d7c
pid: 619a54f8993208680e522d7b
name: coltype
code: 619a54f8993208680e522d7c
namepath: /dzpz_pz/y
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d7b
fullname: /dzpz_pz/y/coltype
nodetype: column
value: int
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d7b.619a54f8993208680e522d7c


id: 619a54f8993208680e522d7f
pid: 619a54f8993208680e522d7e
name: coltype
code: 619a54f8993208680e522d7f
namepath: /dzpz_pz/kmdm
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d7e
fullname: /dzpz_pz/kmdm/coltype
nodetype: column
value: varchar
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d7e.619a54f8993208680e522d7f


id: 619a54f8993208680e522d80
pid: 619a54f8993208680e522d7e
name: colsize
code: 619a54f8993208680e522d80
namepath: /dzpz_pz/kmdm
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d7e
fullname: /dzpz_pz/kmdm/colsize
nodetype: column
value: 50
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d7e.619a54f8993208680e522d80


id: 619a54f8993208680e522d83
pid: 619a54f8993208680e522d82
name: coltype
code: 619a54f8993208680e522d83
namepath: /dzpz_pz/kmmc
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d82
fullname: /dzpz_pz/kmmc/coltype
nodetype: column
value: varchar
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d82.619a54f8993208680e522d83


id: 619a54f8993208680e522d84
pid: 619a54f8993208680e522d82
name: colsize
code: 619a54f8993208680e522d84
namepath: /dzpz_pz/kmmc
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d82
fullname: /dzpz_pz/kmmc/colsize
nodetype: column
value: 100
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d82.619a54f8993208680e522d84


id: 619a54f8993208680e522d87
pid: 619a54f8993208680e522d86
name: coltype
code: 619a54f8993208680e522d87
namepath: /dzpz_pz/rkdh
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d86
fullname: /dzpz_pz/rkdh/coltype
nodetype: column
value: varchar
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d86.619a54f8993208680e522d87


id: 619a54f8993208680e522d88
pid: 619a54f8993208680e522d86
name: colsize
code: 619a54f8993208680e522d88
namepath: /dzpz_pz/rkdh
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d86
fullname: /dzpz_pz/rkdh/colsize
nodetype: column
value: 50
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d86.619a54f8993208680e522d88


id: 619a54f8993208680e522d8b
pid: 619a54f8993208680e522d8a
name: coltype
code: 619a54f8993208680e522d8b
namepath: /dzpz_pz/zdr
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d8a
fullname: /dzpz_pz/zdr/coltype
nodetype: column
value: varchar
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d8a.619a54f8993208680e522d8b


id: 619a54f8993208680e522d8c
pid: 619a54f8993208680e522d8a
name: colsize
code: 619a54f8993208680e522d8c
namepath: /dzpz_pz/zdr
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d8a
fullname: /dzpz_pz/zdr/colsize
nodetype: column
value: 30
createdate: 2021.11.21 22:18:24.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d8a.619a54f8993208680e522d8c


id: 619a5530993208680e522dd1
pid: 619a5530993208680e522dd0
name: coltype
code: 619a5530993208680e522dd1
namepath: /dzpz_pz/img_id
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522dd0
fullname: /dzpz_pz/img_id/coltype
nodetype: column
value: varchar
createdate: 2021.11.21 22:19:10.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522dd0.619a5530993208680e522dd1


id: 619a5530993208680e522dd2
pid: 619a5530993208680e522dd0
name: colsize
code: 619a5530993208680e522dd2
namepath: /dzpz_pz/img_id
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522dd0
fullname: /dzpz_pz/img_id/colsize
nodetype: column
value: 40
createdate: 2021.11.21 22:19:10.000
lastmodifieddate: 2023.08.03 11:30:34.652
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522dd0.619a5530993208680e522dd2


id: 619a559d993208680e522e06
pid: 619a5530993208680e522e05
name: coltype
code: 619a559d993208680e522e06
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/coltype
nodetype: column
value: int
createdate: 2021.11.21 22:20:13.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a559d993208680e522e06


id: 619a55c7993208680e522e7e
pid: 619a5530993208680e522e05
name: nullable
code: 619a55c7993208680e522e7e
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/nullable
nodetype: column
value: true
createdate: 2021.11.21 22:21:06.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e7e


id: 619a55c7993208680e522e7f
pid: 619a5530993208680e522e05
name: updatable
code: 619a55c7993208680e522e7f
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/updatable
nodetype: column
value: true
createdate: 2021.11.21 22:21:06.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e7f


id: 619a55c7993208680e522e80
pid: 619a5530993208680e522e05
name: smartretrieve
code: 619a55c7993208680e522e80
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/smartretrieve
nodetype: column
value: false
createdate: 2021.11.21 22:21:06.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e80


id: 619a55c7993208680e522e81
pid: 619a5530993208680e522e05
name: usedingroupby
code: 619a55c7993208680e522e81
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/usedingroupby
nodetype: column
value: false
createdate: 2021.11.21 22:21:06.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e81


id: 619a55c7993208680e522e82
pid: 619a5530993208680e522e05
name: usedinsum
code: 619a55c7993208680e522e82
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/usedinsum
nodetype: column
value: false
createdate: 2021.11.21 22:21:06.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e82


id: 619a55c7993208680e522e89
pid: 619a5530993208680e522e05
name: colsize
code: 619a55c7993208680e522e89
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/colsize
nodetype: column
createdate: 2021.11.21 22:21:19.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e89


id: 619a55c7993208680e522e8a
pid: 619a5530993208680e522e05
name: decimalcount
code: 619a55c7993208680e522e8a
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/decimalcount
nodetype: column
createdate: 2021.11.21 22:21:19.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e8a


id: 619a55c7993208680e522e8b
pid: 619a5530993208680e522e05
name: defaultvalue
code: 619a55c7993208680e522e8b
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/defaultvalue
nodetype: column
createdate: 2021.11.21 22:21:19.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e8b


id: 619a55c7993208680e522e8c
pid: 619a5530993208680e522e05
name: dbdefaultvalue
code: 619a55c7993208680e522e8c
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/dbdefaultvalue
nodetype: column
createdate: 2021.11.21 22:21:19.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e8c


id: 619a55c7993208680e522e8d
pid: 619a5530993208680e522e05
name: datamask
code: 619a55c7993208680e522e8d
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/datamask
nodetype: column
createdate: 2021.11.21 22:21:19.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e8d


id: 619a55c7993208680e522e8e
pid: 619a5530993208680e522e05
name: description
code: 619a55c7993208680e522e8e
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/description
nodetype: column
createdate: 2021.11.21 22:21:19.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e8e


id: 619a55c7993208680e522e8f
pid: 619a5530993208680e522e05
name: dynamicwhere2_tokens
code: 619a55c7993208680e522e8f
namepath: /dzpz_pz/img_sl
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05
fullname: /dzpz_pz/img_sl/dynamicwhere2_tokens
nodetype: column
value: {}
createdate: 2021.11.21 22:21:19.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a5530993208680e522e05.619a55c7993208680e522e8f


id: 619a55c7993208680e522ea3
pid: 619a54f8993208680e522d64
name: nullable
code: 619a55c7993208680e522ea3
namepath: /dzpz_pz/pzdjex_corpid
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64
fullname: /dzpz_pz/pzdjex_corpid/nullable
nodetype: column
value: true
createdate: 2021.11.21 22:21:31.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64.619a55c7993208680e522ea3


id: 619a55c7993208680e522ea4
pid: 619a54f8993208680e522d64
name: updatable
code: 619a55c7993208680e522ea4
namepath: /dzpz_pz/pzdjex_corpid
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64
fullname: /dzpz_pz/pzdjex_corpid/updatable
nodetype: column
value: true
createdate: 2021.11.21 22:21:31.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64.619a55c7993208680e522ea4


id: 619a55c7993208680e522ea5
pid: 619a54f8993208680e522d64
name: smartretrieve
code: 619a55c7993208680e522ea5
namepath: /dzpz_pz/pzdjex_corpid
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64
fullname: /dzpz_pz/pzdjex_corpid/smartretrieve
nodetype: column
value: false
createdate: 2021.11.21 22:21:31.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64.619a55c7993208680e522ea5


id: 619a55c7993208680e522ea6
pid: 619a54f8993208680e522d64
name: usedingroupby
code: 619a55c7993208680e522ea6
namepath: /dzpz_pz/pzdjex_corpid
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64
fullname: /dzpz_pz/pzdjex_corpid/usedingroupby
nodetype: column
value: false
createdate: 2021.11.21 22:21:31.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64.619a55c7993208680e522ea6


id: 619a55c7993208680e522ea7
pid: 619a54f8993208680e522d64
name: usedinsum
code: 619a55c7993208680e522ea7
namepath: /dzpz_pz/pzdjex_corpid
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64
fullname: /dzpz_pz/pzdjex_corpid/usedinsum
nodetype: column
value: false
createdate: 2021.11.21 22:21:31.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a54f8993208680e522d64.619a55c7993208680e522ea7


id: 619a59ed993208680e522edd
pid: 619a59ed993208680e522edc
name: coltype
code: 619a59ed993208680e522edd
namepath: /dzpz_pz/is_verified
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619a59ed993208680e522edc
fullname: /dzpz_pz/is_verified/coltype
nodetype: column
value: int
createdate: 2021.11.21 22:38:38.000
lastmodifieddate: 2023.08.03 11:30:34.990
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619a59ed993208680e522edc.619a59ed993208680e522edd


id: 619b10ef993208680e523518
pid: 619b10ef993208680e523517
name: coltype
code: 619b10ef993208680e523518
namepath: /dzpz_pz/ckzcmxdm
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e523517
fullname: /dzpz_pz/ckzcmxdm/coltype
nodetype: column
value: varchar
createdate: 2021.11.22 11:39:28.000
lastmodifieddate: 2023.08.03 11:30:34.991
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e523517.619b10ef993208680e523518


id: 619b10ef993208680e523519
pid: 619b10ef993208680e523517
name: colsize
code: 619b10ef993208680e523519
namepath: /dzpz_pz/ckzcmxdm
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e523517
fullname: /dzpz_pz/ckzcmxdm/colsize
nodetype: column
value: 50
createdate: 2021.11.22 11:39:28.000
lastmodifieddate: 2023.08.03 11:30:34.991
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e523517.619b10ef993208680e523519


id: 619b10ef993208680e52351c
pid: 619b10ef993208680e52351b
name: coltype
code: 619b10ef993208680e52351c
namepath: /dzpz_pz/ckzcmxmc
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e52351b
fullname: /dzpz_pz/ckzcmxmc/coltype
nodetype: column
value: varchar
createdate: 2021.11.22 11:39:28.000
lastmodifieddate: 2023.08.03 11:30:34.991
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e52351b.619b10ef993208680e52351c


id: 619b10ef993208680e52351d
pid: 619b10ef993208680e52351b
name: colsize
code: 619b10ef993208680e52351d
namepath: /dzpz_pz/ckzcmxmc
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e52351b
fullname: /dzpz_pz/ckzcmxmc/colsize
nodetype: column
value: 100
createdate: 2021.11.22 11:39:28.000
lastmodifieddate: 2023.08.03 11:30:34.991
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e52351b.619b10ef993208680e52351d


id: 619b10ef993208680e523520
pid: 619b10ef993208680e52351f
name: coltype
code: 619b10ef993208680e523520
namepath: /dzpz_pz/ykzcmxdm
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e52351f
fullname: /dzpz_pz/ykzcmxdm/coltype
nodetype: column
value: varchar
createdate: 2021.11.22 11:39:28.000
lastmodifieddate: 2023.08.03 11:30:34.991
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e52351f.619b10ef993208680e523520


id: 619b10ef993208680e523521
pid: 619b10ef993208680e52351f
name: colsize
code: 619b10ef993208680e523521
namepath: /dzpz_pz/ykzcmxdm
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e52351f
fullname: /dzpz_pz/ykzcmxdm/colsize
nodetype: column
value: 50
createdate: 2021.11.22 11:39:28.000
lastmodifieddate: 2023.08.03 11:30:34.991
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e52351f.619b10ef993208680e523521


id: 619b10ef993208680e523524
pid: 619b10ef993208680e523523
name: coltype
code: 619b10ef993208680e523524
namepath: /dzpz_pz/ykzcmxmc
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e523523
fullname: /dzpz_pz/ykzcmxmc/coltype
nodetype: column
value: varchar
createdate: 2021.11.22 11:39:28.000
lastmodifieddate: 2023.08.03 11:30:34.991
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e523523.619b10ef993208680e523524


id: 619b10ef993208680e523525
pid: 619b10ef993208680e523523
name: colsize
code: 619b10ef993208680e523525
namepath: /dzpz_pz/ykzcmxmc
codepath: 60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e523523
fullname: /dzpz_pz/ykzcmxmc/colsize
nodetype: column
value: 100
createdate: 2021.11.22 11:39:28.000
lastmodifieddate: 2023.08.03 11:30:34.991
fullcode:
60c560a05db2e8eff0d867a82021110407504420211121221444.619b10ef993208680e523523.619b10ef993208680e523525


# app_script_history

id: 609d45045db2b0a331d6bda8
scriptid: 609d3f3f5db2b0a331d6bced
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.13 23:27:55.000
script:
function main(arg)
{

    println(  JSON.parse(art).message);
    
    var userid= currentUserId();
    println(userid);
    return 1;
}


id: 609d4cb95db2b0a331d6bf6f
scriptid: 609d4b105db2b0a331d6bf04
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.13 23:58:50.000
script:
function main(arg)
{
    var ds=newDataStor("", "select * from dzpz_imgpool ");
    ds.setUpdateProperty("dzpz_imgpool","id","*","id");
    ds.retrieve(" userid='"+currentUserId()+"'");
    if( ds.getRowCount()==1) return ds.getString(0,"id");
    ds.insertRow(0);
    var newid= newGUID();
    ds.setValue(0,"id",newid);
    ds.setValue(0,"gguid",newid);
    ds.setValue(0,"billno",newid);
    ds.setValue(0,"billdate",newDate());
    ds.setValue(0,"billtype",'');
    ds.setValue(0,"userid", currentUserId());
    ds.setValue(0,"username",currentUserShowName());
    ds.setValue(0,"deleteflag",0);
    ds.setValue(0,"id",newid);
    ds.setValue(0,"id",newid);
    ds.setValue(0,"id",newid);
    if( ds.update(true)) return newid;
    println( ds.getError().getMessage());
    return "error";
    


}


id: 609d4cb95db2b0a331d6bf79
scriptid: 609d4b105db2b0a331d6bf04
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.13 23:59:28.000
script:
//为每个操作员创建一个待归档图片单据 ， 所有单据都先上传到这个单据中做附件
function main(arg)
{
    var ds=newDataStor("", "select * from dzpz_imgpool ");
    ds.setUpdateProperty("dzpz_imgpool","id","*","id");
    ds.retrieve(" userid='"+currentUserId()+"'");
    if( ds.getRowCount()==1) return ds.getString(0,"id");
    ds.insertRow(0);
    var newid= newGUID();
    ds.setValue(0,"id",newid);
    ds.setValue(0,"gguid",newid);
    ds.setValue(0,"billno",newid);
    ds.setValue(0,"billdate",newDate());
    ds.setValue(0,"billtype",'');
    ds.setValue(0,"userid", currentUserId());
    ds.setValue(0,"username",currentUserShowName());
    ds.setValue(0,"deleteflag",0);
    ds.setValue(0,"id",newid);
    ds.setValue(0,"id",newid);
    ds.setValue(0,"id",newid);
    if( ds.update(true)) return newid;
    println( ds.getError().getMessage());
    return "error";
    


}


id: 609dd2d85db2b0a331d6c034
scriptid: 609d4b105db2b0a331d6bf04
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.14 09:31:04.000
script:
//为每个操作员创建一个待归档图片单据 ， 所有单据都先上传到这个单据中做附件
function main(arg) {
    var gguid = '';
    var ds = newDataStor("", "select * from dzpz_imgpool ");
    ds.setUpdateProperty("dzpz_imgpool", "id", "*", "id");
    ds.retrieve(" userid='" + currentUserId() + "'");
    if (ds.getRowCount() == 1) {
        gguid = ds.getString(0, "gguid");
    } else {

        ds.insertRow(0);
        gguid = newGUID();
        ds.setValue(0, "id", gguid);
        ds.setValue(0, "gguid", gguid);
        ds.setValue(0, "billno", gguid);
        ds.setValue(0, "billdate", newDate());
        ds.setValue(0, "billtype", '');
        ds.setValue(0, "userid", currentUserId());
        ds.setValue(0, "username", currentUserShowName());
        ds.setValue(0, "deleteflag", 0);

        if (ds.update(true)) {
            error = ds.getError().getMessage();
            println(error);
            return { success: false, message: error };
        }
    }

    //提供图片上传的必要的参数
    var config = { "serverIndex": "1", 
                    "dbpool": "default", 
                    "logTable": "dzpz_imgpool_fileupload", 
                    "blockSize": 128, "imgMaxSize": 1920, 
                    "groupName": "附件",
                     "tableName": "dzpz_imgpool", 
                     "gguid": gguid, 
                     "path": "dzpz_imgpool", 
                     "maxThumbnailSize": 256 
             }

    println(JSON.stringify(config));
    return config; 


}


id: 609deddb5db2696039463c7f
scriptid: 609d4b105db2b0a331d6bf04
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.14 11:47:00.000
script:
//为每个操作员创建一个待归档图片单据 ， 所有单据都先上传到这个单据中做附件
function main(arg) {
    var gguid = '';
    var ds = newDataStor("", "select * from dzpz_imgpool ");
    ds.setUpdateProperty("dzpz_imgpool", "id", "*", "id");
    ds.retrieve(" userid='" + currentUserId() + "'");
    println( ds.getSelectLastRetrieved());
    if (ds.getRowCount() == 1) {
        gguid = ds.getString(0, "gguid");
    } else {

        ds.insertRow(0);
        gguid = newGUID();
        ds.setValue(0, "id", gguid);
        ds.setValue(0, "gguid", gguid);
        ds.setValue(0, "billno", gguid);
        ds.setValue(0, "billdate", newDate());
        ds.setValue(0, "billtype", '');
        ds.setValue(0, "userid", currentUserId());
        ds.setValue(0, "username", currentUserShowName());
        ds.setValue(0, "deleteflag", 0);

        if (ds.update(true)) {
            error = ds.getError().getMessage();
            println(error);
            return { success: false, message: error };
        }
    }

    //提供图片上传的必要的参数
    var config = { "serverIndex": "1", 
                    "dbpool": "default", 
                    "logTable": "dzpz_imgpool_fileupload", 
                    "blockSize": 128, "imgMaxSize": 1920, 
                    "groupName": "附件",
                     "tableName": "dzpz_imgpool", 
                     "gguid": gguid, 
                     "path": "dzpz_imgpool", 
                     "maxThumbnailSize": 256 
             }

    println(JSON.stringify(config));
    return config; 


}


id: 609deddb5db2696039463c93
scriptid: 609d4b105db2b0a331d6bf04
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.14 11:48:41.000
script:
//为每个操作员创建一个待归档图片单据 ， 所有单据都先上传到这个单据中做附件
function main(arg) {
    var gguid = '';
    var ds = newDataStore("", "select * from dzpz_imgpool ");
    ds.setUpdateProperty("dzpz_imgpool", "id", "*", "id");
    ds.retrieve(" userid='" + currentUserId() + "'");
    println( ds.getSelectLastRetrieved());
    if (ds.getRowCount() == 1) {
        gguid = ds.getString(0, "gguid");
    } else {

        ds.insertRow(0);
        gguid = newGUID();
        ds.setValue(0, "id", gguid);
        ds.setValue(0, "gguid", gguid);
        ds.setValue(0, "billno", gguid);
        ds.setValue(0, "billdate", newDate());
        ds.setValue(0, "billtype", '');
        ds.setValue(0, "userid", currentUserId());
        ds.setValue(0, "username", currentUserShowName());
        ds.setValue(0, "deleteflag", 0);

        if (ds.update(true)) {
            error = ds.getError().getMessage();
            println(error);
            return { success: false, message: error };
        }
    }

    //提供图片上传的必要的参数
    var config = { "serverIndex": "1", 
                    "dbpool": "default", 
                    "logTable": "dzpz_imgpool_fileupload", 
                    "blockSize": 128, "imgMaxSize": 1920, 
                    "groupName": "附件",
                     "tableName": "dzpz_imgpool", 
                     "gguid": gguid, 
                     "path": "dzpz_imgpool", 
                     "maxThumbnailSize": 256 
             }

    println(JSON.stringify(config));
    return config; 


}


id: 609deddb5db2696039463c9b
scriptid: 609d4b105db2b0a331d6bf04
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.14 13:09:41.000
script:
//为每个操作员创建一个待归档图片单据 ， 所有单据都先上传到这个单据中做附件
function main(arg) {
    var gguid = '';
    var ds = newDataStore("", "select * from dzpz_imgpool ");
    ds.setUpdateProperty("dzpz_imgpool", "id", "*", "id");
    ds.retrieve(" userid='" + currentUserId() + "'");
    println( ds.getSelectLastRetrieved());
    if (ds.getRowCount() == 1) {
        gguid = ds.getString(0, "gguid");
    } else {

        ds.insertRow(0);
        gguid = newGUID();
        ds.setValue(0, "id", gguid);
        ds.setValue(0, "gguid", gguid);
        ds.setValue(0, "billno", gguid);
        ds.setValue(0, "billdate", newDate());
        ds.setValue(0, "billtype", '');
        ds.setValue(0, "userid", currentUserId());
        ds.setValue(0, "username", currentUserShowName());
        ds.setValue(0, "deleteflag", 0);

        if (ds.update(true)) {
            error = ds.getError().getMessage();
            println(error);
            return { success: false, message: error };
        }
    }

    //提供图片上传的必要的参数
    var config = { "serverIndex": "1", 
                    "dbpool": "default", 
                    "logTable": "dzpz_imgpool_fileupload", 
                    "blockSize": 128, "imgMaxSize": 1920, 
                    "groupName": "附件",
                     "tableName": "dzpz_imgpool", 
                     "gguid": gguid, 
                     "path": "dzpz_imgpool", 
                     "maxThumbnailSize": 256 ,
                     "responseType":"JSON"  //表示上传成功捂返回 JSON格式的结果
             }

    println(JSON.stringify(config));
    return config; 


}


id: 609e79b45db2696039463d28
scriptid: 609deddb5db2696039463ca0
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.14 21:45:33.000
script:
function main(arg)
{
    var p=JSON.parse(arg);
    println("user:"+currentUserShowName()+" file: " + p.file+"  result:" + p.result );
}


id: 60a3505f5db27838e0c0155f
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.18 13:34:31.000
script:
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user");
    return ret.gguid; 
    
}


id: 60a3505f5db27838e0c01565
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.18 13:36:30.000
script:
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return ret.gguid; 
    
}


id: 60a3505f5db27838e0c0156b
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.18 13:37:39.000
script:
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}


id: 60a3505f5db27838e0c0159e
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.18 16:22:20.000
script:
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}


function loadImagePoolData()
{
    var config= JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user",{}));
    var 
    var ds=newDataStore( config.dbpool ,"select * from "+ config.logTable+"  where  gguid='"+config.gguid+"'  order by info1 ") ; // info1 是客户端文件创建的时间，以它排序
    var n=ds.retrieve();
    var ret=[];
    for( var i=0;i<n;i++)
    {
        ret.push(  JSON.parse( ds.getJSONRow(i,true)));
    }

    return ret; 

}


id: 60a37a225db27838e0c015c9
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.18 16:27:20.000
script:
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}




function loadImagePoolData()
{
    var config= JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user",{}));
    var 
    var ds=newDataStore( config.dbpool ,"select * from "+ config.logTable+"  where  gguid='"+config.gguid+"'  order by info1 ") ; // info1 是客户端文件创建的时间，以它排序
    var n=ds.retrieve();
    var ret=[];
    for( var i=0;i<n;i++)
    {
        ret.push(  JSON.parse( ds.getJSONRow(i,true)));
    }

    return ret; 

}


id: 60a37a225db27838e0c015f1
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.18 16:42:33.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}


//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData()
{
    var config= JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user",{}));
    var 
    var ds=newDataStore( config.dbpool ,"select * from "+ config.logTable+"  where  gguid='"+config.gguid+"'  order by info1 ") ; // info1 是客户端文件创建的时间，以它排序
    var n=ds.retrieve();
    var ret=[];
    for( var i=0;i<n;i++)
    {
        ret.push(  JSON.parse( ds.getJSONRow(i,true)));
    }

    return ret; 

}


id: 60a37a225db27838e0c015ff
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.18 23:18:27.000
script:
function formOpen()
{


 
  $('.gridly1').gridly({
    base: 60, // px 
    gutter: 20, // px
    columns: 12
  });
 


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


id: 60a4de8b5db22f67e8f93e66
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.19 22:40:47.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}




//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData()
{
    var config= JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user",{}));
    var 
    var ds=newDataStore( config.dbpool ,"select * from "+ config.logTable+"  where  gguid='"+config.gguid+"'  order by info1 ") ; // info1 是客户端文件创建的时间，以它排序
    var n=ds.retrieve();
    var ret=[];
    for( var i=0;i<n;i++)
    {
        ret.push(  JSON.parse( ds.getJSONRow(i,true)));
    }

    return ret; 

}


id: 60a4de8b5db22f67e8f93e6e
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.19 22:43:04.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}




//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData()
{
    var config= JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user",{}));
    
    var ds=newDataStore( config.dbpool ,"select * from "+ config.logTable+"  where  gguid='"+config.gguid+"'  order by info1 ") ; // info1 是客户端文件创建的时间，以它排序
    var n=ds.retrieve();
    var ret=[];
    for( var i=0;i<n;i++)
    {
        ret.push(  JSON.parse( ds.getJSONRow(i,true)));
    }

    return ret; 

}


id: 60a4de8b5db22f67e8f93e76
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.19 22:45:09.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}





//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData()
{
    var config= JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user",{}));
var     
    var ds=newDataStore( config.dbpool ,"select * from "+ config.logTable+"  where  gguid='"+config.gguid+"'  order by info1 ") ; // info1 是客户端文件创建的时间，以它排序
    var n=ds.retrieve();
    var ret=[];
    for( var i=0;i<n;i++)
    {
        ret.push(  JSON.parse( ds.getJSONRow(i,true)));
    }

    return ret; 

}


id: 60a528405db2f6898f0c9c7d
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.19 23:11:12.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}





//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData()
{
    var config= JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user",{}));
     
    var ds=newDataStore( config.dbpool ,"select * from "+ config.logTable+"  where  gguid='"+config.gguid+"'  order by info1 ") ; // info1 是客户端文件创建的时间，以它排序
    var n=ds.retrieve();
    var ret=[];
    for( var i=0;i<n;i++)
    {
        ret.push(  JSON.parse( ds.getJSONRow(i,true)));
    }

    return ret; 

}


id: 60a67c6b5db22d6e34006eb9
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.20 23:26:35.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


id: 60a67c6b5db22d6e34006ec3
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 10:36:12.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    console.dir(data);
}


id: 60a67c6b5db22d6e34006ecc
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 10:43:15.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    //console.dir(data);
    var url= data.url_img; 
    book.sheet0.cells("imgPreview").setValue(url);
}


id: 60a67c6b5db22d6e34006ed5
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 11:01:14.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    //console.dir(data);
    var url= data.url_img; 
    book.sheet0.cells("imgPreview").setValue(url);
}
 

/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet , name, data ) {
    $prompt("请输入凭证号码：","", function(){
            
    });
}


id: 60a722b95db22d6e34006edb
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 11:02:18.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    //console.dir(data);
    var url= data.url_img; 
    book.sheet0.cells("imgPreview").setValue(url);
}
 

/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet , name, data ) {
    $prompt("标记为凭证","请输入凭证号码：","", function(){

    });
}


id: 60a722b95db22d6e34006ee1
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 11:02:47.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    //console.dir(data);
    var url= data.url_img; 
    book.sheet0.cells("imgPreview").setValue(url);
}
 

/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet , name, data ) {
    $prompt("标记为凭证","请输入凭证号码：","", function(val){
        alert( val);

    });
}


id: 60a722b95db22d6e34006ee7
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 11:04:56.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    //console.dir(data);
    var url= data.url_img; 
    book.sheet0.cells("imgPreview").setValue(url);
}
 

/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet , name, data ) {
    $prompt("标记为凭证","","","输入凭证号码", function(val){
        alert( val);

    });
}


id: 60a722b95db22d6e34006eed
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 11:13:28.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    //console.dir(data);
    var url= data.url_img; 
    book.sheet0.cells("imgPreview").setValue(url);
}
 

/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet , name, data ) {
    inputBox("标记为凭证","","","输入凭证号码", function(val){
        alert( val);

    });
}


id: 60a722b95db22d6e34006ef6
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 12:19:49.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    //console.dir(data);
    var url= data.url_img; 
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet , name, data ) {
    
    book.sheet0.cells("imgPreview").setValue("");
}
 

/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet , name, data ) {
    inputBox("标记为凭证","","","输入凭证号码", function(val){
        alert( val);

    } , true /*允许为空*/);
}


id: 60a722b95db22d6e34006f00
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:09:40.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 
 $(document.body).append(`<style
      .pzh {position:absolute;left:0;bottom:0px; height:24px; line-height:24px;width:100%; background-color:#40af40a0; color:white;font-weight:bold;font-size:16px;text-align:center;}
 </style>
 `);


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    //console.dir(data);
    var url= data.url_img; 
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet , name, data ) {
    
    book.sheet0.cells("imgPreview").setValue("");
}
 

/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet , name, data ) {
    inputBox("标记为凭证","","","输入凭证号码", function(val){
        if( val=='')
        {
            var p= find_pzh(data.id , false );
            if( p)  p.remove();    
        }else{
            find_pzh(dta.id,true).text( val); 
        }

    } , true /*允许为空*/);
}


function find_pzh( id , create_if_not_exists)
{
    var d= $('#'+id);
    if( !d)
    {
        $.alert(id+"不存在");
        return null; 
    }  

    var ret= d.find('.pzh');
    if( ret==null)
    {
        if( create_if_not_exists)
        {
            d.append(`<div class="pzh" ></div>`);
        }
        ret=d.find('.pzh');
    }
    return ret; 

}


id: 60a722b95db22d6e34006f06
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:10:36.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 
 $(document.body).append(`<style
      .pzh {position:absolute;left:0;bottom:0px; height:24px; line-height:24px;width:100%; background-color:#40af40a0; color:white;font-weight:bold;font-size:16px;text-align:center;}
 </style>
 `);


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    //console.dir(data);
    var url= data.url_img; 
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet , name, data ) {
    
    book.sheet0.cells("imgPreview").setValue("");
}
 

/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet , name, data ) {
    inputBox("标记为凭证","","","输入凭证号码", function(val){
        if( val=='')
        {
            var p= find_pzh(data.id , false );
            if( p)  p.remove();    
        }else{
            find_pzh(dta.id,true).text( val); 
        }

    } , true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh( id , create_if_not_exists)
{
    var d= $('#'+id);
    if( !d)
    {
        $.alert(id+"不存在");
        return null; 
    }  

    var ret= d.find('.pzh');
    if( ret==null)
    {
        if( create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ></div>`);
        }
        ret=d.find('.pzh');
    }
    return ret; 

}


id: 60a722b95db22d6e34006f0c
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:11:15.000
script:
function formOpen()
{
    book.sheet1.getBrick('imgPool').selectionMode='multi'; //图片设置成多选模式
 
 $(document.body).append(`<style
      .pzh {position:absolute;left:0;bottom:0px; height:24px; line-height:24px;width:100%; background-color:#40af40a0; color:white;font-weight:bold;font-size:16px;text-align:center;}
 </style>
 `);


  //  let data= loadImagePoolData();
  //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet , name, data ) {
    //console.dir(data);
    var url= data.url_img; 
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet , name, data ) {
    
    book.sheet0.cells("imgPreview").setValue("");
}
 

/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet , name, data ) {
    inputBox("标记为凭证","","","输入凭证号码", function(val){
        if( val=='')
        {
            var p= find_pzh(data.id , false );
            if( p)  p.remove();    
        }else{
            find_pzh(data.id,true).text( val); 
        }

    } , true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh( id , create_if_not_exists)
{
    var d= $('#'+id);
    if( !d)
    {
        $.alert(id+"不存在");
        return null; 
    }  

    var ret= d.find('.pzh');
    if( ret==null)
    {
        if( create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ></div>`);
        }
        ret=d.find('.pzh');
    }
    return ret; 

}


id: 60a722b95db22d6e34006f12
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:12:56.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    inputBox("标记为凭证", "", "", "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret == null) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a722b95db22d6e34006f18
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:17:53.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    inputBox("标记为凭证", "", "", "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a722b95db22d6e34006f1e
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:36:49.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh= find_pzh(data.id,false).val();

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a722b95db22d6e34006f24
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:37:16.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh= find_pzh(data.id,false).val();
    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a722b95db22d6e34006f2a
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:38:13.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh= find_pzh(data.id,false).text();
    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a722b95db22d6e34006f30
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:42:56.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .pzh .delete_pzh {float:right; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh= find_pzh(data.id,false).text();
    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class=".delete_pzh">X</div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a722b95db22d6e34006f36
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:45:30.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .pzh .delete_pzh {float:right; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no')text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class=".delete_pzh">X</div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a722b95db22d6e34006f3c
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:45:38.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .pzh .delete_pzh {float:right; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class=".delete_pzh">X</div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f42
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:46:01.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .pzh .delete_pzh { float:right; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class=".delete_pzh">X</div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f48
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:47:04.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .pzh .delete_pzh { position:absolute; right:0; width:40px; height:20px; top:0; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class=".delete_pzh">X</div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f4e
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:47:53.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:20px; top:0; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class=".delete_pzh">X</div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f54
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:48:22.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:20px; top:0; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh">X</div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f5a
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:49:04.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { float:right; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh">X</div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f60
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:49:43.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:20px; top:0; text-align:right; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh">X</div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f66
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:50:26.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:20px; top:0; text-align:right; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close"></i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f6c
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:51:32.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:20px; top:0; text-align:right; vertical-align:top; font-size:12px; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close"></i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f72
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:51:59.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; }        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close"></i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f78
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:52:23.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;}        
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close"></i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f7e
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:52:57.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close"></i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f84
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:53:31.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f8a
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:54:35.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}


id: 60a7c7a85db22d6e34006f90
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:55:02.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}


id: 60a7c7a85db22d6e34006f96
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:55:47.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');event.preventDefault();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}


id: 60a7c7a85db22d6e34006f9c
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:57:21.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}


id: 60a7cab45db22d6e34006fa2
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.21 22:59:00.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}


id: 60a7cab45db22d6e34006fa8
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 00:46:41.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectAll_onClick()
{
    book.sheet1.getBrick('imgPool').selectAll();
}


function cb_selectnull_onClick()
{
    book.sheet1.getBrick('imgPool').unSelectAll();
}


id: 60a7cab45db22d6e34006fae
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 00:49:58.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectall_onClick()
{
    book.sheet1.getBrick('imgPool').selectAll();
}


function cb_selectnull_onClick()
{
    book.sheet1.getBrick('imgPool').unSelectAll();
}


id: 60a867ecefb25942c0f22047
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 10:40:17.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    setTimeout( function(){
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
    },200);
    
    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectall_onClick()
{
    book.sheet1.getBrick('imgPool').selectAll();
}


function cb_selectnull_onClick()
{
    book.sheet1.getBrick('imgPool').unSelectAll();
}


id: 60a867ecefb25942c0f2204d
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 10:40:56.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout( function(){
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
    },200);

    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectall_onClick()
{
    book.sheet1.getBrick('imgPool').selectAll();
}


function cb_selectnull_onClick()
{
    book.sheet1.getBrick('imgPool').unSelectAll();
}


id: 60a867ecefb25942c0f22053
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 10:47:07.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout( function(){
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
    book.sheet1.getBrick("imgPool").setImageSelected( data.id , true); 
    },200);

    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
        } else {
            find_pzh(data.id, true).find('.no').text(val);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectall_onClick()
{
    book.sheet1.getBrick('imgPool').selectAll();
}


function cb_selectnull_onClick()
{
    book.sheet1.getBrick('imgPool').unSelectAll();
}


id: 60a867ecefb25942c0f22059
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 10:47:56.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout( function(){
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
   
    },200);

    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , false); 
        } else {
            find_pzh(data.id, true).find('.no').text(val);
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , true); 
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectall_onClick()
{
    book.sheet1.getBrick('imgPool').selectAll();
}


function cb_selectnull_onClick()
{
    book.sheet1.getBrick('imgPool').unSelectAll();
}


id: 60a867ecefb25942c0f2205f
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 10:52:17.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout( function(){
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
   
    },200);

    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , false); 
        } else {
            find_pzh(data.id, true).find('.no').text(val);
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , true); 
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectall_onClick()
{
    var imgPool=  book.sheet1.getBrick('imgPool');
    if( imgPool.getSelectedImageList().length==0)
    {
        imgPool.selectAll();
    }else{
        imgPool.unSelectAll();
    }
}


id: 60a867ecefb25942c0f22065
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 12:50:24.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    $('#blockSize').on('change', function()
    {
        let v= $('#blockSize').val();
        var imgPool=  book.sheet1.getBrick('imgPool');
        imgPool.blockSize= v; 
        imgPool.rebuildGridly();
    });

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout( function(){
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
   
    },200);

    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , false); 
        } else {
            find_pzh(data.id, true).find('.no').text(val);
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , true); 
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectall_onClick()
{
    var imgPool=  book.sheet1.getBrick('imgPool');
    if( imgPool.getSelectedImageList().length==0)
    {
        imgPool.selectAll();
    }else{
        imgPool.unSelectAll();
    }
}


id: 60a867ecefb25942c0f2206b
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 12:52:07.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    $('#blockSize').on('change', function()
    {
        let v= $('#blockSize').val();
        var imgPool=  book.sheet1.getBrick('imgPool');
        imgPool.config.blockSize= v; 
        imgPool.rebuildGridly();
    });

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout( function(){
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
   
    },200);

    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , false); 
        } else {
            find_pzh(data.id, true).find('.no').text(val);
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , true); 
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectall_onClick()
{
    var imgPool=  book.sheet1.getBrick('imgPool');
    if( imgPool.getSelectedImageList().length==0)
    {
        imgPool.selectAll();
    }else{
        imgPool.unSelectAll();
    }
}


id: 60a867ecefb25942c0f22071
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 12:56:56.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    $('#blockSize').on('change', function()
    {
        let v= $('#blockSize').val();
        var imgPool=  book.sheet1.getBrick('imgPool');
        imgPool.config.blockSize= parseInt(v); 
        imgPool.rebuildGridly();
    });

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout( function(){
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
   
    },200);

    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , false); 
        } else {
            find_pzh(data.id, true).find('.no').text(val);
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , true); 
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectall_onClick()
{
    var imgPool=  book.sheet1.getBrick('imgPool');
    if( imgPool.getSelectedImageList().length==0)
    {
        imgPool.selectAll();
    }else{
        imgPool.unSelectAll();
    }
}


id: 60a867ecefb25942c0f22077
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 12:59:00.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    $('#blockSize').on('input', function()
    {
        let v= $('#blockSize').val();
        var imgPool=  book.sheet1.getBrick('imgPool');
        imgPool.config.blockSize= parseInt(v); 
        imgPool.rebuildGridly();
    });

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout( function(){
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
   
    },200);

    var pzh='';
    try{

        pzh = find_pzh(data.id,false).find('.no').text();
    }catch(err)
    {

    }

    if( pzh==undefined) pzh='';

    inputBox("标记为凭证", "", pzh , "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , false); 
        } else {
            find_pzh(data.id, true).find('.no').text(val);
             book.sheet1.getBrick("imgPool").setImageSelected( data.id , true); 
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id)
{
     var p = find_pzh(id, false);
     if (p) p.remove();
}

function cb_selectall_onClick()
{
    var imgPool=  book.sheet1.getBrick('imgPool');
    if( imgPool.getSelectedImageList().length==0)
    {
        imgPool.selectAll();
    }else{
        imgPool.unSelectAll();
    }
}


id: 60a8932defb25942c0f22081
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 13:15:53.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    let blockSizeChangedTimeID = 0;
    $('#blockSize').on('input', function () {
        clearTimeout(blockSizeChangedTimeID);
        blockSizeChangedTimeID = setTimeout(function () {
            let v = $('#blockSize').val();
            var imgPool = book.sheet1.getBrick('imgPool');
            imgPool.config.blockSize = parseInt(v);
            imgPool.rebuildGridly();
        }, 200);
    });

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8932defb25942c0f22087
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 13:16:40.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    
    $('#blockSize').on('change', function () {
       
            let v = $('#blockSize').val();
            var imgPool = book.sheet1.getBrick('imgPool');
            imgPool.config.blockSize = parseInt(v);
            imgPool.rebuildGridly();
        
    });

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8932defb25942c0f2208d
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 13:25:18.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    
    $('#blockSize').on('input', function () {
       
            let v = $('#blockSize').val();
            var imgPool = book.sheet1.getBrick('imgPool');
            imgPool.config.blockSize = parseInt(v);
            imgPool.rebuildGridly();
        
    });

}


/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8932defb25942c0f22093
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 13:34:48.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    
    $('#blockSize').on('input',  resetImgPoolBlockSize);
     
}


function  resetImgPoolBlockSize()
{
            var imgPool = book.sheet1.getBrick('imgPool');

                // 先保存当前选中状态及设置的凭证号信息
            var selection=  imgPool.getSelectedImageList();
            var pzhMap={};
            var pzhs= imgPool.dom.find('.pzh');
            for( let i=0;i<pzhs.length; i++)
            {
                let id=$(pzhs[i]).parent().attr('id');
                let pzh=  $(pzhs[i]).find('.no').text()  ;
                pzhMap[id] = pzh; 

            }


            let v = $('#blockSize').val();

            imgPool.config.blockSize = parseInt(v);
            imgPool.rebuildGridly();
            //恢复选中状态
            for( let i=0;i<selection.length;i++)
            {
                imgPool.setImageSelected(selection[i].id , true);
            }
            //恢复凭证号
            for( let id in pzhMap)
            {
                var pzh= pzhMap[id];
                 find_pzh(id, true).find('.no').text(pzh);
            }


    
}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a280efb25942c0f2234c
scriptid: 609d4b105db2b0a331d6bf04
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:24:12.000
script:
//为每个操作员创建一个待归档图片单据 ， 所有单据都先上传到这个单据中做附件
function main(arg) {
    var gguid = '';
    var ds = newDataStore("", "select * from dzpz_imgpool ");
    ds.setUpdateProperty("dzpz_imgpool", "id", "*", "id");
    ds.retrieve(" userid='" + currentUserId() + "'");
    println( ds.getSelectLastRetrieved());
    if (ds.getRowCount() == 1) {
        gguid = ds.getString(0, "gguid");
    } else {

        ds.insertRow(0);
        gguid = newGUID();
        ds.setValue(0, "id", gguid);
        ds.setValue(0, "gguid", gguid);
        ds.setValue(0, "billno", gguid);
        ds.setValue(0, "billdate", newDate());
        ds.setValue(0, "billtype", '');
        ds.setValue(0, "userid", currentUserId());
        ds.setValue(0, "username", currentUserShowName());
        ds.setValue(0, "deleteflag", 0);
        ds.setValue(0, "blocksize", 128);
        

        if (ds.update(true)) {
            error = ds.getError().getMessage();
            println(error);
            return { success: false, message: error };
        }
    }

    var blockSize=  ds.getInt(0,"blocksize");
    if( blockSize==0) blockSize=128; 

    //提供图片上传的必要的参数
    var config = { "serverIndex": "1", 
                    "dbpool": "default", 
                    "logTable": "dzpz_imgpool_fileupload", 
                    "blockSize": blockSize, 
                    "imgMaxSize": 1920, 
                    "groupName": "附件",
                     "tableName": "dzpz_imgpool", 
                     "gguid": gguid, 
                     "path": "dzpz_imgpool", 
                     "maxThumbnailSize": 256 ,
                     "responseType":"JSON"  //表示上传成功捂返回 JSON格式的结果
             }

    println(JSON.stringify(config));
    return config; 


}


id: 60a8a280efb25942c0f22356
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:25:00.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}

function  getImagePoolBlockSize()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).blockSize; 
    
}



//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData()
{
    var config= JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user",{}));
     
    var ds=newDataStore( config.dbpool ,"select * from "+ config.logTable+"  where  gguid='"+config.gguid+"'  order by info1 ") ; // info1 是客户端文件创建的时间，以它排序
    var n=ds.retrieve();
    var ret=[];
    for( var i=0;i<n;i++)
    {
        ret.push(  JSON.parse( ds.getJSONRow(i,true)));
    }

    return ret; 

}


id: 60a8a280efb25942c0f22362
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:26:42.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    
    $('#blockSize').on('input',  resetImgPoolBlockSize);
}


function afterOpen()
{
    //调取缩略图大小
    let blockSize= getImagePoolBlockSize();
    if( blockSize!=128)
    {
        $('#blockSize').val(blockSize);
        resetImgPoolBlockSize();
    }
     
}



function  resetImgPoolBlockSize()
{
            var imgPool = book.sheet1.getBrick('imgPool');

                // 先保存当前选中状态及设置的凭证号信息
            var selection=  imgPool.getSelectedImageList();
            var pzhMap={};
            var pzhs= imgPool.dom.find('.pzh');
            for( let i=0;i<pzhs.length; i++)
            {
                let id=$(pzhs[i]).parent().attr('id');
                let pzh=  $(pzhs[i]).find('.no').text()  ;
                pzhMap[id] = pzh; 

            }


            let v = $('#blockSize').val();

            imgPool.config.blockSize = parseInt(v);
            imgPool.rebuildGridly();
            //恢复选中状态
            for( let i=0;i<selection.length;i++)
            {
                imgPool.setImageSelected(selection[i].id , true);
            }
            //恢复凭证号
            for( let id in pzhMap)
            {
                var pzh= pzhMap[id];
                 find_pzh(id, true).find('.no').text(pzh);
            }


    
}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a280efb25942c0f22368
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:28:09.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    
    $('#blockSize').on('input',  resetImgPoolBlockSize);
}


function afterOpen()
{
    //调取缩略图大小
    let blockSize= getImagePoolBlockSize();
    if( blockSize!=128)
    {
        $('#blockSize').val(blockSize);
        resetImgPoolBlockSize( false);
    }
     
}



function  resetImgPoolBlockSize( needSaveSetting)
{
            var imgPool = book.sheet1.getBrick('imgPool');

                // 先保存当前选中状态及设置的凭证号信息
            var selection=  imgPool.getSelectedImageList();
            var pzhMap={};
            var pzhs= imgPool.dom.find('.pzh');
            for( let i=0;i<pzhs.length; i++)
            {
                let id=$(pzhs[i]).parent().attr('id');
                let pzh=  $(pzhs[i]).find('.no').text()  ;
                pzhMap[id] = pzh; 

            }


            let v = $('#blockSize').val();

            imgPool.config.blockSize = parseInt(v);
            imgPool.rebuildGridly();
            //恢复选中状态
            for( let i=0;i<selection.length;i++)
            {
                imgPool.setImageSelected(selection[i].id , true);
            }
            //恢复凭证号
            for( let id in pzhMap)
            {
                var pzh= pzhMap[id];
                 find_pzh(id, true).find('.no').text(pzh);
            }

            if( needSaveSetting )
            {
                setImagePoolBlockSize(v);
            }


    
}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a280efb25942c0f2236e
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:28:40.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    
    $('#blockSize').on('input',  resetImgPoolBlockSize);
}


function afterOpen()
{
    //调取缩略图大小
    let blockSize= getImagePoolBlockSize();
    if( blockSize!=128)
    {
        $('#blockSize').val(blockSize);
        resetImgPoolBlockSize( false);
    }
     
}



function  resetImgPoolBlockSize( needSaveSetting)
{
            var imgPool = book.sheet1.getBrick('imgPool');

                // 先保存当前选中状态及设置的凭证号信息
            var selection=  imgPool.getSelectedImageList();
            var pzhMap={};
            var pzhs= imgPool.dom.find('.pzh');
            for( let i=0;i<pzhs.length; i++)
            {
                let id=$(pzhs[i]).parent().attr('id');
                let pzh=  $(pzhs[i]).find('.no').text()  ;
                pzhMap[id] = pzh; 

            }


            let v = $('#blockSize').val();

            imgPool.config.blockSize = parseInt(v);
            imgPool.rebuildGridly();
            //恢复选中状态
            for( let i=0;i<selection.length;i++)
            {
                imgPool.setImageSelected(selection[i].id , true);
            }
            //恢复凭证号
            for( let id in pzhMap)
            {
                var pzh= pzhMap[id];
                 find_pzh(id, true).find('.no').text(pzh);
            }

            if( needSaveSetting )
            {
                setImagePoolBlockSize( imgPool.config.gguid, v);
            }


    
}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a280efb25942c0f22376
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:29:30.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}

function  getImagePoolBlockSize()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).blockSize; 
    
}


function setImagePoolBlockSize(id, blockSize)
{
    runSQL(""," update  dzpz_imgpool set blocksize="+blockSize+" where gguid='"+ id+"'  ");
}


//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData()
{
    var config= JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user",{}));
     
    var ds=newDataStore( config.dbpool ,"select * from "+ config.logTable+"  where  gguid='"+config.gguid+"'  order by info1 ") ; // info1 是客户端文件创建的时间，以它排序
    var n=ds.retrieve();
    var ret=[];
    for( var i=0;i<n;i++)
    {
        ret.push(  JSON.parse( ds.getJSONRow(i,true)));
    }

    return ret; 

}


id: 60a8a280efb25942c0f2237e
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:29:53.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function  getImagePoolGGUID()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).gguid; 
    
}

function  getImagePoolBlockSize()
{
    var ret= runTask("get_dzpz_imgpool_id_of_current_user",{});
    return JSON.parse(ret).blockSize; 
    
}


//@comment (group=,caption=保存当前的缩略图大小,needRightControl=false)
function setImagePoolBlockSize(id, blockSize)
{
    runSQL(""," update  dzpz_imgpool set blocksize="+blockSize+" where gguid='"+ id+"'  ");
}


//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData()
{
    var config= JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user",{}));
     
    var ds=newDataStore( config.dbpool ,"select * from "+ config.logTable+"  where  gguid='"+config.gguid+"'  order by info1 ") ; // info1 是客户端文件创建的时间，以它排序
    var n=ds.retrieve();
    var ret=[];
    for( var i=0;i<n;i++)
    {
        ret.push(  JSON.parse( ds.getJSONRow(i,true)));
    }

    return ret; 

}


id: 60a8a280efb25942c0f22384
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:30:31.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);

    
    $('#blockSize').on('input',  resetImgPoolBlockSize);
}


function afterOpen()
{
    //调取缩略图大小
    let blockSize= getImagePoolBlockSize();
    if( blockSize!=128)
    {
        $('#blockSize').val(blockSize);
        resetImgPoolBlockSize( false);
    }
     
}



function  resetImgPoolBlockSize( needSaveSetting)
{
        if( needSaveSetting==null) needSaveSetting=true; 
            var imgPool = book.sheet1.getBrick('imgPool');

                // 先保存当前选中状态及设置的凭证号信息
            var selection=  imgPool.getSelectedImageList();
            var pzhMap={};
            var pzhs= imgPool.dom.find('.pzh');
            for( let i=0;i<pzhs.length; i++)
            {
                let id=$(pzhs[i]).parent().attr('id');
                let pzh=  $(pzhs[i]).find('.no').text()  ;
                pzhMap[id] = pzh; 

            }


            let v = $('#blockSize').val();

            imgPool.config.blockSize = parseInt(v);
            imgPool.rebuildGridly();
            //恢复选中状态
            for( let i=0;i<selection.length;i++)
            {
                imgPool.setImageSelected(selection[i].id , true);
            }
            //恢复凭证号
            for( let id in pzhMap)
            {
                var pzh= pzhMap[id];
                 find_pzh(id, true).find('.no').text(pzh);
            }

            if( needSaveSetting )
            {
                setImagePoolBlockSize( imgPool.config.gguid, v);
            }


    
}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a280efb25942c0f2238a
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:30:46.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
}


function afterOpen() {
    //调取缩略图大小
    let blockSize = getImagePoolBlockSize();
    if (blockSize != 128) {
        $('#blockSize').val(blockSize);
        resetImgPoolBlockSize(false);
    }

}



function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setImagePoolBlockSize(imgPool.config.gguid, v);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a280efb25942c0f22390
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:33:03.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
}


function afterOpen() {
    //调取缩略图大小
    let blockSize = getImagePoolBlockSize();
    if (blockSize != 128) {
        $('#blockSize').val(blockSize);
        resetImgPoolBlockSize(false);
    }

}



function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a280efb25942c0f22396
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:33:23.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
}


function afterOpen() {
    //调取缩略图大小
    let blockSize = getImagePoolBlockSize();
    if (blockSize != 128) {
        $('#blockSize').val(blockSize);
        resetImgPoolBlockSize(false);
    }

}



function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout( function()
        {
        setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        },1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a653efb25942c0f2239c
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:36:04.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    setTimeout(function () {
        //调取缩略图大小
        let blockSize = getImagePoolBlockSize();
        if (blockSize != 128) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    }, 2000);

}



function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a653efb25942c0f223a2
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:36:40.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    setTimeout(function () {
        //调取缩略图大小
        let blockSize = getImagePoolBlockSize();
        if (blockSize != 128) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    }, 1000);

}



function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a653efb25942c0f223a8
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 14:44:25.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    setTimeout(function () {
        //调取缩略图大小
        return; 
        let blockSize = getImagePoolBlockSize();
        if (blockSize != 128) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    }, 1000);

}



function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a653efb25942c0f223b4
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 15:00:01.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    setTimeout(function () {
        //调取缩略图大小
       
        let blockSize = getImagePoolBlockSize();
        if (blockSize != 128) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    }, 1000);

}



function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a653efb25942c0f223bf
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 15:04:29.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    

}

/**
 * 图片控件初始化完成
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片控件初始化完成)
function imageGridlyInited(sheet , name, data ) {
  //调取缩略图大小
       
        let blockSize = getImagePoolBlockSize();
        if (blockSize != 128) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
}


function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a653efb25942c0f223c5
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 15:05:34.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    

}

/**
 * 图片控件初始化完成
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片控件初始化完成)
function imageGridlyInited(sheet , name, data ) {
  //调取缩略图大小
       var imgPool = book.sheet1.getBrick('imgPool');

        let blockSize = getImagePoolBlockSize();
        if (blockSize != imgPool.config.blockSize) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
}


function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a8a653efb25942c0f223cb
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 15:07:19.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    
    setTimeout( function()
    {
        //调取缩略图大小
       var imgPool = book.sheet1.getBrick('imgPool');

        let blockSize = getImagePoolBlockSize();
        if (blockSize != imgPool.config.blockSize) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    },1000);

}

 

function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


id: 60a903715db21e3d0fbaadd1
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 21:20:36.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    
    setTimeout( function()
    {
        //调取缩略图大小
       var imgPool = book.sheet1.getBrick('imgPool');

        let blockSize = getImagePoolBlockSize();
        if (blockSize != imgPool.config.blockSize) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    },1000);

}

 

function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


function cb_path_onClick()
{
    if( window.electron==null)
    {
        toastr.error("此功能仅能在客户端APP中执行");
        return;
    }

    electron.ipcSendMessage(JSON.stringify({actipn:"selectClientPathToMonite"}));
}


id: 60a903715db21e3d0fbaadd7
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 21:35:21.000
script:
function formOpen() {
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    
    setTimeout( function()
    {
        //调取缩略图大小
       var imgPool = book.sheet1.getBrick('imgPool');

        let blockSize = getImagePoolBlockSize();
        if (blockSize != imgPool.config.blockSize) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    },1000);

}

 

function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


function cb_path_onClick()
{
    if( window.electron==null)
    {
        toastr.error("此功能仅能在客户端APP中执行");
        return;
    }

    var path=electron.showOpenDialogSync(''); 
    alert( path);
}


id: 60a903715db21e3d0fbaadde
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 21:43:42.000
script:
function formOpen() {
    book.showTabOnWhere="none";
    
    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    
    setTimeout( function()
    {
        //调取缩略图大小
       var imgPool = book.sheet1.getBrick('imgPool');

        let blockSize = getImagePoolBlockSize();
        if (blockSize != imgPool.config.blockSize) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    },1000);

}

 

function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


function cb_path_onClick()
{
    if( window.electron==null)
    {
        toastr.error("此功能仅能在客户端APP中执行");
        return;
    }

    var path=electron.showOpenDialogSync(''); 
    alert( path);
}


id: 60a903715db21e3d0fbaade4
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 21:48:45.000
script:
function formOpen() {
    book.showTabOnWhere="none";

    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);
    
    setTimeout( function()
    {
        //调取缩略图大小
       var imgPool = book.sheet1.getBrick('imgPool');

        let blockSize = getImagePoolBlockSize();
        if (blockSize != imgPool.config.blockSize) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    },1000);

}

 

function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


function cb_path_onClick()
{
    if( window.electron==null)
    {
        toastr.error("此功能仅能在客户端APP中执行");
        return;
    }

    var path=electron.showOpenDialogSync(''); 
    if( path=='') return; 
    var hostName=  electron.getHostName();
    setMonitePath( hostName, path);
    

}


id: 60a90cf15db21e3d0fbaae04
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 21:53:54.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function getImagePoolGGUID() {
    var ret = runTask("get_dzpz_imgpool_id_of_current_user", {});
    return JSON.parse(ret).gguid;

}

function getImagePoolBlockSize() {
    var ret = runTask("get_dzpz_imgpool_id_of_current_user", {});
    return JSON.parse(ret).blockSize;

}


//@comment (group=,caption=保存当前的缩略图大小,needRightControl=false)
function setImagePoolBlockSize(id, blockSize) {
    runSQL("", " update  dzpz_imgpool set blocksize=" + blockSize + " where gguid='" + id + "'  ");
}


//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData() {
    var config = JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user", {}));

    var ds = newDataStore(config.dbpool, "select * from " + config.logTable + "  where  gguid='" + config.gguid + "'  order by info1 "); // info1 是客户端文件创建的时间，以它排序
    var n = ds.retrieve();
    var ret = [];
    for (var i = 0; i < n; i++) {
        ret.push(JSON.parse(ds.getJSONRow(i, true)));
    }

    return ret;

}


function setMonitePath(hostName, path) {
    var ds = newDataStore("", "select * from dzpz_client");
    ds.retrieve(" hostname='" + hostName + "'");
    if (ds.getRowCount() == 0) {
        var newid = newGUID();
        ds.insertRow(0);
        ds.setValue(0, "id", newid);
        ds.setValue(0, "gguid", newid);
        ds.setValue(0, "billno", newid);
        ds.setValue(0, "userid", 1);
        ds.setValue(0, "username", '管理员');
        ds.setValue(0, "billtype", '');
        ds.setValue(0, "hostname", hostName);
    }
    ds.setValue(0, "path", path);
    ds.update(true);


}


id: 60a90cf15db21e3d0fbaae0c
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 21:54:53.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function getImagePoolGGUID() {
    var ret = runTask("get_dzpz_imgpool_id_of_current_user", {});
    return JSON.parse(ret).gguid;

}

function getImagePoolBlockSize() {
    var ret = runTask("get_dzpz_imgpool_id_of_current_user", {});
    return JSON.parse(ret).blockSize;

}


//@comment (group=,caption=保存当前的缩略图大小,needRightControl=false)
function setImagePoolBlockSize(id, blockSize) {
    runSQL("", " update  dzpz_imgpool set blocksize=" + blockSize + " where gguid='" + id + "'  ");
}


//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData() {
    var config = JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user", {}));

    var ds = newDataStore(config.dbpool, "select * from " + config.logTable + "  where  gguid='" + config.gguid + "'  order by info1 "); // info1 是客户端文件创建的时间，以它排序
    var n = ds.retrieve();
    var ret = [];
    for (var i = 0; i < n; i++) {
        ret.push(JSON.parse(ds.getJSONRow(i, true)));
    }

    return ret;

}


function setMonitePath(hostName, path) {
    var ds = newDataStore("", "select * from dzpz_client");
    ds.retrieve(" hostname='" + hostName + "'");
    if (ds.getRowCount() == 0) {
        var newid = newGUID();
        ds.insertRow(0);
        ds.setValue(0, "id", newid);
        ds.setValue(0, "gguid", newid);
        ds.setValue(0, "billno", newid);
        ds.setValue(0, "userid", 1);
        ds.setValue(0, "username", '管理员');
        ds.setValue(0, "billtype", '');
        ds.setValue(0, "hostname", hostName);
    }
    ds.setValue(0, "path", path);
    ds.update(true);


}

function  getMonitePath(hostName)
{
    return   getStringFromSQL("select path from dzpz_client where  hostname='" + hostName + "'");
}


id: 60a90cf15db21e3d0fbaae12
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 21:57:43.000
script:
var pathToMonit = "";

function formOpen() {
    book.showTabOnWhere = "none";

    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);

    setTimeout(function () {
        //调取缩略图大小
        var imgPool = book.sheet1.getBrick('imgPool');

        let blockSize = getImagePoolBlockSize();
        if (blockSize != imgPool.config.blockSize) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    }, 1000);

//调取图片目录
    if (window.electron != null) {
        var hostName = electron.getHostName();
        pathToMonit = getMonitePath(hostName);
        book.sheet0.cells('stateBar').setValue("图片目录 " + pathToMonit);
    }

}



function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


function cb_path_onClick() {
    if (window.electron == null) {
        toastr.error("此功能仅能在客户端APP中执行");
        return;
    }

    var path = electron.showOpenDialogSync('');
    if (path == '') return;
    var hostName = electron.getHostName();
    setMonitePath(hostName, path);


}


id: 60a90cf15db21e3d0fbaae18
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 21:57:52.000
script:
var pathToMonit = "";

function formOpen() {
    book.showTabOnWhere = "none";

    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);

    setTimeout(function () {
        //调取缩略图大小
        var imgPool = book.sheet1.getBrick('imgPool');

        let blockSize = getImagePoolBlockSize();
        if (blockSize != imgPool.config.blockSize) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    }, 1000);

    //调取图片目录
    if (window.electron != null) {
        var hostName = electron.getHostName();
        pathToMonit = getMonitePath(hostName);
        book.sheet0.cells('stateBar').setValue("图片目录 " + pathToMonit);
    }

}



function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


function cb_path_onClick() {
    if (window.electron == null) {
        toastr.error("此功能仅能在客户端APP中执行");
        return;
    }

    var path = electron.showOpenDialogSync('');
    if (path == '') return;
    var hostName = electron.getHostName();
    setMonitePath(hostName, path);


}


id: 60a90e745db21e3d0fbaae9b
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 22:49:05.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function getImagePoolGGUID() {
    var ret = runTask("get_dzpz_imgpool_id_of_current_user", {});
    return JSON.parse(ret).gguid;

}

function getImagePoolBlockSize() {
    var ret = runTask("get_dzpz_imgpool_id_of_current_user", {});
    return JSON.parse(ret).blockSize;

}


//@comment (group=,caption=保存当前的缩略图大小,needRightControl=false)
function setImagePoolBlockSize(id, blockSize) {
    runSQL("", " update  dzpz_imgpool set blocksize=" + blockSize + " where gguid='" + id + "'  ");
}


//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData() {
    var config = JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user", {}));

    var ds = newDataStore(config.dbpool, "select * from " + config.logTable + "  where  gguid='" + config.gguid + "'  order by info1 "); // info1 是客户端文件创建的时间，以它排序
    var n = ds.retrieve();
    var ret = [];
    for (var i = 0; i < n; i++) {
        ret.push(JSON.parse(ds.getJSONRow(i, true)));
    }

    return ret;

}


function setMonitePath(hostName, path) {
    var ds = newDataStore("", "select * from dzpz_client");
    ds.retrieve(" hostname='" + hostName + "'");
    if (ds.getRowCount() == 0) {
        var newid = newGUID();
        ds.insertRow(0);
        ds.setValue(0, "id", newid);
        ds.setValue(0, "gguid", newid);
        ds.setValue(0, "billno", newid);
        ds.setValue(0, "userid", 1);
        ds.setValue(0, "username", '管理员');
        ds.setValue(0, "billtype", '');
        ds.setValue(0, "hostname", hostName);
    }
    ds.setValue(0, "path", path);
    ds.update(true);
    println( ds.getError().getMessage());

}

function  getMonitePath(hostName)
{
    return   getStringFromSQL("select path from dzpz_client where  hostname='" + hostName + "'");
}


id: 60a90e745db21e3d0fbaaeb1
scriptid: 60a321f05db27838e0c014bf
tablename: app_script
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 22:51:01.000
script:
//@comment (group=,caption=得到当前操作员待归档图片对应的GGUID,needRightControl=false)
function getImagePoolGGUID() {
    var ret = runTask("get_dzpz_imgpool_id_of_current_user", {});
    return JSON.parse(ret).gguid;

}

function getImagePoolBlockSize() {
    var ret = runTask("get_dzpz_imgpool_id_of_current_user", {});
    return JSON.parse(ret).blockSize;

}


//@comment (group=,caption=保存当前的缩略图大小,needRightControl=false)
function setImagePoolBlockSize(id, blockSize) {
    runSQL("", " update  dzpz_imgpool set blocksize=" + blockSize + " where gguid='" + id + "'  ");
}


//@comment (group=,caption=得到待归档的图片清单,needRightControl=true)
function loadImagePoolData() {
    var config = JSON.parse(runTask("get_dzpz_imgpool_id_of_current_user", {}));

    var ds = newDataStore(config.dbpool, "select * from " + config.logTable + "  where  gguid='" + config.gguid + "'  order by info1 "); // info1 是客户端文件创建的时间，以它排序
    var n = ds.retrieve();
    var ret = [];
    for (var i = 0; i < n; i++) {
        ret.push(JSON.parse(ds.getJSONRow(i, true)));
    }

    return ret;

}


function setMonitePath(hostName, path) {
    var ds = newDataStore("", "select * from dzpz_client");
    ds.setUpdateProperty("dzpz_client","id","*","id");
    ds.retrieve(" hostname='" + hostName + "'");
    if (ds.getRowCount() == 0) {
        var newid = newGUID();
        ds.insertRow(0);
        ds.setValue(0, "id", newid);
        ds.setValue(0, "gguid", newid);
        ds.setValue(0, "billno", newid);
        ds.setValue(0, "userid", 1);
        ds.setValue(0, "username", '管理员');
        ds.setValue(0, "billtype", '');
        ds.setValue(0, "hostname", hostName);
    }
    ds.setValue(0, "path", path);
    ds.update(true);
    println( ds.getError().getMessage());

}

function  getMonitePath(hostName)
{
    return   getStringFromSQL("select path from dzpz_client where  hostname='" + hostName + "'");
}


id: 60a90e745db21e3d0fbaaeb7
scriptid: 60a321f05db27838e0c014c3
tablename: app_template
clientip: 0:0:0:0:0:0:0:1
username: sa
createdate: 2021.05.22 23:26:27.000
script:
var pathToMonit = "";

function formOpen() {
    book.showTabOnWhere = "none";

    book.sheet1.getBrick('imgPool').selectionMode = 'multi'; //图片设置成多选模式

    $(document.body).append(`<style>
                        .pzh {position:absolute;left:0;bottom:0px; 
                                height:24px; line-height:24px;width:100%; 
                                background-color:#40af40a0; 
                                color:white;font-weight:bold;font-size:16px;text-align:center;}

                        .delete_pzh { position:absolute; right:0; width:40px; height:14px; top:0; text-align:right; vertical-align:top; font-size:12px; color:gray;padding-right:5px;}      
                        .delete_pzh:hover { color:white;}      
                          
                        </style>
 `);


    //  let data= loadImagePoolData();
    //  console.dir(data);


    $('#blockSize').on('input', resetImgPoolBlockSize);

    setTimeout(function () {
        //调取缩略图大小
        var imgPool = book.sheet1.getBrick('imgPool');

        let blockSize = getImagePoolBlockSize();
        if (blockSize != imgPool.config.blockSize) {
            $('#blockSize').val(blockSize);
            resetImgPoolBlockSize(false);
        }
    }, 1000);

    //调取图片目录
    if (window.electron != null) {
        var hostName = electron.getHostName();
        pathToMonit = getMonitePath(hostName);
        book.sheet0.cells('stateBar').setValue("图片目录 " + pathToMonit);
        //开启监控
        if( pathToMonit!='') moniteStart(pathToMonit);
    }

}



function resetImgPoolBlockSize(needSaveSetting) {
    if (needSaveSetting == null) needSaveSetting = true;
    var imgPool = book.sheet1.getBrick('imgPool');

    // 先保存当前选中状态及设置的凭证号信息
    var selection = imgPool.getSelectedImageList();
    var pzhMap = {};
    var pzhs = imgPool.dom.find('.pzh');
    for (let i = 0; i < pzhs.length; i++) {
        let id = $(pzhs[i]).parent().attr('id');
        let pzh = $(pzhs[i]).find('.no').text();
        pzhMap[id] = pzh;

    }


    let v = $('#blockSize').val();

    imgPool.config.blockSize = parseInt(v);
    imgPool.rebuildGridly();
    //恢复选中状态
    for (let i = 0; i < selection.length; i++) {
        imgPool.setImageSelected(selection[i].id, true);
    }
    //恢复凭证号
    for (let id in pzhMap) {
        var pzh = pzhMap[id];
        find_pzh(id, true).find('.no').text(pzh);
    }

    if (needSaveSetting) {
        setTimeout(function () {
            setImagePoolBlockSize(imgPool.getConfig("gguid"), v);
        }, 1000);
    }



}

/**
 * 图片控件中鼠标进入某个图片区域
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=鼠标进入图片区域)
function imageOnMouseEnter(sheet, name, data) {
    //console.dir(data);
    var url = data.url_img;
    book.sheet0.cells("imgPreview").setValue(url);
}
function imageOnMouseOut(sheet, name, data) {

    book.sheet0.cells("imgPreview").setValue("");
}


/**
 * 图片控件中某个图片被双击了
 * @param sheet   所在Sheet
 * @param config  图片控件的名称
 *@param data  该图片的详细信息
 *
 */
//@comment (group=图片控件,caption=图片被双击)
function imageOnDBLClick(sheet, name, data) {

    //因为 mouseOut 会把大图清除掉，所以这里重新再设置上
    setTimeout(function () {
        var url = data.url_img;
        book.sheet0.cells("imgPreview").setValue(url);

    }, 200);

    var pzh = '';
    try {

        pzh = find_pzh(data.id, false).find('.no').text();
    } catch (err) {

    }

    if (pzh == undefined) pzh = '';

    inputBox("标记为凭证", "", pzh, "输入凭证号码", function (val) {
        if (val == '') {
            var p = find_pzh(data.id, false);
            if (p) p.remove();
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, false);
        } else {
            find_pzh(data.id, true).find('.no').text(val);
            book.sheet1.getBrick("imgPool").setImageSelected(data.id, true);
        }

    }, true /*允许为空*/);
}


//@comment (group=,caption=查找或创建凭证号标记对象,needRightControl=false)
function find_pzh(id, create_if_not_exists) {
    var d = $('#' + id);
    if (!d) {
        $.alert(id + "不存在");
        return null;
    }

    var ret = d.find('.pzh');
    if (ret.length == 0) {
        if (create_if_not_exists) //如果需要创建，则创建它
        {
            d.append(`<div class="pzh" ><div class="no"></div><div class="delete_pzh"><i class="fa fa-close" onclick="removePZH('${id}');  event.preventDefault(); event.stopPropagation();"> </i></div></div>`);
        }
        ret = d.find('.pzh');
    }
    return ret;

}

function removePZH(id) {
    var p = find_pzh(id, false);
    if (p) p.remove();
}

function cb_selectall_onClick() {
    var imgPool = book.sheet1.getBrick('imgPool');
    if (imgPool.getSelectedImageList().length == 0) {
        imgPool.selectAll();
    } else {
        imgPool.unSelectAll();
    }
}


function cb_path_onClick() {
    if (window.electron == null) {
        toastr.error("此功能仅能在客户端APP中执行");
        return;
    }

    var path = electron.showOpenDialogSync('');
    if (path == '') return;
    var hostName = electron.getHostName();
    setMonitePath(hostName, path);

    moniteStart(path);


}

function moniteStart(path)
{
     if (window.electron == null) {
        toastr.error("此功能仅能在客户端APP中执行");
        return;
    }
    electron.ipcSendMessage( {action:"moniteStart" , path:path});
}


