diff --git a/src/api/business/gsp/gsp.js b/src/api/business/gsp/gsp.js index 28975cc..54ca3f5 100644 --- a/src/api/business/gsp/gsp.js +++ b/src/api/business/gsp/gsp.js @@ -218,4 +218,23 @@ export function exportDetail(query) { method: 'get', params: query }) +} + + +//存储 +export function cc(data) { + return request({ + url: '/system/business/gsp/cc', + method: 'post', + data: data + }) +} + +//取出 +export function qc(data) { + return request({ + url: '/system/business/gsp/qc', + method: 'post', + data: data + }) } \ No newline at end of file diff --git a/src/api/business/gsp/gspFfjl.js b/src/api/business/gsp/gspFfjl.js index 38886e8..a0833bc 100644 --- a/src/api/business/gsp/gspFfjl.js +++ b/src/api/business/gsp/gspFfjl.js @@ -88,4 +88,12 @@ export function jq(data) { method: 'post', data: data }) +} + +export function statistics(query) { + return request({ + url: '/system/business/gspFfjl/statistics', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/api/business/gsp/gspRkjl.js b/src/api/business/gsp/gspRkjl.js index 16a100b..90292d8 100644 --- a/src/api/business/gsp/gspRkjl.js +++ b/src/api/business/gsp/gspRkjl.js @@ -104,4 +104,12 @@ export function jq(data) { method: 'post', data: data }) +} +//入库量统计 +export function sumRkl(query) { + return request({ + url: '/system/business/gspRkjl/sumRkl', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/api/business/storageLocation/storageLocation.js b/src/api/business/storageLocation/storageLocation.js index f2076c2..8651478 100644 --- a/src/api/business/storageLocation/storageLocation.js +++ b/src/api/business/storageLocation/storageLocation.js @@ -21,4 +21,20 @@ export function storageLocation_edit(data) { method: 'post', data: data }) +} + +export function storageLocation_info(query) { + return request({ + url: '/system/business/storageLocation/info', + method: 'get', + params: query + }) +} + +export function jcgj_list(query) { + return request({ + url: '/system/business/storageLocation/jcgj/list', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/api/business/study/studyFormFill.js b/src/api/business/study/studyFormFill.js index c902877..009ca76 100644 --- a/src/api/business/study/studyFormFill.js +++ b/src/api/business/study/studyFormFill.js @@ -136,6 +136,33 @@ export function studyFormFill_gc(data) { }) } +//提交病理学家审核 +export function studyFormFill_tjblxjsh(data) { + return request({ + url: '/system/business/studyFormFill/tjblxjsh', + method: 'post', + data: data + }) +} + +//病理学家审核通过 +export function studyFormFill_blxjshtg(data) { + return request({ + url: '/system/business/studyFormFill/blxjshtg', + method: 'post', + data: data + }) +} + +//病理学家审核拒绝 +export function studyFormFill_blxjshjj(data) { + return request({ + url: '/system/business/studyFormFill/blxjshjj', + method: 'post', + data: data + }) +} + //复核通过 export function studyFormFill_fhtg(data) { return request({ diff --git a/src/components/Template/BaseInfoFormPackage.vue b/src/components/Template/BaseInfoFormPackage.vue index b8f4d96..7350c5b 100644 --- a/src/components/Template/BaseInfoFormPackage.vue +++ b/src/components/Template/BaseInfoFormPackage.vue @@ -39,7 +39,10 @@ :field-key="prefixKey + '_' + sItem.otherCode" @blur="onBlur(key, $event)" :item="getOtherItem(sItem)" v-model="formFields[sItem.otherCode]" @copy="onCopy(sItem, key)" :error="errors[sItem.otherCode]" - @update:error="errors[sItem.otherCode] = false" /> + @update:error="errors[sItem.otherCode] = false" + :orange-bg="orangeBgFields[sItem.otherCode]" + /> + @@ -104,9 +107,11 @@ {{ $t(sItem.subText) }} @@ -198,6 +203,7 @@
{{ sItem.otherLabel ? $t(sItem.otherLabel) : $t("template.common.other") }}
+
+
+
+ {{$t("template.common.other") }}
+ +
+ +
+
@@ -257,6 +279,7 @@
@@ -305,6 +328,7 @@ :orange-bg="orangeBgFields[sItem.thirdKey]" />
@@ -429,12 +453,16 @@ export default { }, // 获取按钮项 getButtonItem(sItem) { - return { + const o = { ...sItem, key: sItem.subKey, - disabled: sItem.subDisabled, fillType: sItem.subFillType || sItem.fillType + }; + if(sItem.hasOwnProperty("subDisabled")){ + o.disabled = sItem.subDisabled; } + return o; + }, // 获取按钮项 getThirdButtonItem(sItem) { diff --git a/src/components/Template/CustomTable.vue b/src/components/Template/CustomTable.vue index 01bbfb7..40c4ebf 100644 --- a/src/components/Template/CustomTable.vue +++ b/src/components/Template/CustomTable.vue @@ -98,6 +98,7 @@ @blur="onBlur(rowIndex, col.prop, $event)" @copy="onCopy(rowIndex, col)" class="body-input" :item="getBodyItem(col, rowIndex)" v-model="row[col.prop]" + :ref = "col.prop+rowIndex" @change="onBodyValueChange(rowIndex, colIndex, $event, row, col.bodyType)" :error="hasError(rowIndex, colIndex, col.prop)" @update:error="onErrorUpdate(rowIndex, colIndex, col.prop, $event)" @@ -200,7 +201,7 @@ :orange-bg="hasOrangeBg(rowIndex, colIndex, col.otherCode)" /> -
\ No newline at end of file diff --git a/src/lang/en/business/study/studyFormApply.js b/src/lang/en/business/study/studyFormApply.js index c7470be..758f653 100644 --- a/src/lang/en/business/study/studyFormApply.js +++ b/src/lang/en/business/study/studyFormApply.js @@ -60,5 +60,10 @@ export default { smxz: 'Declaration of Collaboration', bcsm: 'Additional Remark', fztgjj: 'Approve/Reject Record Abolition', - ysy: 'Reviewed' + ysy: 'Reviewed', + sybhbm: 'Study Number/Department', + sywzmc: 'Study Material Name', + xynd: 'Required Concentration', + xysj: 'Required Time', + bdzt:'Status' } diff --git a/src/lang/en/business/study/studyFormFill.js b/src/lang/en/business/study/studyFormFill.js index 4abb26f..b2deb74 100644 --- a/src/lang/en/business/study/studyFormFill.js +++ b/src/lang/en/business/study/studyFormFill.js @@ -22,6 +22,8 @@ export default { next: 'Next', pre: 'Pre', save: 'Save', + blxjshtg:'病历学家审核通过', + blxjshjj:'病历学家审核拒绝', submit: 'Submit', bdnr: 'Record Information', qmxx: 'Signature information', @@ -31,6 +33,8 @@ export default { bzyy: 'Comment/Reason', jcgj: 'Track Record', cjjl: 'Create Record', + tjsh:'Submit Audit', + blxjsh:'病理学家审核', sfbl: 'Back Entry', yes: 'Yes', no: 'No', diff --git a/src/lang/en/template/dl.js b/src/lang/en/template/dl.js index 1f4b018..312c9e2 100644 --- a/src/lang/en/template/dl.js +++ b/src/lang/en/template/dl.js @@ -49,7 +49,7 @@ export default { dl004: { ...common, zjjgqr: '增菌结果确认', - ccwz: 'Storage Location', + ccwz: 'Storage Location' }, dl006: { ...common, @@ -78,7 +78,8 @@ export default { pykssj: 'Cultivation Start Time', pyjssj: 'Cultivation End Time', jsButton: 'End', - yqsyxxEmpty: 'Instrument usage information has not been filled in, please fill in before submitting' + yqsyxxEmpty: + 'Instrument usage information has not been filled in, please fill in before submitting' }, dl008: { ...common, @@ -89,8 +90,10 @@ export default { jzbh2: 'Strain Number', jzbh3: 'Strain Number', jzbh4: 'Strain Number', - yqsyxxEmpty: 'Instrument usage information has not been filled in, please fill in before submitting', - cxqkEmpty: 'Imaging status has not been filled in, please fill in before submitting' + yqsyxxEmpty: + 'Instrument usage information has not been filled in, please fill in before submitting', + cxqkEmpty: + 'Imaging status has not been filled in, please fill in before submitting' }, dl009: { ...common, @@ -104,11 +107,16 @@ export default { czqk: 'Precipitation Status', bjjt: 'Background Lawn', jls: 'Colony Count', - czqkDesc: 'Precipitation codes: "P-" = "None"; "P+" = "Slight"; "P++" = "Moderate"; "P+++" = "Severe".', - bjjtDesc: 'Background lawn codes: "N" = "Normal"; "R1" = "Weak, lawn covers 70%-90% of plate area"; "R2" = "Medium, lawn covers 40%-70% of plate area"; "R3" = "Strong, lawn covers 10%-40% of plate area"; "A" = "Absent, no lawn on plate"; "O" = "Precipitation present, affecting lawn assessment";', - jlsDesc: 'Colony count special case: "*" indicates pinpoint colonies visible on plate;', - yqsyxxEmpty: 'Instrument usage information has not been filled in, please fill in before submitting', - jgxxEmpty: 'Result information has not been filled in, please fill in before submitting' + czqkDesc: + 'Precipitation codes: "P-" = "None"; "P+" = "Slight"; "P++" = "Moderate"; "P+++" = "Severe".', + bjjtDesc: + 'Background lawn codes: "N" = "Normal"; "R1" = "Weak, lawn covers 70%-90% of plate area"; "R2" = "Medium, lawn covers 40%-70% of plate area"; "R3" = "Strong, lawn covers 10%-40% of plate area"; "A" = "Absent, no lawn on plate"; "O" = "Precipitation present, affecting lawn assessment";', + jlsDesc: + 'Colony count special case: "*" indicates pinpoint colonies visible on plate;', + yqsyxxEmpty: + 'Instrument usage information has not been filled in, please fill in before submitting', + jgxxEmpty: + 'Result information has not been filled in, please fill in before submitting' }, dl010: { ...common, @@ -195,8 +203,10 @@ export default { yxg: 'Lower Right Grid (cells)', cdxxTime: 'Time {index}', addCdxx: 'Add', - yqsyxxEmpty: 'Instrument usage information has not been filled in, please fill in before submitting', - cdxxEmpty: 'Measurement information has not been filled in, please fill in before submitting' + yqsyxxEmpty: + 'Instrument usage information has not been filled in, please fill in before submitting', + cdxxEmpty: + 'Measurement information has not been filled in, please fill in before submitting' }, dl014: { ...common, @@ -224,7 +234,8 @@ export default { gyhzqk: 'Post-dose Status', qrButton: 'Confirm', wcButton: 'Complete', - yqsyxxEmpty: 'Instrument usage information has not been filled in, please fill in before submitting' + yqsyxxEmpty: + 'Instrument usage information has not been filled in, please fill in before submitting' }, dl015: { ...common, @@ -236,151 +247,151 @@ export default { hyqqtqk: 'Other Conditions Before Medium Change', qqpyy: 'Discard Culture Medium', pbsxd: 'PBS Wash', - pyybrl: 'Culture Medium Volume Added (ul)' + pyybrl: 'Culture Medium Volume Added' }, dl016: { - xbxx:'细胞信息', - sydd:'实验地点', - czsj:'操作时间', + xbxx: '细胞信息', + sydd: '试验地点', + czsj: '操作时间', qxbd: '前序表单', dlbz: '备注', czbz: '操作步骤', - qcxjjyqk:'秋水仙碱加液情况', - bltj:'暴露条件', - jlzb:'剂量组别', - xybh:'悬液编号', - qsxjjrl:'秋水仙碱加入量', + qcxjjyqk: '秋水仙碱加液情况', + bltj: '暴露条件', + jlzb: '剂量组别', + xybh: '悬液编号', + qsxjjrl: '秋水仙碱加入量' }, dl017: { - xbxx:'细胞信息', - sydd:'实验地点', - czsj:'操作时间', + xbxx: '细胞信息', + sydd: '试验地点', + czsj: '操作时间', qxbd: '前序表单', dlbz: '备注', czbz: '操作步骤', - xbczqk:'细胞操作情况', - bltj:'暴露条件', + xbczqk: '细胞操作情况', + bltj: '暴露条件', - jlzb:'剂量组别', - xybh:'悬液编号', - sjqszqk:'收集前生长情况', - sjqcdqk:'收集前沉淀情况', - saqqtqk:'收集前其他情况', - ddpyy:'倒掉培养液', - xd:'洗涤', - sj:'收集', - ds:'低渗', - dy1gd:'第一次固定', - dy2gd:'第二次固定', - dy3gd:'第三次固定', - dy4gd:'第四次固定', + jlzb: '剂量组别', + xybh: '悬液编号', + sjqszqk: '收集前生长情况', + sjqcdqk: '收集前沉淀情况', + saqqtqk: '收集前其他情况', + ddpyy: '倒掉培养液', + xd: '洗涤', + sj: '收集', + ds: '低渗', + dy1gd: '第一次固定', + dy2gd: '第二次固定', + dy3gd: '第三次固定', + dy4gd: '第四次固定' }, dl018: { - xbxx:'细胞信息', - sydd:'实验地点', - czsj:'操作时间', + xbxx: '细胞信息', + sydd: '试验地点', + czsj: '操作时间', qxbd: '前序表单', dlbz: '备注', czbz: '操作步骤', - xbczqk:'细胞操作情况', - bltj:'暴露条件', + xbczqk: '细胞操作情况', + bltj: '暴露条件', - jlzb:'剂量组别', - xybh:'悬液编号', - rsks:'染色开始', - rsjs:'染色结束', - ksButton:'开始', - jsButton:'结束', - zs:'左上(个)', - ys:'右上(个)', - zy:'左下(个)', - yx:'右下(个)', - tj:'体积(mL)', + jlzb: '剂量组别', + xybh: '悬液编号', + rsks: '染色开始', + rsjs: '染色结束', + ksButton: '开始', + jsButton: '结束', + zs: '左上(个)', + ys: '右上(个)', + zy: '左下(个)', + yx: '右下(个)', + tj: '体积(mL)' }, dl019: { - xbxx:'细胞信息', - sydd:'实验地点', - czsj:'操作时间', + xbxx: '细胞信息', + sydd: '试验地点', + czsj: '操作时间', qxbd: '前序表单', dlbz: '备注', czbz: '操作步骤', - xbczqk:'细胞操作情况', - bltj:'暴露条件', + xbczqk: '细胞操作情况', + bltj: '暴露条件', - jlzb:'剂量组别', - xybh:'悬液编号', - bplsh1:'玻片流水号', - bplsh2:'玻片流水号', + jlzb: '剂量组别', + xybh: '悬液编号', + bplsh1: '玻片流水号', + bplsh2: '玻片流水号' }, dl020: { swdljlbxx: 'Toxicology Record Information', - xbxx:'Cell Information', - sydd:'Test Location', - czsj:'Operation Time', + xbxx: 'Cell Information', + sydd: 'Test Location', + czsj: 'Operation Time', qxbd: 'Previous Form', dlbz: 'Remarks', - czbz: 'Operation Steps', + czbz: 'Operation Steps' }, dl021: { - czsj:'操作时间', + czsj: '操作时间', dlbz: '备注', gcqk: '观察情况', - xbmc:'细胞名称', - xwj:'显微镜', - bpbh:'玻片编号', - gcxps:'观察细胞数目', - zqxxbs:'中期相细胞数', + xbmc: '细胞名称', + xwj: '显微镜', + bpbh: '玻片编号', + gcxps: '观察细胞数目', + zqxxbs: '中期相细胞数' }, dl022: { - czsj:'操作时间', + czsj: '操作时间', dlbz: '备注', - gcqk: '观察情况', + jbqk: '畸变情况', - xbmc:'细胞名称', - xwj:'显微镜', - bpbh:'玻片编号', - gcxps:'观察细胞数目', + xbmc: '细胞名称', + xwj: '显微镜', + bpbh: '玻片编号', + gcxps: '观察细胞数目', - jgjxjbs:'结构畸形畸变数', - lxjbs:'裂隙畸变数', - dbtjbs:'多倍体畸变数', - nfzjbs:'内复制畸变数', - jblx:'畸变类型' + jgjxjbs: '结构畸形畸变数', + lxjbs: '裂隙畸变数', + dbtjbs: '多倍体畸变数', + nfzjbs: '内复制畸变数', + jblx: '畸变类型' }, dl023: { - czsj:'操作时间', + czsj: '操作时间', dlbz: '备注', yqsyxx: '仪器使用信息', czjl: '操作记录', - yqbh:'仪器编号', - yqmc:'仪器名称', - yqxh:'仪器型号', - xcrq:'下次测试/校准/检定日期', + yqbh: '仪器编号', + yqmc: '仪器名称', + yqxh: '仪器型号', + xcrq: '下次测试/校准/检定日期', - dwzshxbx:'动物种属或细胞系', - dwzs:'动物种属', - xbx:'细胞系', - sydd:'试验地点', - zwbh:'动物编号/细胞培养板名称', - uvazsjl:'UVA照射剂量', - zszsj:'照射总时间(分:秒)', - zskssj:'照射开始时间', - zsjssj:'照射结束时间', - ksButton:'开始', - jsButton:'结束', + dwzshxbx: '动物种属或细胞系', + dwzs: '动物种属', + xbx: '细胞系', + sydd: '试验地点', + zwbh: '动物编号/细胞培养板名称', + uvazsjl: 'UVA照射剂量', + zszsj: '照射总时间(分:秒)', + zskssj: '照射开始时间', + zsjssj: '照射结束时间', + ksButton: '开始', + jsButton: '结束' }, dl024: { - sydd:'实验地点', - czsj:'操作时间', + sydd: '试验地点', + czsj: '操作时间', dlbz: '备注', xbpyxx: '细胞培养信息', - qxbd:'前序表单', - pykssj:'培养开始时间', - pyjssj:'培养结束时间', - jsButton:'培养结束时间', - xbbh:'细胞编号', - }, + qxbd: '前序表单', + pykssj: '培养开始时间', + pyjssj: '培养结束时间', + jsButton: '培养结束时间', + xbbh: '细胞编号' + } } diff --git a/src/lang/en/template/gsp.js b/src/lang/en/template/gsp.js index 1cd6e39..7a476ae 100644 --- a/src/lang/en/template/gsp.js +++ b/src/lang/en/template/gsp.js @@ -68,6 +68,9 @@ export default { rjyjtj:'溶剂预计体积', rjsjtj:'溶剂实际体积', }, + gsp007:{ + bzqx:'标准曲线', + }, gsp009: { xtsyx: '系统适应性', ypbh: '样品编号', diff --git a/src/lang/zh/business/study/studyFormApply.js b/src/lang/zh/business/study/studyFormApply.js index 55db5cd..b8b0ab6 100644 --- a/src/lang/zh/business/study/studyFormApply.js +++ b/src/lang/zh/business/study/studyFormApply.js @@ -60,5 +60,9 @@ export default { smxz: '申明协作', bcsm: '补充说明', fztgjj: '废止通过/拒绝', - ysy: '已审阅' + ysy: '已审阅', + sybhbm: '试验编号/部门', + sywzmc: '试验物质名称', + xynd: '需要浓度', + xysj: '需要时间', } diff --git a/src/lang/zh/business/study/studyFormFill.js b/src/lang/zh/business/study/studyFormFill.js index fd76c40..61d1744 100644 --- a/src/lang/zh/business/study/studyFormFill.js +++ b/src/lang/zh/business/study/studyFormFill.js @@ -21,6 +21,8 @@ export default { zc: '暂存', next: '下一步', pre: '上一步', + blxjshtg:'病历学家审核通过', + blxjshjj:'病历学家审核拒绝', save: '保存', submit: '提交', bdnr: '表单内容', @@ -31,8 +33,10 @@ export default { bzyy: '备注原因', jcgj: '稽查轨迹', cjjl: '创建记录', - sfbl: '是否为补录', + sfbl: '是否补录', yes: '是', + blxjsh:'病理学家审核', + tjsh:'提交审核', no: '否', tjjl: '提交记录', sqfz: '申请废止', diff --git a/src/lang/zh/template/dl.js b/src/lang/zh/template/dl.js index d1795d0..1e523c2 100644 --- a/src/lang/zh/template/dl.js +++ b/src/lang/zh/template/dl.js @@ -50,7 +50,7 @@ export default { dl004: { ...common, zjjgqr: '增菌结果确认', - ccwz: '存储位置', + ccwz: '存储位置' }, dl006: { ...common, @@ -73,7 +73,7 @@ export default { jzbh: '菌种编号', gspcdqk: '供试品沉淀情况', czxx: '操作信息', - pyxbh:"培养箱编号" + pyxbh: '培养箱编号' }, dl007: { ...common, @@ -107,8 +107,10 @@ export default { czqk: '沉淀情况', bjjt: '背景菌苔', jls: '菌落数(个)', - czqkDesc: '沉淀量以代码填入:"P-" 代表 "无沉淀";"P+" 代表 "少量";"P++" 代表 "中等";"P+++" 代表 "严重"。', - bjjtDesc: '背景菌苔以代码填入:"N" 代表 "正常";"R1" 代表 "弱,菌苔约占平皿面积 70%-90%";"R2" 代表 "中,菌苔约占平皿面积 40%-70%";"R3" 代表 "强,菌苔约占平皿面积 10%-40%";"A" 代表 "消失,平皿上无菌苔";"O" 代表 "产生沉淀,影响背景菌苔判断";', + czqkDesc: + '沉淀量以代码填入:"P-" 代表 "无沉淀";"P+" 代表 "少量";"P++" 代表 "中等";"P+++" 代表 "严重"。', + bjjtDesc: + '背景菌苔以代码填入:"N" 代表 "正常";"R1" 代表 "弱,菌苔约占平皿面积 70%-90%";"R2" 代表 "中,菌苔约占平皿面积 40%-70%";"R3" 代表 "强,菌苔约占平皿面积 10%-40%";"A" 代表 "消失,平皿上无菌苔";"O" 代表 "产生沉淀,影响背景菌苔判断";', jlsDesc: '菌落数特殊情况:"*" 该平皿可见针尖样菌落;', yqsyxxEmpty: '仪器使用信息还未填写,请填写后再提交', jgxxEmpty: '结果信息还未填写,请填写后再提交' @@ -239,150 +241,150 @@ export default { hyqqtqk: '换液前其他情况', qqpyy: '倾去培养液', pbsxd: 'PBS洗涤', - pyybrl: '培养液补入量(ul)' + pyybrl: '培养液补入量' }, dl016: { - xbxx:'细胞信息', - sydd:'实验地点', - czsj:'操作时间', + xbxx: '细胞信息', + sydd: '试验地点', + czsj: '操作时间', qxbd: '前序表单', dlbz: '备注', czbz: '操作步骤', - qcxjjyqk:'秋水仙碱加液情况', - bltj:'暴露条件', - jlzb:'剂量组别', - xybh:'悬液编号', - qsxjjrl:'秋水仙碱加入量', + qcxjjyqk: '秋水仙碱加液情况', + bltj: '暴露条件', + jlzb: '剂量组别', + xybh: '悬液编号', + qsxjjrl: '秋水仙碱加入量' }, dl017: { - xbxx:'细胞信息', - sydd:'实验地点', - czsj:'操作时间', + xbxx: '细胞信息', + sydd: '试验地点', + czsj: '操作时间', qxbd: '前序表单', dlbz: '备注', czbz: '操作步骤', - xbczqk:'细胞操作情况', - bltj:'暴露条件', + xbczqk: '细胞操作情况', + bltj: '暴露条件', - jlzb:'剂量组别', - xybh:'悬液编号', - sjqszqk:'收集前生长情况', - sjqcdqk:'收集前沉淀情况', - saqqtqk:'收集前其他情况', - ddpyy:'倒掉培养液', - xd:'洗涤', - sj:'收集', - ds:'低渗', - dy1gd:'第一次固定', - dy2gd:'第二次固定', - dy3gd:'第三次固定', - dy4gd:'第四次固定', + jlzb: '剂量组别', + xybh: '悬液编号', + sjqszqk: '收集前生长情况', + sjqcdqk: '收集前沉淀情况', + saqqtqk: '收集前其他情况', + ddpyy: '倒掉培养液', + xd: '洗涤', + sj: '收集', + ds: '低渗', + dy1gd: '第一次固定', + dy2gd: '第二次固定', + dy3gd: '第三次固定', + dy4gd: '第四次固定' }, dl018: { - xbxx:'细胞信息', - sydd:'实验地点', - czsj:'操作时间', + xbxx: '细胞信息', + sydd: '试验地点', + czsj: '操作时间', qxbd: '前序表单', dlbz: '备注', czbz: '操作步骤', - xbczqk:'细胞操作情况', - bltj:'暴露条件', + xbczqk: '细胞操作情况', + bltj: '暴露条件', - jlzb:'剂量组别', - xybh:'悬液编号', - rsks:'染色开始', - rsjs:'染色结束', - ksButton:'开始', - jsButton:'结束', - zs:'左上(个)', - ys:'右上(个)', - zy:'左下(个)', - yx:'右下(个)', - tj:'体积(mL)', + jlzb: '剂量组别', + xybh: '悬液编号', + rsks: '染色开始', + rsjs: '染色结束', + ksButton: '开始', + jsButton: '结束', + zs: '左上(个)', + ys: '右上(个)', + zy: '左下(个)', + yx: '右下(个)', + tj: '体积(mL)' }, dl019: { - xbxx:'细胞信息', - sydd:'实验地点', - czsj:'操作时间', + xbxx: '细胞信息', + sydd: '试验地点', + czsj: '操作时间', qxbd: '前序表单', dlbz: '备注', czbz: '操作步骤', - xbczqk:'细胞操作情况', - bltj:'暴露条件', + xbczqk: '细胞操作情况', + bltj: '暴露条件', - jlzb:'剂量组别', - xybh:'悬液编号', - bplsh1:'玻片流水号', - bplsh2:'玻片流水号', + jlzb: '剂量组别', + xybh: '悬液编号', + bplsh1: '玻片流水号', + bplsh2: '玻片流水号' }, dl020: { - xbxx:'细胞信息', - sydd:'实验地点', - czsj:'操作时间', + xbxx: '细胞信息', + sydd: '试验地点', + czsj: '操作时间', qxbd: '前序表单', dlbz: '备注', - czbz: '操作步骤', + czbz: '操作步骤' }, dl021: { - czsj:'操作时间', + czsj: '操作时间', dlbz: '备注', gcqk: '观察情况', - xbmc:'细胞名称', - xwj:'显微镜', - bpbh:'玻片编号', - gcxps:'观察细胞数目', - zqxxbs:'中期相细胞数', + xbmc: '细胞名称', + xwj: '显微镜', + bpbh: '玻片编号', + gcxps: '观察细胞数目', + zqxxbs: '中期相细胞数' }, dl022: { - czsj:'操作时间', + czsj: '操作时间', dlbz: '备注', - gcqk: '观察情况', + jbqk: '畸变情况', - xbmc:'细胞名称', - xwj:'显微镜', - bpbh:'玻片编号', - gcxps:'观察细胞数目', + xbmc: '细胞名称', + xwj: '显微镜', + bpbh: '玻片编号', + gcxps: '观察细胞数目', - jgjxjbs:'结构畸形畸变数', - lxjbs:'裂隙畸变数', - dbtjbs:'多倍体畸变数', - nfzjbs:'内复制畸变数', - jblx:'畸变类型' + jgjxjbs: '结构畸形畸变数', + lxjbs: '裂隙畸变数', + dbtjbs: '多倍体畸变数', + nfzjbs: '内复制畸变数', + jblx: '畸变类型' }, dl023: { - czsj:'操作时间', + czsj: '操作时间', dlbz: '备注', yqsyxx: '仪器使用信息', czjl: '操作记录', - yqbh:'仪器编号', - yqmc:'仪器名称', - yqxh:'仪器型号', - xcrq:'下次测试/校准/检定日期', + yqbh: '仪器编号', + yqmc: '仪器名称', + yqxh: '仪器型号', + xcrq: '下次测试/校准/检定日期', - dwzshxbx:'动物种属或细胞系', - dwzs:'动物种属', - xbx:'细胞系', - sydd:'试验地点', - zwbh:'动物编号/细胞培养板名称', - uvazsjl:'UVA照射剂量', - zszsj:'照射总时间(分:秒)', - zskssj:'照射开始时间', - zsjssj:'照射结束时间', - ksButton:'开始', - jsButton:'结束', + dwzshxbx: '动物种属或细胞系', + dwzs: '动物种属', + xbx: '细胞系', + sydd: '试验地点', + zwbh: '动物编号/细胞培养板名称', + uvazsjl: 'UVA照射剂量', + zszsj: '照射总时间(分:秒)', + zskssj: '照射开始时间', + zsjssj: '照射结束时间', + ksButton: '开始', + jsButton: '结束' }, dl024: { - sydd:'实验地点', - czsj:'操作时间', + sydd: '试验地点', + czsj: '操作时间', dlbz: '备注', xbpyxx: '细胞培养信息', - qxbd:'前序表单', - pykssj:'培养开始时间', - pyjssj:'培养结束时间', - jsButton:'培养结束时间', - xbbh:'细胞编号', - }, + qxbd: '前序表单', + pykssj: '培养开始时间', + pyjssj: '培养结束时间', + jsButton: '培养结束时间', + xbbh: '细胞编号' + } } diff --git a/src/lang/zh/template/gsp.js b/src/lang/zh/template/gsp.js index 488c541..e5935a3 100644 --- a/src/lang/zh/template/gsp.js +++ b/src/lang/zh/template/gsp.js @@ -68,6 +68,9 @@ export default { rjyjtj:'溶剂预计体积', rjsjtj:'溶剂实际体积', }, + gsp007:{ + bzqx:'标准曲线', + }, gsp009: { xtsyx: '系统适应性', ypbh: '样品编号', diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index f65883f..052da34 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -14,6 +14,8 @@ backgroundSize: 'cover', backgroundRepeat: 'no-repeat', backgroundPosition: 'center', + overflowY: 'auto', + overflowX: 'hidden', height: 'calc(100vh - 100px)' }" mode="vertical" diff --git a/src/utils/calUnitTools.js b/src/utils/calUnitTools.js index 3d82e64..4ad979f 100644 --- a/src/utils/calUnitTools.js +++ b/src/utils/calUnitTools.js @@ -54,10 +54,10 @@ export function subTj(valueArr, unitArr) { } export function addDecimals(a, b) { - if (Number.isNaN(a)) { + if (Number.isNaN(a) || a == 'NA') { a = 0 } - if (Number.isNaN(b)) { + if (Number.isNaN(b) || b == 'NA') { b = 0 } const strA = a.toString() @@ -75,10 +75,10 @@ export function addDecimals(a, b) { } export function subDecimals(a, b) { - if (Number.isNaN(a)) { + if (Number.isNaN(a) || a == 'NA') { a = 0 } - if (Number.isNaN(b)) { + if (Number.isNaN(b) || a == 'NA') { b = 0 } const strA = a.toString() @@ -96,7 +96,7 @@ export function subDecimals(a, b) { } export function multiplyDecimals(a, b) { - if (Number.isNaN(a) || Number.isNaN(b)) { + if (Number.isNaN(a) || Number.isNaN(b) || a == 'NA' || b == 'NA') { return 0 } const strA = a.toString() @@ -187,11 +187,9 @@ export function uniqeYqOne(newList) { let resultList = [] for (var i = 0; i < newList.length; i++) { let _index = _.findIndex(resultList, function (item) { - return ( - item.bh == newList[i].bh - ) + return item.bh == newList[i].bh }) - if (_index <0) { + if (_index < 0) { resultList.push(newList[i]) } } diff --git a/src/utils/index.js b/src/utils/index.js index f63de38..d541b85 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -419,6 +419,9 @@ export const getExpireDate = ( effectivePeriod, effectivePeriodUnit ) => { + if(effectivePeriod === "NA" || effectivePeriodUnit === "NA"){ + return "NA"; + } const start = moment(startDate) const unit = effectivePeriodUnit === '天' ? 'days' : 'hours' const end = start diff --git a/src/utils/ruoyi.js b/src/utils/ruoyi.js index 3de2d98..a5af056 100644 --- a/src/utils/ruoyi.js +++ b/src/utils/ruoyi.js @@ -13,12 +13,15 @@ export function parseTime(time, pattern) { if (typeof time === 'object') { date = time } else { - if ((typeof time === 'string') && (/^[0-9]+$/.test(time))) { + if (typeof time === 'string' && /^[0-9]+$/.test(time)) { time = parseInt(time) } else if (typeof time === 'string') { - time = time.replace(new RegExp(/-/gm), '/').replace('T', ' ').replace(new RegExp(/\.[\d]{3}/gm), '') + time = time + .replace(new RegExp(/-/gm), '/') + .replace('T', ' ') + .replace(new RegExp(/\.[\d]{3}/gm), '') } - if ((typeof time === 'number') && (time.toString().length === 10)) { + if (typeof time === 'number' && time.toString().length === 10) { time = time * 1000 } date = new Date(time) @@ -35,7 +38,9 @@ export function parseTime(time, pattern) { const time_str = format.replace(/{(y|m|d|h|i|s|a)+}/g, (result, key) => { let value = formatObj[key] // Note: getDay() returns 0 on Sunday - if (key === 'a') { return ['日', '一', '二', '三', '四', '五', '六'][value] } + if (key === 'a') { + return ['日', '一', '二', '三', '四', '五', '六'][value] + } if (result.length > 0 && value < 10) { value = '0' + value } @@ -46,17 +51,24 @@ export function parseTime(time, pattern) { // 表单重置 export function resetForm(refName) { - if (this.$refs[refName]) { - this.$refs[refName].resetFields() - } + setTimeout(() => { + if (this.$refs[refName]) { + this.$refs[refName].resetFields() + } + }, 100) } // 添加日期范围 export function addDateRange(params, dateRange, propName) { let search = params - search.params = typeof (search.params) === 'object' && search.params !== null && !Array.isArray(search.params) ? search.params : {} + search.params = + typeof search.params === 'object' && + search.params !== null && + !Array.isArray(search.params) + ? search.params + : {} dateRange = Array.isArray(dateRange) ? dateRange : [] - if (typeof (propName) === 'undefined') { + if (typeof propName === 'undefined') { search.params['beginTime'] = dateRange[0] search.params['endTime'] = dateRange[1] } else { @@ -69,11 +81,11 @@ export function addDateRange(params, dateRange, propName) { // 回显数据字典 export function selectDictLabel(datas, value) { if (value === undefined) { - return "" + return '' } var actions = [] Object.keys(datas).some((key) => { - if (datas[key].value == ('' + value)) { + if (datas[key].value == '' + value) { actions.push(datas[key].label) return true } @@ -86,19 +98,19 @@ export function selectDictLabel(datas, value) { // 回显数据字典(字符串、数组) export function selectDictLabels(datas, value, separator) { - if (value === undefined || value.length ===0) { - return "" + if (value === undefined || value.length === 0) { + return '' } if (Array.isArray(value)) { - value = value.join(",") + value = value.join(',') } var actions = [] - var currentSeparator = undefined === separator ? "," : separator + var currentSeparator = undefined === separator ? ',' : separator var temp = value.split(currentSeparator) Object.keys(value.split(currentSeparator)).some((val) => { var match = false Object.keys(datas).some((key) => { - if (datas[key].value == ('' + temp[val])) { + if (datas[key].value == '' + temp[val]) { actions.push(datas[key].label + currentSeparator) match = true } @@ -112,7 +124,9 @@ export function selectDictLabels(datas, value, separator) { // 字符串格式化(%s ) export function sprintf(str) { - var args = arguments, flag = true, i = 1 + var args = arguments, + flag = true, + i = 1 str = str.replace(/%s/g, function () { var arg = args[i++] if (typeof arg === 'undefined') { @@ -126,8 +140,8 @@ export function sprintf(str) { // 转换字符串,undefined,null等转化为"" export function parseStrEmpty(str) { - if (!str || str == "undefined" || str == "null") { - return "" + if (!str || str == 'undefined' || str == 'null') { + return '' } return str } @@ -185,25 +199,29 @@ export function handleTree(data, id, parentId, children) { } /** -* 参数处理 -* @param {*} params 参数 -*/ + * 参数处理 + * @param {*} params 参数 + */ export function tansParams(params) { let result = '' for (const propName of Object.keys(params)) { const value = params[propName] - var part = encodeURIComponent(propName) + "=" - if (value !== null && value !== "" && typeof (value) !== "undefined") { + var part = encodeURIComponent(propName) + '=' + if (value !== null && value !== '' && typeof value !== 'undefined') { if (typeof value === 'object') { for (const key of Object.keys(value)) { - if (value[key] !== null && value[key] !== "" && typeof (value[key]) !== 'undefined') { + if ( + value[key] !== null && + value[key] !== '' && + typeof value[key] !== 'undefined' + ) { let params = propName + '[' + key + ']' - var subPart = encodeURIComponent(params) + "=" - result += subPart + encodeURIComponent(value[key]) + "&" + var subPart = encodeURIComponent(params) + '=' + result += subPart + encodeURIComponent(value[key]) + '&' } } } else { - result += part + encodeURIComponent(value) + "&" + result += part + encodeURIComponent(value) + '&' } } } diff --git a/src/views/business/comps/template/TemplateTable.vue b/src/views/business/comps/template/TemplateTable.vue index 6da29db..a8c0f68 100644 --- a/src/views/business/comps/template/TemplateTable.vue +++ b/src/views/business/comps/template/TemplateTable.vue @@ -52,9 +52,6 @@ import DMYPPZJLB from "./comps/gsp/DMYPPZJLB.vue"; // PCR //PCR001-使用SP001 -import PCR002 from "./comps/pcr/PCR002.vue"; -import PCR003 from "./comps/pcr/PCR003.vue"; -import PCR004 from "./comps/pcr/PCR004.vue"; import PCR005 from "./comps/pcr/PCR005.vue"; import PCR007 from "./comps/pcr/PCR007.vue"; import PCR008 from "./comps/pcr/PCR008.vue"; @@ -68,9 +65,9 @@ import PCR012 from "./comps/pcr/PCR012.vue"; import LBA002 from "./comps/lba/LBA002.vue"; import LBA003 from "./comps/lba/LBA003.vue"; import LBA004 from "./comps/lba/LBA004.vue"; -import LBA005 from "./comps/lba/LBA005.vue"; +// LBA005-使用SP456 import LBA006 from "./comps/lba/LBA006.vue"; -import LBA007 from "./comps/lba/LBA007.vue"; +// LBA007-使用SP456 import LBA008 from "./comps/lba/LBA008.vue"; //ADA @@ -78,9 +75,9 @@ import LBA008 from "./comps/lba/LBA008.vue"; // ADA002-使用LBA002 // ADA003-使用LBA003 // ADA004-使用LBA004 -// ADA005-使用LBA005 +// ADA005-使用SP456 // ADA006-使用LBA006 -// ADA007-使用LBA007 +// ADA007-使用SP456 //样品 // YP001-使用SP001 @@ -140,14 +137,12 @@ export default { //色谱 SP001, SP003, SP00456,SP007, SP008, SP009,SP0019,SP0020,SP0021, // PCR - PCR002, PCR003, PCR004, PCR005,PCR007, PCR008, PCR009,PCR010, PCR011, PCR012, + PCR005,PCR007, PCR008, PCR009,PCR010, PCR011, PCR012, //LBA LBA002, LBA003, LBA004, - LBA005, LBA006, - LBA007, LBA008, //样品 YP002, @@ -340,6 +335,14 @@ export default { 'DL022': 'DL022', 'DL023': 'DL023', 'DL024': 'DL024', + + //公共 + 'GG001': 'DL011', + 'GG002': 'DL012', + 'GG003': 'SP001', + 'GG004': 'SP001', + 'GG005': 'GSP001', + 'GG006': 'GSP002', } } return this.componentMap || "Demo" @@ -360,10 +363,13 @@ export default { if (v.zdxgjl) { this.zdxgjl = JSON.parse(v.zdxgjl) || []; } + if (v.submittedCodes) { + this.submittedCodes = JSON.parse(v.submittedCodes) || []; + } if (v.fhyjjl) { this.fhyjjl = JSON.parse(v.fhyjjl) || []; } - if (v.zdgxjl) { + if (v.zdgxjl) {//qc勾选记录 this.fieldCheckObj = JSON.parse(v.zdgxjl) || {}; } } @@ -376,12 +382,20 @@ export default { templateData: this.templateData, templateFillType: this.fillType, getZdxgjl: () => this.zdxgjl, + getSubmittedCodes: () => this.submittedCodes, getFhyjjl: () => this.fhyjjl, getFieldCheckObj: () => this.fieldCheckObj, //更新提交记录 updateZdxgjl: (data) => { this.zdxgjl.unshift(data); }, + //更新已提交数据的codes + updateSubmittedCodes: (code) => { + if(!this.submittedCodes.includes(code)){ + this.submittedCodes.unshift(code); + return + } + }, //更新复核意见记录 updateFhyjjl: (data) => { this.fhyjjl.unshift(data); @@ -406,6 +420,7 @@ export default { currentEditSignUuid: null, // 当前请求EditSign的HandleFormItem的uuid latestParams: {},//用于存储最新的params hasCustomTable: false,//是否有自定义表格 + submittedCodes: [],//用于记录已提交数据的codes }; }, created() { @@ -490,11 +505,14 @@ export default { this.currentEditSignUuid = null; } }, + // 检查是否有未填写的复核意见 + isReply(){ + return this.fhyjjl.every((item) => !!item.content && !!item.reply) + }, async getFormData() { if (this.fillType === "actFill") { //检查是否有未填写的复核意见 - const flag = this.fhyjjl.every((item) => !!item.content && !!item.reply) - console.log(this.fhyjjl, flag, "flag") + const flag = this.isReply() if (!flag) { this.$message.error("疑问项还未回复,请回复后再提交"); return; diff --git a/src/views/business/comps/template/comps/dl/DL006.vue b/src/views/business/comps/template/comps/dl/DL006.vue index 724453c..81be375 100644 --- a/src/views/business/comps/template/comps/dl/DL006.vue +++ b/src/views/business/comps/template/comps/dl/DL006.vue @@ -1,4 +1,4 @@ - + diff --git a/src/views/business/resource/gsp/comps/gsp/Ff.vue b/src/views/business/resource/gsp/comps/gsp/Ff.vue index 7902e68..24c5e6c 100644 --- a/src/views/business/resource/gsp/comps/gsp/Ff.vue +++ b/src/views/business/resource/gsp/comps/gsp/Ff.vue @@ -123,7 +123,7 @@ - + @@ -222,9 +222,10 @@ import { mapGetters } from 'vuex' import SelectList from "./SelectList"; import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; import SelectStudy from '@/views/business/comps/select/SelectStudy'; +import BusinessSelect from '@/views/business/comps/select/BusinessSelect'; export default { name: "Ff", - components: { SelectList, SelectDeptUser, SelectStudy }, + components: { SelectList, SelectDeptUser, SelectStudy, BusinessSelect }, data() { return { isBatch: false, diff --git a/src/views/business/resource/gsp/comps/gsp/Xq copy.vue b/src/views/business/resource/gsp/comps/gsp/Xq copy.vue new file mode 100644 index 0000000..3bb2f68 --- /dev/null +++ b/src/views/business/resource/gsp/comps/gsp/Xq copy.vue @@ -0,0 +1,237 @@ + + + diff --git a/src/views/business/resource/gsp/comps/gsp/Xz.vue b/src/views/business/resource/gsp/comps/gsp/Xz.vue index 74f4520..8976bf2 100644 --- a/src/views/business/resource/gsp/comps/gsp/Xz.vue +++ b/src/views/business/resource/gsp/comps/gsp/Xz.vue @@ -47,7 +47,7 @@ + dictType="business_zldw,business_tjdw"> @@ -107,7 +107,7 @@ - + diff --git a/src/views/business/resource/gsp/comps/gsp/Ysff.vue b/src/views/business/resource/gsp/comps/gsp/Ysff.vue index e98b6f3..f9e3bf8 100644 --- a/src/views/business/resource/gsp/comps/gsp/Ysff.vue +++ b/src/views/business/resource/gsp/comps/gsp/Ysff.vue @@ -4,26 +4,30 @@ -
+
- - - + + - - - - + + + -
- - + + @@ -55,8 +57,7 @@ - + @@ -64,13 +65,12 @@ - + - + @@ -78,13 +78,12 @@ - + - + @@ -92,14 +91,14 @@ - +
-
@@ -118,10 +117,10 @@ import { ysff } from "@/api/business/mjy/mjy" import { mapGetters } from 'vuex' import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; - +import SelectZcg from '@/views/business/comps/select/SelectZcg'; export default { name: "Ysff", - components: {SelectDeptUser}, + components: { SelectDeptUser, SelectZcg }, data() { return { ids: [], @@ -139,27 +138,27 @@ export default { message: ' ', trigger: 'blur' }], - lqr2mm:[{ + lqr2mm: [{ required: true, message: ' ', trigger: 'blur' }], - lqr1mm:[{ + lqr1mm: [{ required: true, message: ' ', trigger: 'blur' }], - lqr1Id:[{ + lqr1Id: [{ required: true, message: ' ', trigger: 'blur' }], - lqr2Id:[{ + lqr2Id: [{ required: true, message: ' ', trigger: 'blur' }], - ffrmm:[{ + ffrmm: [{ required: true, message: ' ', trigger: 'blur' diff --git a/src/views/business/resource/gsp/comps/gspList.vue b/src/views/business/resource/gsp/comps/gspList.vue index 530ff38..8417c4d 100644 --- a/src/views/business/resource/gsp/comps/gspList.vue +++ b/src/views/business/resource/gsp/comps/gspList.vue @@ -113,6 +113,7 @@ + diff --git a/src/views/business/resource/gsp/comps/rkjl/Xz.vue b/src/views/business/resource/gsp/comps/rkjl/Xz.vue index 75f39f1..545c642 100644 --- a/src/views/business/resource/gsp/comps/rkjl/Xz.vue +++ b/src/views/business/resource/gsp/comps/rkjl/Xz.vue @@ -49,7 +49,7 @@ + dictType="business_zldw,business_tjdw"> diff --git a/src/views/business/resource/gsp/comps/rkjlList.vue b/src/views/business/resource/gsp/comps/rkjlList.vue index 7d7e69f..ae6feaf 100644 --- a/src/views/business/resource/gsp/comps/rkjlList.vue +++ b/src/views/business/resource/gsp/comps/rkjlList.vue @@ -7,22 +7,22 @@ - + - - - + + - + - + @@ -33,7 +33,7 @@ - + @@ -42,8 +42,8 @@ - - + @@ -82,6 +82,9 @@ {{ $t('form.export') }} + +
{{ $t('page.business.resource.gsp.rkl') }}:{{ rkl }}
+
@@ -185,7 +188,7 @@ diff --git a/src/views/business/storageLocation/list.vue b/src/views/business/storageLocation/list.vue index 672f62f..330fc80 100644 --- a/src/views/business/storageLocation/list.vue +++ b/src/views/business/storageLocation/list.vue @@ -114,7 +114,8 @@ -
+ @@ -126,19 +127,21 @@ + diff --git a/src/views/business/study/comp/tbbd/Jq.vue b/src/views/business/study/comp/tbbd/Jq.vue index 8e90acd..cb00571 100644 --- a/src/views/business/study/comp/tbbd/Jq.vue +++ b/src/views/business/study/comp/tbbd/Jq.vue @@ -3,11 +3,11 @@ -
+
- + @@ -36,7 +36,7 @@ - @@ -85,7 +85,7 @@ export default { }, computed: { ...mapGetters([ - 'nickName','name' + 'nickName', 'name' ]), }, created() { @@ -108,6 +108,11 @@ export default { this.form.id = row.id this.open = true }, + validForm() { + this.$refs["form"].validate(valid => { + if (valid) { } + }) + }, save() { this.$refs["form"].validate(valid => { if (valid) { diff --git a/src/views/business/study/comp/tbbdList.vue b/src/views/business/study/comp/tbbdList.vue index fa5355b..b9efeaa 100644 --- a/src/views/business/study/comp/tbbdList.vue +++ b/src/views/business/study/comp/tbbdList.vue @@ -1,66 +1,49 @@ @@ -164,6 +151,8 @@ + + @@ -192,6 +181,7 @@ import Qrfz from "./tbbd/Qrfz"; import Jq from "./tbbd/Jq"; import Ghgsr from "./tbbd/Ghgsr"; import Gc from "./tbbd/Gc"; +import Blxjsh from "./tbbd/Blxjsh"; import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; import SelectDeptUserDialog from '@/views/business/comps/select/SelectDeptUserDialog'; import { caesarCipher } from "@/utils/index"; @@ -238,6 +228,7 @@ export default { }, mounted() { EventBus.$on('onRefreshStudyTbbdList', (data) => { + debugger this.getList() }); }, @@ -245,7 +236,7 @@ export default { // 记得移除监听,避免内存泄漏 EventBus.$off('onRefreshStudyTbbdList'); }, - components: { Ghgsr, Fh, Fz, Bj, Xq, Qrfz, Sy, Jq, Gc, SelectDeptUser, SelectDeptUserDialog }, + components: { Ghgsr, Fh, Fz, Bj, Xq, Qrfz, Sy, Jq, Gc,Blxjsh, SelectDeptUser, SelectDeptUserDialog }, data() { return { isMatchSubject: false, @@ -253,6 +244,7 @@ export default { leader: null, showFh: false, showAudit: false, + showBlxjsh: false, showEdit: false, showDetail: false, daterangetj: [], @@ -386,7 +378,7 @@ export default { getList() { if (this.daterange != null && this.daterange.length > 0) { this.searchForm.cjsjks = this.daterange[0] - this.searchForm.cjsjjs = moment().add(this.daterange[1], 'days').format('YYYY-MM-DD'); + this.searchForm.cjsjjs = moment(this.daterange[1]).add(1, 'days').format('YYYY-MM-DD'); } else { this.searchForm.cjsjks = '' this.searchForm.cjsjjs = '' @@ -492,6 +484,11 @@ export default { this.$emit('showDetail', this.showFh) this.search() }, + blxjshClose() { + this.showBlxjsh = false + this.$emit('showDetail', this.showBlxjsh) + this.search() + }, detail(row) { this.showDetail = true this.$emit('showDetail', this.showDetail) @@ -515,6 +512,20 @@ export default { }).finally(() => { this.$modal.closeLoading() }) + }, + blxjsh(row) { + this.$modal.loading() + studyMethod_getReadAllMethodStatus({ userId: this.id, studyId: this.searchForm.studyId, studySubjectId: this.searchForm.studySubjectId }).then(response => { + if (response.data.toUrl) { + this.toRead(response.data) + } else { + this.showBlxjsh = true + this.$emit('showDetail', this.showBlxjsh) + this.$refs.Blxjsh.show(row) + } + }).finally(() => { + this.$modal.closeLoading() + }) }, } } diff --git a/src/views/business/study/comp/wzlb/bacteriaList.vue b/src/views/business/study/comp/wzlb/bacteriaList.vue index 9c9a0ae..820a9ea 100644 --- a/src/views/business/study/comp/wzlb/bacteriaList.vue +++ b/src/views/business/study/comp/wzlb/bacteriaList.vue @@ -5,22 +5,22 @@
- + - + - + - + diff --git a/src/views/business/study/comp/wzlb/cellList.vue b/src/views/business/study/comp/wzlb/cellList.vue index c4a42aa..e57cad2 100644 --- a/src/views/business/study/comp/wzlb/cellList.vue +++ b/src/views/business/study/comp/wzlb/cellList.vue @@ -5,27 +5,27 @@
- + - + - + - + - + diff --git a/src/views/business/study/comp/wzlb/gspList.vue b/src/views/business/study/comp/wzlb/gspList.vue index 26662ac..d9663e1 100644 --- a/src/views/business/study/comp/wzlb/gspList.vue +++ b/src/views/business/study/comp/wzlb/gspList.vue @@ -5,17 +5,17 @@
- + - + - + @@ -27,7 +27,7 @@ - + @@ -59,6 +59,14 @@ + + +