|
@@ -25,6 +25,12 @@ $(function(){
|
|
deptName = getUrlArgObjectNew("deptName",srcUrl)||""
|
|
deptName = getUrlArgObjectNew("deptName",srcUrl)||""
|
|
from = getUrlArgObjectNew("from",srcUrl)||""
|
|
from = getUrlArgObjectNew("from",srcUrl)||""
|
|
getTabData(1)//条目缺陷
|
|
getTabData(1)//条目缺陷
|
|
|
|
+
|
|
|
|
+ $(".partTitle a").click(function(){
|
|
|
|
+ //初始菜单选中
|
|
|
|
+ $(".menu .page",parent.document).removeClass("active").eq(0).addClass("active");
|
|
|
|
+ $(".container",parent.document).addClass("console-cont");
|
|
|
|
+ })
|
|
})
|
|
})
|
|
bindDeptSelect()
|
|
bindDeptSelect()
|
|
//科室选择
|
|
//科室选择
|
|
@@ -80,7 +86,7 @@ function getTabData(activePage){
|
|
deptName: deptId||deptList.length>0&&deptList[0].deptName, //科室名
|
|
deptName: deptId||deptList.length>0&&deptList[0].deptName, //科室名
|
|
size: 15
|
|
size: 15
|
|
}
|
|
}
|
|
- console.log(isReject)
|
|
|
|
|
|
+ // console.log(isReject)
|
|
post(from == 1?api.entryCountGroupByEntryPage:api.entryCountGroupByEntryAndDeptPage,param).then(res =>{
|
|
post(from == 1?api.entryCountGroupByEntryPage:api.entryCountGroupByEntryAndDeptPage,param).then(res =>{
|
|
if(res.data.code == '0'){
|
|
if(res.data.code == '0'){
|
|
const data = res.data.data.records
|
|
const data = res.data.data.records
|
|
@@ -304,7 +310,7 @@ function editItem(item,activePage){
|
|
$("#mainBox .itemMsgBox .confirmEdit", parent.document).on("click", function(){
|
|
$("#mainBox .itemMsgBox .confirmEdit", parent.document).on("click", function(){
|
|
var reg = new RegExp(/^\d+(\.\d)?$/);
|
|
var reg = new RegExp(/^\d+(\.\d)?$/);
|
|
if(reg.test(itemCpoy.score)){
|
|
if(reg.test(itemCpoy.score)){
|
|
- console.log('itemCopy', itemCpoy)
|
|
|
|
|
|
+ // console.log('itemCopy', itemCpoy)
|
|
if(!itemCpoy.msg.trim()){
|
|
if(!itemCpoy.msg.trim()){
|
|
$.alerModal({"message":"提示信息不能为空~",type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
$.alerModal({"message":"提示信息不能为空~",type:"tip",time:'1000',isFather: true, fatherWrapper: $("#mainBox", parent.document)});
|
|
return
|
|
return
|