| | |
| | | <i slot="prefix" class="el-input__icon el-icon-search"></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-cntainer> |
| | | |
| | | <el-col :span="9" > |
| | | <el-form-item> |
| | | <el-button size="mini" @click="handleQuery" style=" width: 67px;height: 27px;background: #FFDDE3; |
| | |
| | | <!-- <el-input v-model="formDat.happenTime" placeholder="请输入获得时间" clearable :style="{width: '100%'}" ></el-input>--> |
| | | <!-- </el-form-item>--> |
| | | <el-form-item label="时间" prop="happenTime"> |
| | | <el-date-picker v-model='formDat.happenTime' type='date' placeholder='选择日期'></el-date-picker> |
| | | <el-input v-model='formDat.happenTime' type='date' placeholder='选择日期'></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="财产类别" prop="type"> |
| | | <el-input v-model="formDat.type" placeholder="请输入财产类别" clearable :style="{width: '100%'}" > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="收支名称" prop="incomeName"> |
| | | <el-input v-model="formDat.incomeName" placeholder="请输入收支名称" clearable :style="{width: '100%'}" > |
| | | <el-form-item label="获得方式" prop="incomeName"> |
| | | <el-input v-model="formDat.incomeName" placeholder="请输入获得方式" clearable :style="{width: '100%'}" > |
| | | </el-input> |
| | | </el-form-item> |
| | | <el-form-item label="金额" prop="price"> |
| | |
| | | incomeName:undefined, |
| | | timeLimit:undefined, |
| | | happenTime:undefined, |
| | | |
| | | }, |
| | | // searchVal:"", |
| | | |
| | |
| | | }], |
| | | incomeName: [{ |
| | | required: true, |
| | | message: '请输入收支类别', |
| | | message: '请输入获得方式', |
| | | trigger: 'blur' |
| | | }], |
| | | timeLimit: [{ |
| | |
| | | |
| | | if(Ids.length==0) |
| | | { |
| | | this.download('zIdea/export', { |
| | | this.download('zProperty/export', { |
| | | ...this.queryParams |
| | | }, `zIdea_${new Date().getTime()}.xlsx`) |
| | | }, `zProperty_${new Date().getTime()}.xlsx`) |
| | | }else{ |
| | | this.download('zIdea/export1/'+Ids, { |
| | | }, `zIdea_${new Date().getTime()}.xlsx`) |
| | | this.download('zProperty/export1/'+Ids, { |
| | | }, `zProperty_${new Date().getTime()}.xlsx`) |
| | | } |
| | | }, |
| | | |
| | | /** 导入模板下载按钮操作 */ |
| | | handleExportModel() { |
| | | |
| | | this.download('/zIdea/model', { |
| | | }, `zIdea_model_${new Date().getTime()}.xlsx`) |
| | | this.download('/zProperty/model', { |
| | | }, `zProperty_model_${new Date().getTime()}.xlsx`) |
| | | }, |
| | | |
| | | /** 导入操作*/ |