| | |
| | | <template> |
| | | <basic-container> |
| | | |
| | | |
| | | |
| | | |
| | | <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" ref="crud" v-model="form" |
| | | :permission="permissionList" @row-save="rowSave" :before-open="beforeOpen" @search-change="searchChange" |
| | | @search-reset="searchReset" @selection-change="selectionChange" @current-change="currentChange" |
| | |
| | | dialogClickModal: false, |
| | | // menuFixed: 'right', |
| | | delBtn: false, |
| | | column: [ |
| | | { |
| | | column: [{ |
| | | overHidden: true, |
| | | label: "姓名", |
| | | span: 12, |
| | |
| | | |
| | | }, |
| | | { |
| | | label: "年龄", |
| | | label: "民族", |
| | | width:80, |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: false, |
| | | prop: "age", |
| | | dicUrl: "/api/blade-system/dict-biz/tree?code=nationType", |
| | | props: { |
| | | label: "title", |
| | | value: "key", |
| | | }, |
| | | prop: "ethnicity", |
| | | searchSpan: 4 |
| | | }, |
| | | { |
| | | width: 160, |
| | | label: "工作单位", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: false, |
| | | prop: "employer", |
| | | searchSpan: 4 |
| | | }, |
| | | // { |
| | | // width: 160, |
| | | // label: "工作单位", |
| | | // addDisplay: false, |
| | | // editDisplay: false, |
| | | // viewDisplay: false, |
| | | // prop: "employer", |
| | | // searchSpan: 4 |
| | | // }, |
| | | { |
| | | label: "岗位性质", |
| | | addDisplay: false, |
| | |
| | | } |
| | | }, |
| | | |
| | | components: { auditBase, baseAllInfo }, |
| | | components: { |
| | | auditBase, |
| | | baseAllInfo |
| | | }, |
| | | |
| | | |
| | | computed: { |
| | |
| | | }, |
| | | methods: { |
| | | handleQueryAlarm(type){ |
| | | this.onLoad(this.page,{type:type}) |
| | | this.onLoad(this.page, { |
| | | type: type |
| | | }) |
| | | }, |
| | | showStringDispose(row, type) { |
| | | row[type] = !row[type] |
| | |
| | | .avue-upload__icon { |
| | | line-height: 6; |
| | | } |
| | | |
| | | .type-row{ |
| | | display: flex; |
| | | padding: 0 0 20px; |
| | |
| | | <template> |
| | | <basic-container> |
| | | <avue-crud :option="option" :table-loading="loading" :data="data" :page.sync="page" ref="crud" @row-del="rowDel" |
| | | v-model="form" :permission="permissionList" @row-update="rowUpdate" @row-save="rowSave" |
| | | :before-open="beforeOpen" @search-change="searchChange" @search-reset="searchReset" |
| | | @selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange" |
| | | @refresh-change="refreshChange" @on-load="onLoad"> |
| | | v-model="form" :permission="permissionList" @row-update="rowUpdate" @row-save="rowSave" :before-open="beforeOpen" |
| | | @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange" |
| | | @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad"> |
| | | |
| | | <template slot-scope="{row, size}" slot="menu"> |
| | | <!-- <el-button type="text" :size="size" icon="el-icon-view" v-if="permission.place_view" plain |
| | |
| | | |
| | | return { |
| | | auditRules: { |
| | | status: [{ required: true, message: "必填" }], |
| | | remark: [{ required: true, message: "必填" }], |
| | | status: [{ |
| | | required: true, |
| | | message: "必填" |
| | | }], |
| | | remark: [{ |
| | | required: true, |
| | | message: "必填" |
| | | }], |
| | | }, |
| | | visible: false, |
| | | taskType: 0, |
| | |
| | | columnBtn: false, |
| | | selection: true, |
| | | dialogClickModal: false, |
| | | column: [ |
| | | { |
| | | column: [{ |
| | | width: 110, |
| | | span: 12, |
| | | label: "场所名称", |
| | |
| | | { |
| | | width: 110, |
| | | span: 12, |
| | | label: "场所负责人", |
| | | label: "交易人姓名", |
| | | prop: "owner", |
| | | searchSpan: 4, |
| | | searchLabelWidth: 110, |
| | |
| | | }, { |
| | | width: 120, |
| | | span: 12, |
| | | label: "联系方式", |
| | | label: "交易人电话", |
| | | prop: "phoneNumber", |
| | | searchSpan: 4, |
| | | search: true, |
| | |
| | | { |
| | | width: 110, |
| | | span: 12, |
| | | label: "交易对象", |
| | | label: "物品名称", |
| | | prop: "transactionObject", |
| | | searchSpan: 4, |
| | | searchLabelWidth: 96, |
| | |
| | | align: 'center', |
| | | labelWidth: 110, |
| | | }, |
| | | { |
| | | width: 110, |
| | | span: 12, |
| | | label: "交易对象电话", |
| | | prop: "transactionObjectTel", |
| | | searchSpan: 4, |
| | | searchLabelWidth: 120, |
| | | searchPlaceholder: '请输入交易电话', |
| | | search: true, |
| | | align: 'center', |
| | | labelWidth: 110, |
| | | slot: true |
| | | }, |
| | | // { |
| | | // width: 110, |
| | | // span: 12, |
| | | // label: "交易对象电话", |
| | | // prop: "transactionObjectTel", |
| | | // searchSpan: 4, |
| | | // searchLabelWidth: 120, |
| | | // searchPlaceholder: '请输入交易电话', |
| | | // search: true, |
| | | // align: 'center', |
| | | // labelWidth: 110, |
| | | // slot: true |
| | | // }, |
| | | { |
| | | width: 160, |
| | | span: 12, |
| | |
| | | labelWidth: 110, |
| | | }, { |
| | | width: 110, |
| | | label: '身份证照片', |
| | | label: '手持身份证', |
| | | prop: 'imageUrls', |
| | | fileType: 'img', |
| | | type: "upload", |
| | |
| | | disabled: true, |
| | | span: 12, |
| | | labelWidth: 110, |
| | | },], |
| | | }, |
| | | ], |
| | | }, |
| | | data: [], |
| | | auditBasePopup: false, |
| | |
| | | // data.isNine = 1 |
| | | data = Qs.stringify(data) |
| | | exportBlob( |
| | | `/api/blade-taskLabelReportingEvent/taskLabelReportingEvent/export-taskLabelReportingEvent?${this.website.tokenHeader}=${getToken()}&` + data |
| | | `/api/blade-taskLabelReportingEvent/taskLabelReportingEvent/export-taskLabelReportingEvent?${this.website.tokenHeader}=${getToken()}&` + |
| | | data |
| | | ).then(res => { |
| | | console.log('exportBlob', res) |
| | | downloadXls(res.data, `交易登记${dateNow()}.xlsx`) |
| | |
| | | }) |
| | | item.imageUrls = urls.join(",") |
| | | } |
| | | if (item.goodsImageUrls && item.goodsImageUrls != '' && item.goodsImageUrls != null && item.goodsImageUrls.length) { |
| | | if (item.goodsImageUrls && item.goodsImageUrls != '' && item.goodsImageUrls != null && item |
| | | .goodsImageUrls.length) { |
| | | var urls = [] |
| | | var names = item.goodsImageUrls.split(",").filter(item => item != '') |
| | | names.forEach(name => { |