Commit b9533568 by lichengming

修改了出检管理个人检测任务按模板编制按钮

parent 67c9a9f7
...@@ -152,6 +152,11 @@ export default { ...@@ -152,6 +152,11 @@ export default {
name: '在线编制证书' name: '在线编制证书'
}, },
{ {
type: 'ios-bookmarks',
id: 'meter-out-personal-task-create-o',
name: '按模板编制证书'
},
{
type: 'md-create', type: 'md-create',
id: 'meter-out-personal-task-result-o', id: 'meter-out-personal-task-result-o',
name: '检测结果' name: '检测结果'
...@@ -364,6 +369,9 @@ export default { ...@@ -364,6 +369,9 @@ export default {
case '在线编制证书': case '在线编制证书':
this._makeCertificateExcel(data) this._makeCertificateExcel(data)
break break
case '按模板编制证书':
this._makeCertificateExcelByTemp(data)
break
case '仪器领用': case '仪器领用':
this.$refs.InstruEdit._open(data.id) this.$refs.InstruEdit._open(data.id)
break break
...@@ -479,6 +487,9 @@ export default { ...@@ -479,6 +487,9 @@ export default {
this._reportMakeLook(data) this._reportMakeLook(data)
} }
}, },
_makeCertificateExcelByTemp(data) {
this.$refs.SelectOriTempRecordExcel._open(data.id, data)
},
_reportMakeLook: async function(data) { _reportMakeLook: async function(data) {
const result = await meterSample.getCertificateReport(data.id) const result = await meterSample.getCertificateReport(data.id)
if (result) { if (result) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment