|
@ -80,24 +80,24 @@ |
|
|
prop="validityPeriod" |
|
|
prop="validityPeriod" |
|
|
min-width="120" |
|
|
min-width="120" |
|
|
/> |
|
|
/> |
|
|
<!-- <el-table-column--> |
|
|
<!-- <el-table-column--> |
|
|
<!-- label="获奖公示网址"--> |
|
|
<!-- label="获奖公示网址"--> |
|
|
<!-- align="left"--> |
|
|
<!-- align="left"--> |
|
|
<!-- prop="awardAnnouncementWebsite"--> |
|
|
<!-- prop="awardAnnouncementWebsite"--> |
|
|
<!-- min-width="120"--> |
|
|
<!-- min-width="120"--> |
|
|
<!-- />--> |
|
|
<!-- />--> |
|
|
<!-- <el-table-column--> |
|
|
<!-- <el-table-column--> |
|
|
<!-- label="评价日期"--> |
|
|
<!-- label="评价日期"--> |
|
|
<!-- align="left"--> |
|
|
<!-- align="left"--> |
|
|
<!-- prop="evaluationDate"--> |
|
|
<!-- prop="evaluationDate"--> |
|
|
<!-- min-width="120"--> |
|
|
<!-- min-width="120"--> |
|
|
<!-- />--> |
|
|
<!-- />--> |
|
|
<!-- <el-table-column--> |
|
|
<!-- <el-table-column--> |
|
|
<!-- label="重合同守信用情况"--> |
|
|
<!-- label="重合同守信用情况"--> |
|
|
<!-- align="left"--> |
|
|
<!-- align="left"--> |
|
|
<!-- prop="trustworthyPerformance"--> |
|
|
<!-- prop="trustworthyPerformance"--> |
|
|
<!-- min-width="140"--> |
|
|
<!-- min-width="140"--> |
|
|
<!-- />--> |
|
|
<!-- />--> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
label="附件" |
|
|
label="附件" |
|
|
align="left" |
|
|
align="left" |
|
@ -149,7 +149,7 @@ |
|
|
icon="el-icon-edit-outline" |
|
|
icon="el-icon-edit-outline" |
|
|
@click="handleExamine(scope.row)" |
|
|
@click="handleExamine(scope.row)" |
|
|
v-hasPermi="['enterpriseMange:credit:examine']" |
|
|
v-hasPermi="['enterpriseMange:credit:examine']" |
|
|
>审核</el-button |
|
|
>审核</el-button |
|
|
> |
|
|
> |
|
|
<!-- ===================状态按钮===================== --> |
|
|
<!-- ===================状态按钮===================== --> |
|
|
<el-button |
|
|
<el-button |
|
@ -159,7 +159,7 @@ |
|
|
icon="el-icon-position" |
|
|
icon="el-icon-position" |
|
|
@click="handleReport(scope.row)" |
|
|
@click="handleReport(scope.row)" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
>上报</el-button |
|
|
>上报</el-button |
|
|
> |
|
|
> |
|
|
<el-button |
|
|
<el-button |
|
|
v-if="scope.row.status == '2'" |
|
|
v-if="scope.row.status == '2'" |
|
@ -168,7 +168,7 @@ |
|
|
icon="el-icon-position" |
|
|
icon="el-icon-position" |
|
|
@click="handleReport(scope.row)" |
|
|
@click="handleReport(scope.row)" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
>重新上报</el-button |
|
|
>重新上报</el-button |
|
|
> |
|
|
> |
|
|
<el-button |
|
|
<el-button |
|
|
v-if="scope.row.status == '1'" |
|
|
v-if="scope.row.status == '1'" |
|
@ -176,7 +176,7 @@ |
|
|
type="text" |
|
|
type="text" |
|
|
icon="el-icon-time" |
|
|
icon="el-icon-time" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
>待审核</el-button |
|
|
>待审核</el-button |
|
|
> |
|
|
> |
|
|
<el-button |
|
|
<el-button |
|
|
v-if="scope.row.status == '2'" |
|
|
v-if="scope.row.status == '2'" |
|
@ -184,7 +184,7 @@ |
|
|
type="text" |
|
|
type="text" |
|
|
icon="el-icon-time" |
|
|
icon="el-icon-time" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
>已驳回</el-button |
|
|
>已驳回</el-button |
|
|
> |
|
|
> |
|
|
<el-button |
|
|
<el-button |
|
|
v-if="scope.row.status == '3'" |
|
|
v-if="scope.row.status == '3'" |
|
@ -193,7 +193,7 @@ |
|
|
icon="el-icon-time" |
|
|
icon="el-icon-time" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
@click="handleReport(scope.row)" |
|
|
@click="handleReport(scope.row)" |
|
|
>已审核</el-button |
|
|
>已审核</el-button |
|
|
> |
|
|
> |
|
|
<el-button |
|
|
<el-button |
|
|
v-if="scope.row.status == '4'" |
|
|
v-if="scope.row.status == '4'" |
|
@ -201,7 +201,7 @@ |
|
|
type="text" |
|
|
type="text" |
|
|
icon="el-icon-time" |
|
|
icon="el-icon-time" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
>已公示</el-button |
|
|
>已公示</el-button |
|
|
> |
|
|
> |
|
|
<el-button |
|
|
<el-button |
|
|
v-if="scope.row.status == '5'" |
|
|
v-if="scope.row.status == '5'" |
|
@ -209,7 +209,7 @@ |
|
|
type="text" |
|
|
type="text" |
|
|
icon="el-icon-time" |
|
|
icon="el-icon-time" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
v-hasPermi="['enterprise:credit:report']" |
|
|
>已发布</el-button |
|
|
>已发布</el-button |
|
|
> |
|
|
> |
|
|
|
|
|
|
|
|
<!-- ===============修改按钮=========== --> |
|
|
<!-- ===============修改按钮=========== --> |
|
@ -219,7 +219,7 @@ |
|
|
icon="el-icon-edit" |
|
|
icon="el-icon-edit" |
|
|
@click="handleUpdate(scope.row)" |
|
|
@click="handleUpdate(scope.row)" |
|
|
v-hasPermi="['enterprise:credit:edit']" |
|
|
v-hasPermi="['enterprise:credit:edit']" |
|
|
>修改</el-button |
|
|
>修改</el-button |
|
|
> |
|
|
> |
|
|
<!-- ===============删除按钮=========== --> |
|
|
<!-- ===============删除按钮=========== --> |
|
|
<el-button |
|
|
<el-button |
|
@ -228,7 +228,7 @@ |
|
|
icon="el-icon-delete" |
|
|
icon="el-icon-delete" |
|
|
@click="handleDelete(scope.row)" |
|
|
@click="handleDelete(scope.row)" |
|
|
v-hasPermi="['enterprise:credit:remove']" |
|
|
v-hasPermi="['enterprise:credit:remove']" |
|
|
>删除</el-button |
|
|
>删除</el-button |
|
|
> |
|
|
> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
@ -254,12 +254,14 @@ |
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="140px"> |
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="140px"> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="水行政主管部门" prop="administrativeUnit"> |
|
|
<el-form-item label="水行政主管部门" prop="administrativeUnit"> |
|
|
<el-input v-model="form.administrativeUnit" placeholder="请输入水行政主管部门" /> |
|
|
<el-input |
|
|
|
|
|
v-model="form.administrativeUnit" |
|
|
|
|
|
placeholder="请输入水行政主管部门" |
|
|
|
|
|
/> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="项目名称" prop="projectName"> |
|
|
<el-form-item label="项目名称" prop="projectName"> |
|
|
|
|
|
|
|
|
<el-select |
|
|
<el-select |
|
|
ref="selectPro" |
|
|
ref="selectPro" |
|
|
v-model="form.projectName" |
|
|
v-model="form.projectName" |
|
@ -290,7 +292,6 @@ |
|
|
v-model="form.qualificationCategory" |
|
|
v-model="form.qualificationCategory" |
|
|
placeholder="请选择资质类型" |
|
|
placeholder="请选择资质类型" |
|
|
style="width: 100%" |
|
|
style="width: 100%" |
|
|
|
|
|
|
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="dict in qualificationCategoryOptions" |
|
|
v-for="dict in qualificationCategoryOptions" |
|
@ -329,7 +330,6 @@ |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="表彰等级" prop="commendationLevel"> |
|
|
<el-form-item label="表彰等级" prop="commendationLevel"> |
|
|
|
|
|
|
|
|
<el-input |
|
|
<el-input |
|
|
v-model="form.commendationLevel" |
|
|
v-model="form.commendationLevel" |
|
|
placeholder="请输入表彰等级" |
|
|
placeholder="请输入表彰等级" |
|
@ -351,69 +351,68 @@ |
|
|
<el-input v-model="form.validity" placeholder="请输入有效期" /> |
|
|
<el-input v-model="form.validity" placeholder="请输入有效期" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<!-- <el-col :span="12">--> |
|
|
<!-- <el-col :span="12">--> |
|
|
<!-- <el-form-item label="审核时间" prop="evaluationDate">--> |
|
|
<!-- <el-form-item label="审核时间" prop="evaluationDate">--> |
|
|
<!-- <el-date-picker--> |
|
|
<!-- <el-date-picker--> |
|
|
<!-- clearable--> |
|
|
<!-- clearable--> |
|
|
<!-- size="small"--> |
|
|
<!-- size="small"--> |
|
|
<!-- style="width: 100%"--> |
|
|
<!-- style="width: 100%"--> |
|
|
<!-- v-model="form.evaluationDate"--> |
|
|
<!-- v-model="form.evaluationDate"--> |
|
|
<!-- type="date"--> |
|
|
<!-- type="date"--> |
|
|
<!-- value-format="yyyy-MM-dd"--> |
|
|
<!-- value-format="yyyy-MM-dd"--> |
|
|
<!-- placeholder="选择审核日期"--> |
|
|
<!-- placeholder="选择审核日期"--> |
|
|
<!-- >--> |
|
|
<!-- >--> |
|
|
<!-- </el-date-picker>--> |
|
|
<!-- </el-date-picker>--> |
|
|
<!-- </el-form-item>--> |
|
|
<!-- </el-form-item>--> |
|
|
<!-- </el-col>--> |
|
|
<!-- </el-col>--> |
|
|
<!-- <el-col :span="12">--> |
|
|
<!-- <el-col :span="12">--> |
|
|
<!-- <el-form-item label="企业填报日期" prop="enterpriseReportDate">--> |
|
|
<!-- <el-form-item label="企业填报日期" prop="enterpriseReportDate">--> |
|
|
<!-- <el-date-picker--> |
|
|
<!-- <el-date-picker--> |
|
|
<!-- clearable--> |
|
|
<!-- clearable--> |
|
|
<!-- size="small"--> |
|
|
<!-- size="small"--> |
|
|
<!-- style="width: 100%"--> |
|
|
<!-- style="width: 100%"--> |
|
|
<!-- v-model="form.enterpriseReportDate"--> |
|
|
<!-- v-model="form.enterpriseReportDate"--> |
|
|
<!-- type="date"--> |
|
|
<!-- type="date"--> |
|
|
<!-- value-format="yyyy-MM-dd"--> |
|
|
<!-- value-format="yyyy-MM-dd"--> |
|
|
<!-- placeholder="选择企业填报日期"--> |
|
|
<!-- placeholder="选择企业填报日期"--> |
|
|
<!-- >--> |
|
|
<!-- >--> |
|
|
<!-- </el-date-picker>--> |
|
|
<!-- </el-date-picker>--> |
|
|
<!-- </el-form-item>--> |
|
|
<!-- </el-form-item>--> |
|
|
<!-- </el-col>--> |
|
|
<!-- </el-col>--> |
|
|
<!-- <el-col :span="12">--> |
|
|
<!-- <el-col :span="12">--> |
|
|
<!-- <el-form-item label="加分开始时间" prop="bonusPointBegin">--> |
|
|
<!-- <el-form-item label="加分开始时间" prop="bonusPointBegin">--> |
|
|
<!-- <el-date-picker--> |
|
|
<!-- <el-date-picker--> |
|
|
<!-- clearable--> |
|
|
<!-- clearable--> |
|
|
<!-- size="small"--> |
|
|
<!-- size="small"--> |
|
|
<!-- style="width: 100%"--> |
|
|
<!-- style="width: 100%"--> |
|
|
<!-- v-model="form.bonusPointBegin"--> |
|
|
<!-- v-model="form.bonusPointBegin"--> |
|
|
<!-- type="date"--> |
|
|
<!-- type="date"--> |
|
|
<!-- value-format="yyyy-MM-dd"--> |
|
|
<!-- value-format="yyyy-MM-dd"--> |
|
|
<!-- placeholder="选择加分开始时间"--> |
|
|
<!-- placeholder="选择加分开始时间"--> |
|
|
<!-- >--> |
|
|
<!-- >--> |
|
|
<!-- </el-date-picker>--> |
|
|
<!-- </el-date-picker>--> |
|
|
<!-- </el-form-item>--> |
|
|
<!-- </el-form-item>--> |
|
|
<!-- </el-col>--> |
|
|
<!-- </el-col>--> |
|
|
<!-- <el-col :span="12">--> |
|
|
<!-- <el-col :span="12">--> |
|
|
<!-- <el-form-item label="加分有效期至" prop="validityPeriod">--> |
|
|
<!-- <el-form-item label="加分有效期至" prop="validityPeriod">--> |
|
|
<!-- <el-date-picker--> |
|
|
<!-- <el-date-picker--> |
|
|
<!-- clearable--> |
|
|
<!-- clearable--> |
|
|
<!-- size="small"--> |
|
|
<!-- size="small"--> |
|
|
<!-- style="width: 100%"--> |
|
|
<!-- style="width: 100%"--> |
|
|
<!-- v-model="form.validityPeriod"--> |
|
|
<!-- v-model="form.validityPeriod"--> |
|
|
<!-- type="date"--> |
|
|
<!-- type="date"--> |
|
|
<!-- value-format="yyyy-MM-dd"--> |
|
|
<!-- value-format="yyyy-MM-dd"--> |
|
|
<!-- placeholder="选择有效期至"--> |
|
|
<!-- placeholder="选择有效期至"--> |
|
|
<!-- >--> |
|
|
<!-- >--> |
|
|
<!-- </el-date-picker>--> |
|
|
<!-- </el-date-picker>--> |
|
|
<!-- </el-form-item>--> |
|
|
<!-- </el-form-item>--> |
|
|
<!-- </el-col>--> |
|
|
<!-- </el-col>--> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="是否是水利工程" prop="isWaterCon"> |
|
|
<el-form-item label="是否是水利工程" prop="isWaterCon"> |
|
|
<el-select |
|
|
<el-select |
|
|
v-model="form.isWaterCon" |
|
|
v-model="form.isWaterCon" |
|
|
placeholder="请选择是否是" |
|
|
placeholder="请选择是否是" |
|
|
style="width: 100%" |
|
|
style="width: 100%" |
|
|
|
|
|
|
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="dict in isOptions" |
|
|
v-for="dict in isOptions" |
|
@ -430,7 +429,6 @@ |
|
|
v-model="form.fillOnYear" |
|
|
v-model="form.fillOnYear" |
|
|
placeholder="请选择是否" |
|
|
placeholder="请选择是否" |
|
|
style="width: 100%" |
|
|
style="width: 100%" |
|
|
|
|
|
|
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="dict in isOptions" |
|
|
v-for="dict in isOptions" |
|
@ -447,7 +445,6 @@ |
|
|
v-model="form.provinceBelong" |
|
|
v-model="form.provinceBelong" |
|
|
placeholder="请选择是否" |
|
|
placeholder="请选择是否" |
|
|
style="width: 100%" |
|
|
style="width: 100%" |
|
|
|
|
|
|
|
|
> |
|
|
> |
|
|
<el-option |
|
|
<el-option |
|
|
v-for="dict in isOptions" |
|
|
v-for="dict in isOptions" |
|
@ -607,15 +604,15 @@ |
|
|
type="primary" |
|
|
type="primary" |
|
|
@click="passExamine" |
|
|
@click="passExamine" |
|
|
v-hasPermi="['enterpriseMange:credit:passExamine']" |
|
|
v-hasPermi="['enterpriseMange:credit:passExamine']" |
|
|
v-if="creditMsg.status=='1'" |
|
|
v-if="creditMsg.status == '1'" |
|
|
>通过审核</el-button |
|
|
>通过审核</el-button |
|
|
> |
|
|
> |
|
|
<el-button |
|
|
<el-button |
|
|
type="primary" |
|
|
type="primary" |
|
|
@click="publicity" |
|
|
@click="publicity" |
|
|
v-hasPermi="['enterpriseMange:credit:passExamine']" |
|
|
v-hasPermi="['enterpriseMange:credit:passExamine']" |
|
|
v-if="creditMsg.status=='3'" |
|
|
v-if="creditMsg.status == '3'" |
|
|
>公示信息</el-button |
|
|
>公示信息</el-button |
|
|
> |
|
|
> |
|
|
<!-- 驳回按钮 --> |
|
|
<!-- 驳回按钮 --> |
|
|
<el-popover |
|
|
<el-popover |
|
@ -644,7 +641,7 @@ |
|
|
<el-button |
|
|
<el-button |
|
|
slot="reference" |
|
|
slot="reference" |
|
|
type="warning" |
|
|
type="warning" |
|
|
v-if="creditMsg.status=='1'" |
|
|
v-if="creditMsg.status == '1'" |
|
|
v-hasPermi="['enterpriseMange:credit:TurnDownExamine']" |
|
|
v-hasPermi="['enterpriseMange:credit:TurnDownExamine']" |
|
|
> |
|
|
> |
|
|
驳回审核 |
|
|
驳回审核 |
|
@ -656,7 +653,7 @@ |
|
|
type="primary" |
|
|
type="primary" |
|
|
@click="upExamine" |
|
|
@click="upExamine" |
|
|
v-hasPermi="['enterpriseMange:credit:upExamine']" |
|
|
v-hasPermi="['enterpriseMange:credit:upExamine']" |
|
|
>上 报</el-button |
|
|
>上 报</el-button |
|
|
> |
|
|
> |
|
|
<el-button @click="cancel">取 消</el-button> |
|
|
<el-button @click="cancel">取 消</el-button> |
|
|
</div> |
|
|
</div> |
|
@ -722,7 +719,6 @@ import { getAreasData } from "@/api/areas/index"; |
|
|
import { regionData, codeToText, TextToCode } from "element-china-area-data"; |
|
|
import { regionData, codeToText, TextToCode } from "element-china-area-data"; |
|
|
import { listInfo } from "@/api/build/projectInfo"; |
|
|
import { listInfo } from "@/api/build/projectInfo"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
name: "newGoodCredit", |
|
|
name: "newGoodCredit", |
|
|
props: ["enterpriseId"], |
|
|
props: ["enterpriseId"], |
|
@ -806,7 +802,7 @@ export default { |
|
|
sort: "desc", |
|
|
sort: "desc", |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
isOptions:[], |
|
|
isOptions: [], |
|
|
// 表单参数 |
|
|
// 表单参数 |
|
|
form: {}, |
|
|
form: {}, |
|
|
// 表单校验 |
|
|
// 表单校验 |
|
@ -817,7 +813,7 @@ export default { |
|
|
isWaterCon: [ |
|
|
isWaterCon: [ |
|
|
{ required: true, message: "请选择是否", trigger: "blur" }, |
|
|
{ required: true, message: "请选择是否", trigger: "blur" }, |
|
|
], |
|
|
], |
|
|
provinceBelong:[ |
|
|
provinceBelong: [ |
|
|
{ required: true, message: "请选择是否", trigger: "blur" }, |
|
|
{ required: true, message: "请选择是否", trigger: "blur" }, |
|
|
], |
|
|
], |
|
|
fillOnYear: [ |
|
|
fillOnYear: [ |
|
@ -984,8 +980,8 @@ export default { |
|
|
}, |
|
|
}, |
|
|
formatDeclarationManagementZones(row) { |
|
|
formatDeclarationManagementZones(row) { |
|
|
const regex = /^[+-]?\d+(\.\d+)?$/; |
|
|
const regex = /^[+-]?\d+(\.\d+)?$/; |
|
|
if (!regex.test(row.declarationManagementZones)){ |
|
|
if (!regex.test(row.declarationManagementZones)) { |
|
|
return "" |
|
|
return ""; |
|
|
} |
|
|
} |
|
|
if (row.declarationManagementZones) { |
|
|
if (row.declarationManagementZones) { |
|
|
let provinceCode = row.declarationManagementZones.slice(0, 2); |
|
|
let provinceCode = row.declarationManagementZones.slice(0, 2); |
|
@ -1079,8 +1075,8 @@ export default { |
|
|
bonusPoints: null, |
|
|
bonusPoints: null, |
|
|
validityPeriod: null, |
|
|
validityPeriod: null, |
|
|
awardAnnouncementWebsite: null, |
|
|
awardAnnouncementWebsite: null, |
|
|
evaluationDate:null, |
|
|
evaluationDate: null, |
|
|
trustworthyPerformance:null, |
|
|
trustworthyPerformance: null, |
|
|
attachment: null, |
|
|
attachment: null, |
|
|
status: null, |
|
|
status: null, |
|
|
type: null, |
|
|
type: null, |
|
@ -1194,21 +1190,44 @@ export default { |
|
|
this.remark = ""; |
|
|
this.remark = ""; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 格式化日期为 yyyy-MM-dd HH:mm:ss |
|
|
|
|
|
formatDate(date) { |
|
|
|
|
|
const year = date.getFullYear(); |
|
|
|
|
|
const month = String(date.getMonth() + 1).padStart(2, "0"); |
|
|
|
|
|
const day = String(date.getDate()).padStart(2, "0"); |
|
|
|
|
|
const hours = String(date.getHours()).padStart(2, "0"); |
|
|
|
|
|
const minutes = String(date.getMinutes()).padStart(2, "0"); |
|
|
|
|
|
const seconds = String(date.getSeconds()).padStart(2, "0"); |
|
|
|
|
|
|
|
|
|
|
|
return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`; |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// 通过审核 |
|
|
// 通过审核 |
|
|
passExamine() { |
|
|
passExamine() { |
|
|
this.creditMsg.status = "3"; |
|
|
this.creditMsg.status = "3"; |
|
|
this.creditMsg.bonusPointBegin=Date.now() |
|
|
this.creditMsg.bonusPointBegin = Date.now(); |
|
|
// const currentDate = new Date(Date.now()); |
|
|
const currentDate = new Date(); |
|
|
// currentDate.setFullYear(currentDate.getFullYear() + this.creditMsg.validity); |
|
|
currentDate.setFullYear( |
|
|
// const date=currentDate.getTime() |
|
|
currentDate.getFullYear() + this.creditMsg.validity |
|
|
|
|
|
); |
|
|
|
|
|
const date = currentDate.getTime(); |
|
|
// this.creditMsg.validityPeriod=date |
|
|
// this.creditMsg.validityPeriod=date |
|
|
updateCredit(this.creditMsg).then((response) => { |
|
|
console.log(currentDate.getTime()); |
|
|
if (response.code === 200) { |
|
|
|
|
|
this.msgSuccess("审核通过成功"); |
|
|
console.log( |
|
|
this.viewOpen = false; |
|
|
"this.creditMsg.validityPeriod", |
|
|
this.getList(); |
|
|
this.creditMsg.validityPeriod |
|
|
} |
|
|
); |
|
|
}); |
|
|
|
|
|
|
|
|
console.log("formattedDate", this.formatDate(currentDate)); |
|
|
|
|
|
|
|
|
|
|
|
// updateCredit(this.creditMsg).then((response) => { |
|
|
|
|
|
// if (response.code === 200) { |
|
|
|
|
|
// this.msgSuccess("审核通过成功"); |
|
|
|
|
|
// this.viewOpen = false; |
|
|
|
|
|
// this.getList(); |
|
|
|
|
|
// } |
|
|
|
|
|
// }); |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
publicity() { |
|
|
publicity() { |
|
|