| | |
| | | <el-input v-model="page.compilerName" clearable></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button size="small" type="primary" @click="getYearPlanList(departId)">查 询</el-button> |
| | | <el-button size="mini" type="primary" @click="getYearPlanList(departId)">查询</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div> |
| | |
| | | size="small" type="date" value-format="yyyy-MM-dd"></el-date-picker> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button size="small" type="primary" @click="searchTable">查 询</el-button> |
| | | <el-button size="mini" type="primary" @click="searchTable">查询</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div> |
| | |
| | | </el-dialog> |
| | | <el-dialog :visible.sync="uploadDia" title="数据导入" width="500px"> |
| | | <div style="display: flex;align-items: center;"> |
| | | <div style="width: 70px">年份:</div> |
| | | <div style="width: 70px"><span class="required-span">* </span>年份:</div> |
| | | <el-date-picker v-model="planYear" type="year" value-format="yyyy" clearable size="small" format="yyyy" |
| | | placeholder="选择年"> |
| | | </el-date-picker> |
| | | </div> |
| | | <div style="display: flex;align-items: center;margin: 10px 0"> |
| | | <div style="width: 70px">审核人:</div> |
| | | <div style="width: 70px"><span class="required-span">* </span>审核人:</div> |
| | | <el-select v-model="reviewerId" clearable filterable size="small" style="width: 50%;"> |
| | | <el-option v-for="item in responsibleOptions" :key="item.id" :label="item.name" :value="item.id"> |
| | | </el-option> |
| | |
| | | }, |
| | | // 年度计划-导入 |
| | | submitUpload() { |
| | | if (!this.planYear) { |
| | | this.$message.error('请选择年份') |
| | | return |
| | | } |
| | | if (!this.reviewerId) { |
| | | this.$message.error('请选择审核人') |
| | | return |
| | | } |
| | | if (this.$refs.upload.uploadFiles.length == 0) { |
| | | this.$message.error('未选择文件') |
| | | return |