|
@@ -8,7 +8,7 @@ const iconUnCheck = require("./../images/icon_unchecked.png")
|
|
|
const arrowUp = require("./../images/arrow_up22.png")
|
|
|
const arrowDown = require("./../images/arrow_down22.png")
|
|
|
|
|
|
-let dataCopy,paramType,paramId,submitMsg="新增成功~"
|
|
|
+let dataCopy,paramType,paramId,submitMsg="新增成功"
|
|
|
$(function(){
|
|
|
let srcUrl = $("#contentIframe",parent.document).attr("src")
|
|
|
paramType = getUrlArgObject("type")||""
|
|
@@ -35,10 +35,10 @@ function getList(type){
|
|
|
}else{
|
|
|
if(type =='"edit"'){
|
|
|
$('.partTitle p span').html('修改')
|
|
|
- submitMsg="修改成功~"
|
|
|
+ submitMsg="修改成功"
|
|
|
}else{
|
|
|
$('.partTitle p span').html('复制')
|
|
|
- submitMsg="复制成功~"
|
|
|
+ submitMsg="复制成功"
|
|
|
}
|
|
|
post(api.typeGetById,{id: paramId}).then(res =>{
|
|
|
let result = res.data
|
|
@@ -117,7 +117,7 @@ function bindCheck(){
|
|
|
$('.submit').click(function(){
|
|
|
const qcName = $('.patientNumInp').val().trim();
|
|
|
if(!qcName){
|
|
|
- $.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
|
|
|
}
|
|
|
let qcTypeCasesEntryVOList = []
|
|
@@ -133,9 +133,9 @@ $('.submit').click(function(){
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|
|
|
+ const id = paramType == '"edit"' ? paramId:""
|
|
|
const param = {
|
|
|
- id:paramId,
|
|
|
+ id:id,
|
|
|
name: qcName,
|
|
|
qcTypeCasesEntryVOList
|
|
|
}
|