From f89867e71936474a1afd1994e49a3f55d937ec33 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Wed, 10 Jan 2024 10:08:58 +0800
Subject: [PATCH] 取保候审优化
---
src/views/publicSecurity/components/labelReporting.vue | 360 +++++++++++++++++++++++++++++------------------------------
1 files changed, 178 insertions(+), 182 deletions(-)
diff --git a/src/views/publicSecurity/components/labelReporting.vue b/src/views/publicSecurity/components/labelReporting.vue
index 55845f2..5a56179 100644
--- a/src/views/publicSecurity/components/labelReporting.vue
+++ b/src/views/publicSecurity/components/labelReporting.vue
@@ -1,205 +1,201 @@
<template>
- <div class="cur-container-box">
- <div v-if="applyType == 1">
- <div class="content-box">
- 审核当前项
- </div>
- <div class="footer-btn-box">
- <el-button type="primary" size="small" @click="auditPass(2)">通 过</el-button>
- <el-button size="small" @click="auditPass(3)">驳 回</el-button>
- </div>
- </div>
-
- <avue-form v-else :option="option" v-model="form"></avue-form>
+ <div class="cur-container-box">
+ <div v-if="applyType == 1">
+ <div class="content-box">
+ 审核当前项
+ </div>
+ <div class="footer-btn-box">
+ <el-button type="primary" size="small" @click="auditPass(2)">通 过</el-button>
+ <el-button size="small" @click="auditPass(3)">驳 回</el-button>
+ </div>
</div>
+
+ <avue-form v-else :option="option" v-model="form"></avue-form>
+ </div>
</template>
<script>
-import {
+ import {
getDetail,
update
-} from "@/api/task/labelReporting"
-import website from '@/config/website'
-export default {
- data () {
- return {
- form: {},
- applyType: '',
- option: {
- submitBtn: false,
- emptyBtn: false,
- column: [{
- label: '房屋名称',
- prop: 'houseName',
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '手机号',
- prop: 'phoneNumber',
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '对象电话',
- prop: 'transactionObjectTel',
- disabled: true,
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '交易金额',
- prop: 'transactionMoney',
- disabled: true,
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '物品数量',
- prop: 'goodsNums',
- disabled: true,
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '发生时间',
- prop: 'happenTime',
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '审核时间',
- prop: 'confirmTime',
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '位置',
- prop: 'localtion',
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '审核意见',
- prop: 'confirmNotion',
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '审核状态',
- prop: 'confirmFlag',
- type: 'select',
- dicData: [{
- label: '待审核',
- value: '1'
- }, {
- label: '审核通过',
- value: '2'
- }, {
- label: '审核不通过',
- value: '3'
- }],
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '交易对象',
- prop: 'transactionObject',
- disabled: true,
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '交易过程',
- prop: 'transactionProcess',
- disabled: true,
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- label: '物品照片',
- prop: 'goodsImageUrls',
- fileType: 'img',
- type: "upload",
- listType: "picture-card",
- dataType: "string",
- disabled: true,
- disabled: true,
- span: 8,
- labelWidth: 120,
- }, {
- width: 110,
- label: '身份证图片',
- prop: 'imageUrls',
- fileType: 'img',
- type: "upload",
- listType: "picture-card",
- dataType: "string",
- disabled: true,
- span: 8,
- labelWidth: 120,
- },]
- }
+ } from "@/api/task/labelReporting"
+ import website from '@/config/website'
+ export default {
+ data() {
+ return {
+ form: {},
+ applyType: '',
+ option: {
+ submitBtn: false,
+ emptyBtn: false,
+ column: [{
+ label: '房屋名称',
+ prop: 'houseName',
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '手机号',
+ prop: 'phoneNumber',
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '对象电话',
+ prop: 'transactionObjectTel',
+ disabled: true,
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '交易金额',
+ prop: 'transactionMoney',
+ disabled: true,
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '物品数量',
+ prop: 'goodsNums',
+ disabled: true,
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '发生时间',
+ prop: 'happenTime',
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '审核时间',
+ prop: 'confirmTime',
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '位置',
+ prop: 'localtion',
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '审核意见',
+ prop: 'confirmNotion',
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '审核状态',
+ prop: 'confirmFlag',
+ type: 'select',
+ dicData: [{
+ label: '待审核',
+ value: '1'
+ }, {
+ label: '审核通过',
+ value: '2'
+ }, {
+ label: '审核不通过',
+ value: '3'
+ }],
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '交易对象',
+ prop: 'transactionObject',
+ disabled: true,
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '交易过程',
+ prop: 'transactionProcess',
+ disabled: true,
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ label: '物品照片',
+ prop: 'goodsImageUrls',
+ fileType: 'img',
+ type: "upload",
+ listType: "picture-card",
+ dataType: "string",
+ disabled: true,
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, {
+ width: 110,
+ label: '身份证图片',
+ prop: 'imageUrls',
+ fileType: 'img',
+ type: "upload",
+ listType: "picture-card",
+ dataType: "string",
+ disabled: true,
+ span: 8,
+ labelWidth: 120,
+ }, ]
}
+ }
},
methods: {
- auditPass (type) {
- update({
- status: type,
- taskId: this.form.taskId,
- id: this.form.id
- }).then(() => {
- this.$message({
- type: "success",
- message: "操作成功!",
- })
- this.$emit('colseDetail')
- })
- },
- init (data, applyType) {
- this.applyType = applyType
- this.getTaskDetail(data.id)
- },
+ auditPass(type) {
+ update({
+ status: type,
+ taskId: this.form.taskId,
+ id: this.form.id
+ }).then(() => {
+ this.$message({
+ type: "success",
+ message: "操作成功!",
+ })
+ this.$emit('colseDetail')
+ })
+ },
+ init(data, applyType) {
+ this.applyType = applyType
+ this.getTaskDetail(data.id)
+ },
- getTaskDetail (taskId) {
- getDetail({
- taskId: taskId
- }).then((res) => {
- this.form = res.data.data
- if (this.form.imageUrls) {
- this.form.imageUrls = website.minioUrl + this.form.imageUrls
- }
- if (this.form.goodsImageUrls) {
- this.form.goodsImageUrls = website.minioUrl + this.form.goodsImageUrls
- }
+ getTaskDetail(taskId) {
+ getDetail({
+ taskId: taskId
+ }).then((res) => {
+ this.form = res.data.data
+ if (this.form.imageUrls) {
+ this.form.imageUrls = website.minioUrl + this.form.imageUrls
+ }
+ if (this.form.goodsImageUrls) {
+ this.form.goodsImageUrls = website.minioUrl + this.form.goodsImageUrls
+ }
- })
- }
+ })
+ }
}
-}
+ }
</script>
<style lang="scss" scoped>
-.cur-container-box {
- display: flex;
- flex-direction: column;
- width: 100%;
- height: 100%;
- overflow: hidden;
+ .cur-container-box {
+ padding: 50px;
.content-box {
- margin: 0 4px;
- padding: 0 16px;
- height: 0;
- flex: 1;
- overflow: hidden;
- overflow-y: auto;
+ margin: 0 4px;
+ padding: 0 16px;
+ height: 0;
+ flex: 1;
+ overflow: hidden;
+ overflow-y: auto;
}
.footer-btn-box {
- margin-top: 10px;
- display: flex;
- justify-content: center;
+ margin-top: 10px;
+ display: flex;
+ justify-content: center;
}
-}
+ }
</style>
\ No newline at end of file
--
Gitblit v1.9.3