|
@@ -27,8 +27,8 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="状态">
|
|
<el-form-item label="状态">
|
|
<el-select v-model="filter.status" placeholder="状态" clearable>
|
|
<el-select v-model="filter.status" placeholder="状态" clearable>
|
|
- <el-option value="BACK" label="已处理"></el-option>
|
|
|
|
- <el-option value="WAITING" label="未处理"></el-option>
|
|
|
|
|
|
+ <el-option value="BACK" label="已打回"></el-option>
|
|
|
|
+ <el-option value="WAITING" label="未打回"></el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="密号">
|
|
<el-form-item label="密号">
|
|
@@ -49,7 +49,7 @@
|
|
:disabled="!multipleSelection.length"
|
|
:disabled="!multipleSelection.length"
|
|
@click="toBatchReset"
|
|
@click="toBatchReset"
|
|
>
|
|
>
|
|
- 批量处理
|
|
|
|
|
|
+ 批量打回
|
|
</el-button>
|
|
</el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -124,7 +124,13 @@
|
|
:disabled="scope.row.status === 'BACK'"
|
|
:disabled="scope.row.status === 'BACK'"
|
|
type="text"
|
|
type="text"
|
|
@click="toSimpleReset(scope.row)"
|
|
@click="toSimpleReset(scope.row)"
|
|
- >处理</el-button
|
|
|
|
|
|
+ >打回</el-button
|
|
|
|
+ >
|
|
|
|
+ <el-button
|
|
|
|
+ class="btn-primary"
|
|
|
|
+ type="text"
|
|
|
|
+ @click="toViewSheetPaper(scope.row)"
|
|
|
|
+ >原图</el-button
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -143,6 +149,14 @@
|
|
</el-pagination>
|
|
</el-pagination>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
|
|
+ <!-- image-preview -->
|
|
|
|
+ <simple-image-preview
|
|
|
|
+ :cur-image="curImage"
|
|
|
|
+ @on-prev="toPrevImage"
|
|
|
|
+ @on-next="toNextImage"
|
|
|
|
+ ref="SimpleImagePreview"
|
|
|
|
+ ></simple-image-preview>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -152,9 +166,11 @@ import {
|
|
markIssueReset,
|
|
markIssueReset,
|
|
markGroupQuestions,
|
|
markGroupQuestions,
|
|
} from "../../api";
|
|
} from "../../api";
|
|
|
|
+import SimpleImagePreview from "@/components/SimpleImagePreview";
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: "mark-detail-issue",
|
|
name: "mark-detail-issue",
|
|
|
|
+ components: { SimpleImagePreview },
|
|
props: {
|
|
props: {
|
|
baseInfo: {
|
|
baseInfo: {
|
|
type: Object,
|
|
type: Object,
|
|
@@ -178,6 +194,10 @@ export default {
|
|
questions: [],
|
|
questions: [],
|
|
multipleSelection: [],
|
|
multipleSelection: [],
|
|
chartData: {},
|
|
chartData: {},
|
|
|
|
+ // img view
|
|
|
|
+ curImage: {},
|
|
|
|
+ curImageIndex: 0,
|
|
|
|
+ imageList: [],
|
|
};
|
|
};
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -245,6 +265,34 @@ export default {
|
|
this.$message.success("操作成功!");
|
|
this.$message.success("操作成功!");
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
|
|
+ // img view
|
|
|
|
+ toViewSheetPaper(row) {
|
|
|
|
+ this.curImageIndex = 0;
|
|
|
|
+ this.imageList = row.sheetUrls || [];
|
|
|
|
+ this.selectImage(this.curImageIndex);
|
|
|
|
+ this.$refs.SimpleImagePreview.open();
|
|
|
|
+ },
|
|
|
|
+ selectImage(index) {
|
|
|
|
+ this.curImage = this.imageList[index];
|
|
|
|
+ },
|
|
|
|
+ toPrevImage() {
|
|
|
|
+ if (this.curImageIndex === 0) {
|
|
|
|
+ this.curImageIndex = this.imageList.length - 1;
|
|
|
|
+ } else {
|
|
|
|
+ this.curImageIndex--;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ this.selectImage(this.curImageIndex);
|
|
|
|
+ },
|
|
|
|
+ toNextImage() {
|
|
|
|
+ if (this.curImageIndex === this.imageList.length - 1) {
|
|
|
|
+ this.curImageIndex = 0;
|
|
|
|
+ } else {
|
|
|
|
+ this.curImageIndex++;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ this.selectImage(this.curImageIndex);
|
|
|
|
+ },
|
|
},
|
|
},
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|