重点工程BUG修复
parent
72e5be61f7
commit
fa3c3355db
|
@ -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' }]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue