|
|
@ -10,6 +10,16 @@ |
|
|
|
style="width: 200px" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="getColumnName('LabelHead-BusinessObjId')"> |
|
|
|
<el-input |
|
|
|
v-model.trim="queryParams.BusinessObjId" |
|
|
|
placeholder="请输入查询内容" |
|
|
|
clearable |
|
|
|
size="small" |
|
|
|
style="width: 200px" |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
<!-- LabelHead-BusinessObjId --> |
|
|
|
<el-form-item> |
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> |
|
|
|
</el-form-item> |
|
|
@ -114,7 +124,8 @@ export default { |
|
|
|
queryParams: { |
|
|
|
pageNumber: 1, |
|
|
|
pageSize: 10, |
|
|
|
LabelId: undefined |
|
|
|
LabelId: undefined, |
|
|
|
BusinessObjId: undefined, |
|
|
|
}, |
|
|
|
// 明细表数据 |
|
|
|
form: [], |
|
|
@ -127,7 +138,10 @@ export default { |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getStanderOne({ statid: 'PrintHead-Status' }).then(res => { |
|
|
|
this.statusArray = res.data |
|
|
|
this.statusArray = res.data.map(el => { |
|
|
|
el['stdeftab-stdeftyp'] = Number(el['stdeftab-stdeftyp']) |
|
|
|
return el |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
mounted() { |
|
|
@ -162,6 +176,7 @@ export default { |
|
|
|
/** 搜索按钮操作 */ |
|
|
|
handleQuery() { |
|
|
|
if (this.queryParams.LabelId === '') this.queryParams.LabelId = undefined |
|
|
|
if (this.queryParams.BusinessObjId === '') this.queryParams.BusinessObjId = undefined |
|
|
|
this.queryParams.pageNumber = 1 |
|
|
|
this.getList() |
|
|
|
}, |
|
|
@ -172,6 +187,7 @@ export default { |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
row['LabelHead-Status'] = 0 |
|
|
|
updatePrinthead(row).then(response => { |
|
|
|
this.getList() |
|
|
|
this.msgSuccess('提交成功') |
|
|
|