E9/8:建模查询页面扩展批量操作新建流程带入查询列表字段数据
建模查询页面扩展批量操作新建流程带入查询列表字段数据
·
<script>
function GetQueryString(name)
{
var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
var r = window.location.href.substr(1).match(reg);
if(r!=null)return decodeURI(r[2]); return null;
}
//模块:页面扩展批量操作菜单按钮
/*
(function(){
var ids = ModeList.getCheckedID();
if(ids==""){ModeList.showMessage("至少勾选一条",2,1);return;}
var url = '/spa/workflow/static4form/index.html?_rdm=1634001315677#/main/workflow/req?iscreate=1&workflowid=2&certs='+ids;
window.open(url);
})()
*/
//获取建模查询自定义按钮传递的参数的值,并且赋值明细表字段:参数certs,bh
jQuery(document).ready(function(){
var certs =GetQueryString("certs");
var bh =GetQueryString("bh");
//alert(certs);
var certarr=certs.split(",");
//alert(certarr);
//WfForm.changeFieldValue("field9599", {value:certs});
for(var i =0;i<certarr.length;i++){
WfForm.addDetailRow("detail_1",{field9933:{
value:certarr[i]
}})
}
})
</script>
<style>
select {
line-height: 22px;
height: 22px;
background: none;
border: none;
min-width: 95%;
}
/* 样式-下拉框长度 */
.wea-select{
width: 95%
}
/*选择框宽度*/
.wea-select ,.ant-select-selection{
width: 95%;
border-style: none;
}
/*浏览框去边框,调整宽度*/
.wea-associative-search {
border-style: none;
min-width: 95% !important;
}
/* e9样式结束*/
/*通用圆角样式*/
.ysyj{
height:15px;
width:100%;
background:#ffffff!important;
border: 1px solid #ffffff!important;
border-top-right-radius:9px;
}
.zxyj{
height:15px;
width:100%;
background:#ffffff!important;
border: 1px solid #ffffff!important;
border-bottom-left-radius:9px;
}
.yxyj{
height:15px;
width:100%;
background:#ffffff!important;
border: 1px solid #ffffff!important;
border-bottom-right-radius:9px;
}
.zsyj{
height:15px;
width:100%;
background:#ffffff!important;
border: 1px solid #ffffff!important;
border-top-left-radius:9px;
}
/* 修复 input 框 Chrome 自动填充屎黄色背景 */
input:-webkit-autofill,.excelMainTable input:-webkit-autofill:hover,.excelMainTable input:-webkit-autofill:focus,.excelMainTable input:-webkit-autofill:active {
-webkit-transition-delay: 99999s;
-webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
}
</style>
<style>
select {
line-height: 22px;
height: 22px;
background: none;
border: none;
min-width: 95%;
}
/* 样式-下拉框长度 */
.wea-select{
width: 95%
}
/*选择框宽度*/
.wea-select ,.ant-select-selection{
width: 95%;
border-style: none;
}
/*浏览框去边框,调整宽度*/
.wea-associative-search {
border-style: none;
min-width: 95% !important;
}
/* e9样式结束*/
/*通用圆角样式*/
.ysyj{
height:15px;
width:100%;
background:#ffffff!important;
border: 1px solid #ffffff!important;
border-top-right-radius:9px;
}
.zxyj{
height:15px;
width:100%;
background:#ffffff!important;
border: 1px solid #ffffff!important;
border-bottom-left-radius:9px;
}
.yxyj{
height:15px;
width:100%;
background:#ffffff!important;
border: 1px solid #ffffff!important;
border-bottom-right-radius:9px;
}
.zsyj{
height:15px;
width:100%;
background:#ffffff!important;
border: 1px solid #ffffff!important;
border-top-left-radius:9px;
}
/*单行文本去背景*/
input.InputStyle,
input.Inputstyle,
input.inputStyle,
input.inputstyle,
.excelMainTable input[type="text"],
.excelMainTable input[type="password"],
.e8_innerShowContent,
.excelMainTable textarea,
.sbHolder {
/*border: 1px solid #F2F2F2 !important;*/
border: none;
background: none;
}
/* 修复 input 框 Chrome 自动填充屎黄色背景 */
input:-webkit-autofill,.excelMainTable input:-webkit-autofill:hover,.excelMainTable input:-webkit-autofill:focus,.excelMainTable input:-webkit-autofill:active {
-webkit-transition-delay: 99999s;
-webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
}
</style>
DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。
更多推荐


所有评论(0)