阅览条款预览/建模增加序号/制度上传文件限制
This commit is contained in:
parent
b7c5361e2e
commit
b5a90fb37e
@ -25,5 +25,6 @@
|
|||||||
<attribute key="Purpose" title="目的" type="textarea" value="" desc="目的" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
<attribute key="Purpose" title="目的" type="textarea" value="" desc="目的" isRequired="true" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||||
<attribute key="application" title="适用范围" type="textarea" value="" desc="适用范围" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
<attribute key="application" title="适用范围" type="textarea" value="" desc="适用范围" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%,*" isValid="true"/>
|
||||||
<attribute key="Contents_and_reasons_for_revision" title="修订内容及理由" type="textarea" value="" desc="修订内容及理由" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
<attribute key="Contents_and_reasons_for_revision" title="修订内容及理由" type="textarea" value="" desc="修订内容及理由" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||||
<attribute key="T_supplementary_articles" title="附则" type="textarea" value="" desc="附则" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
<attribute key="T_supplementary_articles" title="附则" type="textarea" value="" desc="附则" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="%" isValid="true"/>
|
||||||
|
<attribute key="activity_number" title="活动序号" type="string" value="" desc="活动序号" isRequired="false" ref="" readonly="false" groupPath="baseAttribute" scope="*" isValid="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
|
|||||||
@ -355,6 +355,11 @@
|
|||||||
$('#bar_sort').css('display','none')
|
$('#bar_sort').css('display','none')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (methodId == 'data.form') {
|
||||||
|
$('#bar_importPolicyFile').css('display','none')
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!installBatch) {// 未安装批处理应用,删除功能入口
|
if (!installBatch) {// 未安装批处理应用,删除功能入口
|
||||||
$('li[ac=batchreplace]').remove();
|
$('li[ac=batchreplace]').remove();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4477,7 +4477,7 @@ function addPolicyFile() {
|
|||||||
appId: "com.actionsoft.apps.coe.pal.datamigration",
|
appId: "com.actionsoft.apps.coe.pal.datamigration",
|
||||||
groupValue:"policyFile",
|
groupValue:"policyFile",
|
||||||
fileValue:ruuid,
|
fileValue:ruuid,
|
||||||
filesToFilter: [["*.doc; *.docx"]],
|
filesToFilter : [["Document(*.doc;*.docx;)","*.doc;*.docx;"]],
|
||||||
repositoryName: "migration",
|
repositoryName: "migration",
|
||||||
numLimit : 1,
|
numLimit : 1,
|
||||||
sizeLimit : 10 * 1024 * 1024,
|
sizeLimit : 10 * 1024 * 1024,
|
||||||
|
|||||||
@ -1917,8 +1917,8 @@ function sortModelByNumber() {
|
|||||||
var subNumer=number< 10 ? number.substr(1,1) : number;
|
var subNumer=number< 10 ? number.substr(1,1) : number;
|
||||||
|
|
||||||
if(typeof subNumer == 'string') {
|
if(typeof subNumer == 'string') {
|
||||||
subNumer = subNumer.replace(/^\s+|\s+$/g,"")
|
subNumer = subNumer.replace(/^\s+|\s+$/g,"");
|
||||||
};
|
}
|
||||||
if(subNumer != undefined && subNumer != null && subNumer != "") {
|
if(subNumer != undefined && subNumer != null && subNumer != "") {
|
||||||
var obj = {};
|
var obj = {};
|
||||||
obj.text = shape.text;
|
obj.text = shape.text;
|
||||||
@ -1973,7 +1973,6 @@ function sortModelByNumber() {
|
|||||||
|
|
||||||
// 初始化流程步骤说明
|
// 初始化流程步骤说明
|
||||||
function initShapeAttribute(obj) {
|
function initShapeAttribute(obj) {
|
||||||
|
|
||||||
if (obj == undefined || obj == '0') {
|
if (obj == undefined || obj == '0') {
|
||||||
$('#portalAttrDock').empty();
|
$('#portalAttrDock').empty();
|
||||||
var elements = Model.define.elements;
|
var elements = Model.define.elements;
|
||||||
@ -2021,7 +2020,7 @@ function initShapeAttribute(obj) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//流程阅览只显示线上审批、线下审批、系统任务、人工审批
|
//流程阅览只显示线上审批、线下审批、系统任务、人工审批
|
||||||
if(shape.title=="线上审批" || shape.title=="线下审批" || shape.title=="系统任务" ||shape.title=="人工任务") {
|
if(shape.title=="线上审批" || shape.title=="线下审批" || shape.title=="系统任务" ||shape.title=="人工任务" || shape.title=="条款") {
|
||||||
var no = "";
|
var no = "";
|
||||||
for (var i = 0; i < attributesJsonArrayT.length; i++) {
|
for (var i = 0; i < attributesJsonArrayT.length; i++) {
|
||||||
var id = attributesJsonArrayT[i].id;
|
var id = attributesJsonArrayT[i].id;
|
||||||
@ -2076,8 +2075,7 @@ function initShapeAttribute(obj) {
|
|||||||
for(var sortIndex = 0; sortIndex < sortNumShapeArr.length; sortIndex++) {
|
for(var sortIndex = 0; sortIndex < sortNumShapeArr.length; sortIndex++) {
|
||||||
var temp = sortNumShapeArr[sortIndex];
|
var temp = sortNumShapeArr[sortIndex];
|
||||||
var shape = elements[temp.id];
|
var shape = elements[temp.id];
|
||||||
if(shape.title=="线上审批" || shape.title=="线下审批" || shape.title=="系统任务" ||shape.title=="人工任务") {
|
if(shape.title=="线上审批" || shape.title=="线下审批" || shape.title=="系统任务" ||shape.title=="人工任务" || shape.title=="条款") {
|
||||||
|
|
||||||
if(obj==shape.id){
|
if(obj==shape.id){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user