修改质量要点重复发起创建限制,修改数据库连接密码

master
孙亮 3 months ago
parent 36a5e38a89
commit 0ae4217b49

Binary file not shown.

@ -252,7 +252,7 @@ function beforeSend() {
var bh = ccfrom["TB_ZLYDBH"].value;
//重复审批判断
if (fk_flow == '008') {
if (fk_flow == '008' && nodeID == '801') {
var JSXYSP = "SELECT ZLYDBH FROM Frm_BCLZLYD WHERE ZLYDBH='" + bh + "' AND WFState = '2'";
var isHave = DBAccess.RunSQLReturnTable(JSXYSP);
if (isHave.length > 0) {
@ -262,7 +262,7 @@ function beforeSend() {
}
if (fk_flow == '029') {
if (fk_flow == '029' && nodeID == '2901') {
var JSXYSP = "SELECT ZLYDBH FROM Frm_DCLZLYD WHERE ZLYDBH='" + bh + "' AND WFState = '2'";
var isHave = DBAccess.RunSQLReturnTable(JSXYSP);
if (isHave.length > 0) {
@ -272,7 +272,7 @@ function beforeSend() {
}
if (fk_flow == '009') {
if (fk_flow == '009' && nodeID == '901') {
var JSXYSP = "SELECT ZLYDBH FROM Frm_GCLZLYD WHERE ZLYDBH='" + bh + "' AND WFState = '2'";
var isHave = DBAccess.RunSQLReturnTable(JSXYSP);
if (isHave.length > 0) {
@ -566,6 +566,22 @@ function beforeSend() {
}
}
//验证审批
if (fk_flow == '002') {
var JSXYBH = $("#TB_JSBZXYBH").val().trim();//技术协议编号
var ZLYDBH = $("#TB_ZLYDBH").val().trim();//质量要点编号
if (ZLYDBH.length == 0 && $("#CB_ZLYDSP").prop("checked")) {
alert("请检查'质量要点编号'的填写,因为启用了质量要点审批。");
return false;
}
if (JSXYBH.length == 0 && $("#CB_JSBZXYSP").prop("checked")) {
alert("请检查'技术标准(协议)编号'的填写,因为启用了技术标准(协议)审批。");
return false;
}
}
return true;
}

@ -76,7 +76,7 @@
<add key="CCBPMRunModel" value="2"/>-->
<!--<add key="AppCenterDSN" value="Data Source=172.15.88.212:1521/ORCL;User Id=CCFLOW;Password=CCFLOW123;"/>
<add key="AppCenterDBType" value="Oracle"/>-->
<add key="AppCenterDSN" value="Data Source=172.15.89.233:1522/ORCL;User Id=rdms;Password=nerc;" />
<add key="AppCenterDSN" value="Data Source=172.15.89.233:1522/ORCL;User Id=rdms;Password=Y98k@Ma7a1!;" />
<add key="AppCenterDBType" value="Oracle" />
<!--<add key="AppCenterDSN" value="Data Source=118.195.204.252/ORCL;User Id=CCFLOW;Password=CCFLOW123;" />
<add key="AppCenterDBType" value="Oracle" />-->
@ -212,9 +212,9 @@
<add key="SysName" value="大冶特钢" />
<!-- 客户编号:此编号用户处理不同的客户个性化的要求. -->
<add key="CustomerNo" value="CCFlow" />
<add key="CustomerName" value="驰骋工作流" />
<add key="CustomerName" value="工作流" />
<!--打印水文:用于表单生成PDF文件时文件模板内容-->
<add key="PrintBackgroundWord" value="开源驰骋@Opencc" />
<add key="PrintBackgroundWord" value="工作流" />
<!-- 每次取最大数据行数(不要修改) -->
<add key="TopNum" value="99999" />
<!-- 默认每页数据行数(不要低于5) -->

Loading…
Cancel
Save