装册修改

main
JiilingLee 1 year ago
parent 01a7115bd6
commit dee98463b7

@ -81,14 +81,6 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="关联号" prop="flowId">
<el-input
v-model="queryParams.flowId"
placeholder="请输入关联号"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="状态" prop="status">
<el-select
v-model="queryParams.status"
@ -178,7 +170,6 @@
<el-table-column label="全宗号" align="center" prop="caseNum" />
<el-table-column label="目录号" align="center" prop="catalogNum" />
<el-table-column label="案卷号" align="center" prop="filesNum" />
<el-table-column label="关联号" align="center" prop="flowId" />
<el-table-column
label="创建日期"
align="center"
@ -318,11 +309,7 @@
<el-input v-model="form.filesNum" placeholder="" readonly />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="关联号" prop="flowId">
<el-input v-model="form.flowId" placeholder="" readonly />
</el-form-item>
</el-col>
</el-row>
<!-- <el-form-item label="状态待装册,已装册" prop="status">
<el-radio-group v-model="form.status">
@ -331,6 +318,23 @@
</el-form-item> -->
<el-row>
<el-col :span="8">
<el-form-item label="负责人" prop="manegeName">
<el-select
v-model="form.manegeName"
filterable
placeholder="负责人"
value-key="id"
@change="handleSelectUser"
>
<el-option
v-for="item in userOptions"
:key="item.id"
:value="item"
:label="item.username"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="装册时间" prop="packageTime">
<el-date-picker
clearable
@ -377,12 +381,15 @@ import {
exportPackagesExcel,
} from "@/api/archives/packages";
import ArchivesSelect from "@/components/ArchivesSelect/single.vue";
import { listUser } from "@/api/system/user";
export default {
name: "Packages",
components: { ArchivesSelect },
data() {
return {
userOptions: [], //
//
loading: true,
//
@ -435,8 +442,19 @@ export default {
},
created() {
this.getList();
this.getUserList();
},
methods: {
//
getUserList() {
listUser().then((response) => {
this.userOptions = response.data.list;
});
},
handleSelectUser(val) {
this.form.manegeName = val.username;
},
/** 查询列表 */
getList() {
this.loading = true;
@ -570,8 +588,8 @@ export default {
onArchivesSelected(obj) {
console.log(obj);
if (obj != undefined && obj != null) {
this.form.company = obj.company;
this.form.companyId = obj.companyId;
this.form.company = obj.site;
this.form.companyId = obj.organizationId;
this.form.depotName = obj.depotName;
this.form.depotId = obj.depotId;
this.form.cabinetName = obj.cabinetName;

Loading…
Cancel
Save