|
|
|
@ -182,7 +182,7 @@
|
|
|
|
|
<el-table-column type="index" label="序号" width="50"></el-table-column>
|
|
|
|
|
<el-table-column label="证书名称" prop="name"></el-table-column>
|
|
|
|
|
<el-table-column label="证书编号" prop="code"></el-table-column>
|
|
|
|
|
<el-table-column label="有效期" prop="vailDate"></el-table-column>
|
|
|
|
|
<el-table-column label="生效期" prop="vailDate"></el-table-column>
|
|
|
|
|
<el-table-column label="失效期" prop="expireDate"></el-table-column>
|
|
|
|
|
<el-table-column label="备注" prop="remark"></el-table-column>
|
|
|
|
|
<el-table-column label="证书状态" prop="status">
|
|
|
|
@ -239,7 +239,7 @@
|
|
|
|
|
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="11">
|
|
|
|
|
<el-form-item label="有效期:" prop="vailDate">
|
|
|
|
|
<el-form-item label="生效期:" prop="vailDate">
|
|
|
|
|
|
|
|
|
|
<el-date-picker
|
|
|
|
|
v-model="currentAudit.vailDate"
|
|
|
|
@ -247,7 +247,7 @@
|
|
|
|
|
disabled
|
|
|
|
|
value-format="yyyy-MM-dd"
|
|
|
|
|
style="width: 100%"
|
|
|
|
|
placeholder="请选择有效期">
|
|
|
|
|
placeholder="请选择生效期">
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -783,9 +783,9 @@ export default {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
// 限制上传文件的大小
|
|
|
|
|
const isLt = file.size / 1024 / 1024 / 2 <= 1;
|
|
|
|
|
const isLt = file.size / 1024 / 1024 / 10 <= 1;
|
|
|
|
|
if (!isLt) {
|
|
|
|
|
this.$message.error("上传文件大小不能超过 2MB");
|
|
|
|
|
this.$message.error("上传文件大小不能超过 10MB");
|
|
|
|
|
for (let i = 0; i < fileList.length; i++) {
|
|
|
|
|
if (fileList[i].uid === uid) {
|
|
|
|
|
fileList.splice(i, 1)
|
|
|
|
|