重点工程BUG修复

div-51
zhaoyu 2024-01-09 16:58:22 +08:00
parent 72e5be61f7
commit fa3c3355db
2 changed files with 8 additions and 4 deletions

View File

@ -10,7 +10,7 @@
</el-form-item>
<el-form-item label="证书编号" prop="NUMBER">
<!-- <el-input v-model="pd.NUMBER" onkeyup="value=value.replace(/[\u4e00-\u9fa5]/ig,''),this.value=this.value.replace(/\s+/g,'')" placeholder="这里输入备注说明..." />-->
<el-input v-model="pd.NUMBER" placeholder="这里输入备注说明..." />
<el-input v-model="pd.NUMBER" placeholder="这里输入证书编号..." />
</el-form-item>
<el-form-item label="备注">
<el-input :rows="3" v-model="pd.DESCR" type="textarea" />
@ -36,7 +36,7 @@
</div>
</div>
</el-form-item>
<el-form-item label="证书图片">
<el-form-item label="证书图片" prop="FILE">
<el-upload
ref="upload"
:on-preview="handlePictureCardPreview"
@ -85,7 +85,8 @@ export default {
rules: {
NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }],
VALIDITYTIME: [{ required: true, message: '证书有效期不能为空', trigger: 'blur' }],
NUMBER: [{ required: true, message: '证书编号不能为空', trigger: 'blur' }]
NUMBER: [{ required: true, message: '证书编号不能为空', trigger: 'blur' }],
FILE: [{ required: true, message: '证书图片不能为空', trigger: 'blur' }]
}
}
},

View File

@ -61,8 +61,11 @@
<el-table-column prop="VIDEO_COUNT" label="视频个数" />
<el-table-column prop="STATE" label="状态">
<template slot-scope="{row}">
<span v-if="row.STATE == 1"></span>
<span v-if="row.STATE == -1"></span>
<span v-if="row.STATE == -2"></span>
<span v-if="row.STATE == 0"></span>
<span v-if="row.STATE == 2"></span>
<span v-if="row.STATE == 1"></span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="100">