You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.0 KiB
74 lines
2.0 KiB
<template> |
|
<div> |
|
<el-form ref="form" inline @submit.native.prevent> |
|
<el-row> |
|
<el-col :span="6"> |
|
<el-form-item label="流程卡号:"> |
|
<el-input |
|
ref="codeFocus" |
|
v-model="cardNo" |
|
placeholder="请扫描流程卡号" |
|
@keyup.enter.native="codeKeyUp" |
|
/> |
|
</el-form-item> |
|
</el-col> |
|
<el-col :span="4"> |
|
<el-form-item style="margin: 0px 20px 0px 20px"> |
|
<el-switch v-model="line" active-text="上线前" inactive-text="下线后" /> |
|
</el-form-item> |
|
</el-col> |
|
<el-col :span="6"> |
|
<el-form-item> |
|
<el-button |
|
:disabled="preserveSlotList.length == 0" |
|
style="margin-top: 4px" |
|
type="primary" |
|
@click="onSubmit" |
|
>保存</el-button |
|
> |
|
</el-form-item> |
|
</el-col> |
|
</el-row> |
|
</el-form> |
|
<el-card class="box-card"> |
|
<div slot="header" class="clearfix"> |
|
<span style="color: rgb(85, 85, 243)">电子档案</span> |
|
</div> |
|
</el-card> |
|
</div> |
|
</template> |
|
<script> |
|
export default { |
|
data() { |
|
return { |
|
cardNo: '', |
|
preserveSlotList: [], |
|
line: true, |
|
obj: {}, |
|
}; |
|
}, |
|
methods: { |
|
codeKeyUp() { |
|
if (this.cardNo) { |
|
// this.$ajax |
|
// .post('prMakeRec/remarryRedeemRetrospectDefend', { |
|
// cardNo: this.cardNo, |
|
// line: this.line |
|
// }) |
|
// .then((res) => { |
|
// if (this.$ifAjax(res)) { |
|
// if ( |
|
// res.data != null && |
|
// res.data.dsRbFilePreserveSlotList.length <= 0 |
|
// ) { |
|
// return this.$message.warning('暂未查到对应的数据'); |
|
// } |
|
// this.preserveSlotList = res.data.dsRbFilePreserveSlotList; |
|
// this.obj = res.data; |
|
// } |
|
// }); |
|
} |
|
}, |
|
}, |
|
}; |
|
</script> |