| | |
| | | <zt-table-wraper query-url="/sysPictureBase/page" |
| | | :paging='false' |
| | | v-slot="{ table }"> |
| | | <el-form :inline="true" :model="dataForm" @keyup.enter.native="table.query()"> |
| | | </el-form> |
| | | <el-table v-loading="table.dataLoading" :data="table.dataList" height="100px" v-adaptive="{bottomOffset:70}" |
| | | border |
| | | @row-dblclick="selectedPicture" |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | url: `${window.SITE_CONFIG['apiURL']}/sysPictureBase/getProductImg?token=${Cookies.get('token')}&id=`, |
| | | url: `${window.SITE_CONFIG['apiURL']}/sysPictureBase/getSvgImage?token=${Cookies.get('token')}&id=`, |
| | | name: 'SelectPicture', |
| | | type: '', |
| | | dataForm: { |
| | | id:'', |
| | | contentType: '', |
| | | systemMark: '', |
| | | productType:'', |
| | | sortNo: '' |
| | | }, |
| | | } |
| | |
| | | components: {}, |
| | | methods: { |
| | | init(type) { |
| | | this.type = type |
| | | this.dataForm.productType = type |
| | | console.log(this.dataForm.productType) |
| | | }, |
| | | async selectedPicture(row) { |
| | | await this.$tip.success() |