| | |
| | | <el-option label="分类查询" value="queryClassify"></el-option> |
| | | <el-option label="含编码规则的分类查询" value="queryClassifyRule"></el-option> |
| | | <el-option label="数据查询" value="queryData"></el-option> |
| | | <el-option label="标准申请" value="applyCodeForBZ"></el-option> |
| | | <el-option label="部门申请" value="syncDataForOrg"></el-option> |
| | | <el-option label="人员申请" value="syncDataForPerson"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <!-- 集成任务 是否推送成功 |
| | |
| | | SaveHandler(){ |
| | | let name = this.SearchObject.searchData[this.formInline.type].prop; |
| | | const requestApi = (api) => { |
| | | api(this.page.currentPage, this.page.pageSize, { [`conditionMap[${name}_like]`]: this.formInline.text}).then(res => { |
| | | api(this.page.currentPage, this.page.pageSize,'createTime','desc',{[`conditionMap[${name}_like]`]: this.formInline.text}).then(res => { |
| | | if(!res.data.data.records){ |
| | | this.$message.error('暂未查到数据!') |
| | | }else { |
| | |
| | | } |
| | | }); |
| | | } |
| | | if(this.status.type=='logo'){ |
| | | //日志 |
| | | if(this.status.type=='loge'){ |
| | | requestApi(getLogoList); |
| | | } |
| | | //数据 |
| | | if(this.status.type=='data'){ |
| | | requestApi(getDataList); |
| | | } |
| | | //任务 |
| | | if(this.status.type=='task'){ |
| | | requestApi(getTaskList); |
| | | } |
| | |
| | | const { cut, state, stateTask, Date, lastDate, taskCut } = this.formInline; |
| | | const requestParams = {}; |
| | | const requestApi = (api) => { |
| | | api(currentPage, pageSize, requestParams).then(res => { |
| | | api(currentPage, pageSize,'createTime','desc',requestParams).then(res => { |
| | | if(!res.data.data.records){ |
| | | this.$message.error('暂未查到数据!'); |
| | | } else { |
| | |
| | | requestParams['conditionMap[sendType_like]'] = taskCut; |
| | | } |
| | | |
| | | if (type == 'logo') { |
| | | if (type == 'loge') { |
| | | requestApi(getLogoList); |
| | | } |
| | | if (type == 'data') { |