装册修改

main
JiilingLee 1 year ago
parent 01a7115bd6
commit dee98463b7

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

Loading…
Cancel
Save