|
@@ -56,6 +56,20 @@
|
|
|
></Option>
|
|
|
</Select>
|
|
|
</FormItem>
|
|
|
+ <FormItem>
|
|
|
+ <Select
|
|
|
+ v-model="filter.scanUserId"
|
|
|
+ placeholder="选择采集账号"
|
|
|
+ clearable
|
|
|
+ >
|
|
|
+ <Option
|
|
|
+ v-for="user in scanUsers"
|
|
|
+ :key="user.id"
|
|
|
+ :value="user.name"
|
|
|
+ :label="user.name"
|
|
|
+ ></Option>
|
|
|
+ </Select>
|
|
|
+ </FormItem>
|
|
|
<FormItem>
|
|
|
<Input
|
|
|
v-model.trim="filter.studentName"
|
|
@@ -115,7 +129,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { paperPageList, subjectList, areaList } from "@/api";
|
|
|
+import { paperPageList, subjectList, areaList, clientUserQuery } from "@/api";
|
|
|
import { SORT_RULE_TYPE, CAFA_EXCEPTION_TYPE } from "@/constants/enumerate";
|
|
|
import ImageActionList from "./components/ImageActionList";
|
|
|
import SimpleImagePreview from "@/components/SimpleImagePreview";
|
|
@@ -133,6 +147,7 @@ export default {
|
|
|
endNumber: null,
|
|
|
subject: "",
|
|
|
sortBy: "",
|
|
|
+ scanUserId: "",
|
|
|
isManual: null,
|
|
|
missing: null,
|
|
|
isRelate: null
|
|
@@ -147,6 +162,7 @@ export default {
|
|
|
totalPage: 0,
|
|
|
papers: [],
|
|
|
subjects: [],
|
|
|
+ scanUsers: [],
|
|
|
areas: [],
|
|
|
curPaper: {},
|
|
|
curPaperIndex: 0
|
|
@@ -171,6 +187,7 @@ export default {
|
|
|
if (!this.filter.areaCode) {
|
|
|
this.filter.areaCode = this.areas[0].areaCode;
|
|
|
}
|
|
|
+ this.getScanUsers();
|
|
|
this.toPage(1);
|
|
|
},
|
|
|
async getList() {
|
|
@@ -234,6 +251,10 @@ export default {
|
|
|
const data = await subjectList(this.filter.workId);
|
|
|
this.subjects = data.filter(item => item.enable);
|
|
|
},
|
|
|
+ async getScanUsers() {
|
|
|
+ const data = await clientUserQuery(this.filter.workId);
|
|
|
+ this.scanUsers = data.data;
|
|
|
+ },
|
|
|
typeChange() {
|
|
|
if (this.paperType === "2") {
|
|
|
this.filter.isManual = null;
|