Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before
| | |
| | | method: 'post', |
| | | params: obj |
| | | }) |
| | | } |
| | | |
| | | export function exportExaminationProducts(query) { |
| | | return request({ |
| | | url: '/mes/qualityFinishedInspect/exportExcel', |
| | | method: 'get', |
| | | responseType : 'blob', |
| | | params: query |
| | | }) |
| | | } |
| | |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | export function UnqualifiedDisposal(query) { |
| | | return request({ |
| | | url: '/mes/qualityInspectUnaccepted/export', |
| | | method: 'get', |
| | | responseType : 'blob', |
| | | params: query |
| | | }) |
| | | } |
| | |
| | | import ttable from '@/views/common/ztt-table.vue' |
| | | import * as fecha from 'element-ui/lib/utils/date' |
| | | import finishedProductInspectionAdd from './finishedProduct-form' |
| | | import { page,deletePro } from '@/api/quality/finishedProduct' |
| | | import { page,deletePro,exportExaminationProducts } from '@/api/quality/finishedProduct' |
| | | import { transform } from '@/util/fileTransform' |
| | | export default { |
| | | components: { |
| | | finishedProductInspectionAdd, |
| | |
| | | }, |
| | | { |
| | | text: '导出', |
| | | type: 'primary', |
| | | fun: this.exportExcel |
| | | } |
| | | ], |
| | | operator: [{ |
| | |
| | | }, |
| | | created() { }, |
| | | methods: { |
| | | exportExcel(){ |
| | | console.log("============"); |
| | | let queryParam=this.$refs.finishedProduct.getQueryParam(); |
| | | delete queryParam.criteria |
| | | console.log(queryParam); |
| | | exportExaminationProducts(queryParam).then((res)=>{ |
| | | transform(res) |
| | | }) |
| | | }, |
| | | deleteHandle(row){ |
| | | console.log(row.id) |
| | | this.$confirm('确认删除该数据吗?', '提示', { |
| | |
| | | </div> |
| | | </el-form> |
| | | <span slot="footer" > |
| | | <el-button @click="dialogVisible = false">取 消</el-button> |
| | | <el-button @click="WayCancel()">取 消</el-button> |
| | | <el-button type="primary" @click="WaySure()">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | |
| | | import TableForm from './table-form' |
| | | import { mapGetters } from 'vuex' |
| | | // import { remote } from '@/api/admin/dict' |
| | | import { transform } from '@/util/fileTransform' |
| | | import ttable from '@/views/common/ztt-table.vue' |
| | | export default { |
| | | data() { |
| | |
| | | // return this.processModeOptions |
| | | // } |
| | | // }, |
| | | //发起人 |
| | | // { |
| | | // minWidth: '200', |
| | | // prop: 'originator', |
| | | // label: '发起人', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | // 审核人 |
| | | // { |
| | | // minWidth: '140', |
| | | // prop: 'examiner', |
| | | // label: '审核人', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | // 处理人 |
| | | // { |
| | | // minWidth: '120', |
| | | // prop: 'handler', |
| | | // label: '处理人', |
| | | // sort: true, |
| | | // isTrue: true, |
| | | // isSearch: true, |
| | | // searchInfoType: 'text' |
| | | // }, |
| | | |
| | | ], |
| | | toolbar: [ |
| | |
| | | this.UserId = row.id |
| | | this.type = row.type |
| | | this.dialogVisible = true; |
| | | |
| | | }, |
| | | WayCancel(){ |
| | | this.dialogVisible = false |
| | | this.checkList = null |
| | | this.WayIdea = null |
| | | }, |
| | | WaySure(){ |
| | | AuditSuggestion({id:this.UserId,way:this.checkList}).then( |