1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<template>
<div>
<a-row>
<a-col :span="24">
<div class="main-title">
<span>审核</span>
</div>
</a-col>
</a-row>
<a-row>
<a-col :span="24" style="text-align: center;">
<a-form-model-item prop="auditContent">
<a-textarea v-model="auditObj.auditContent" :auto-size="{ minRows: 5, maxRows: 8 }" :max-length="500" style="margin: 4px 4px; width: 60%;height: 115px;" />
</a-form-model-item>
</a-col>
</a-row>
<a-row>
<a-col :span="24" style="text-align: center;">
<a-form-model-item prop="auditResult">
<a-radio-group v-model="auditObj.auditResult" @change="onChange">
<a-radio :value="10">通过</a-radio>
<a-radio :value="30">返回修改</a-radio>
<a-radio :value="20">不通过</a-radio>
</a-radio-group>
</a-form-model-item>
</a-col>
</a-row>
</div>
</template>
<script>
export default {
name: "AuditEdit",
data () {
return {};
},
props: {
auditObj: {
type: Object,
default: () => {
return null;
},
},
},
created () {
},
methods: {
onChange (e) { },
},
};
</script>
<style lang="less" scoped>
.tb-title {
color: #0079fe;
display: flex;
text-align: center;
height: 40px;
&::after {
content: "";
flex-grow: 1;
border-top: 1px dashed #d9d9d9;
transform: translateY(50%);
margin-left: 10px;
}
}
.doc-tag {
line-height: 2;
display: inline-block;
margin-right: 12px;
background: #ebf3ff;
border-radius: 4px;
color: #0079fe;
padding: 0 10px;
}
</style>