小程序打卡数据

This commit is contained in:
lSun 2024-12-03 20:24:00 +08:00
parent 13fe2a19e6
commit c35f009eb3
2 changed files with 14 additions and 6 deletions

View File

@ -215,6 +215,14 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row>
<el-col :span="24" v-if="form.checkOpinion">
<el-form-item label="审批意见:" prop="checkOpinion">
<el-input type="textarea" v-model="form.checkOpinion" maxlength="100" ></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm" v-if="!isView"> </el-button> <el-button type="primary" @click="submitForm" v-if="!isView"> </el-button>
@ -486,7 +494,7 @@
handleExport() { handleExport() {
this.queryParams.startTime= this.startTime; this.queryParams.startTime= this.startTime;
this.queryParams.endTime= this.endTime; this.queryParams.endTime= this.endTime;
// this.queryParams.exportType=""; this.queryParams.exportType="1";
exportOrg(this.queryParams).then(res => { exportOrg(this.queryParams).then(res => {
this.downloadFile({ fileName: `组织架构变更申请_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' }) this.downloadFile({ fileName: `组织架构变更申请_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' })
}) })

View File

@ -201,9 +201,9 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24" > <el-col :span="24" v-if="form.checkOpinion">
<el-form-item label="审批意见:" prop="examineOpinion"> <el-form-item label="审批意见:" prop="checkOpinion">
<el-input type="textarea" v-model="form.examineOpinion" maxlength="100" ></el-input> <el-input type="textarea" v-model="form.checkOpinion" maxlength="100" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -482,9 +482,9 @@
handleExport() { handleExport() {
this.queryParams.startTime= this.startTime; this.queryParams.startTime= this.startTime;
this.queryParams.endTime= this.endTime; this.queryParams.endTime= this.endTime;
// this.queryParams.exportType=""; this.queryParams.exportType="2";
exportOrg(this.queryParams).then(res => { exportOrg(this.queryParams).then(res => {
this.downloadFile({ fileName: `组织架构变更申请_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' }) this.downloadFile({ fileName: `组织架构变更审核_${new Date().getTime()}.xlsx`, fileData: res, fileType: 'application/vnd.ms-excel;charset=utf-8' })
}) })
}, },