| | |
| | | style="height: 90vh;overflow-y: auto;" /> |
| | | </el-dialog> |
| | | <FormDialog v-if="formDialog" ref="formDialog" @closeFormDia="closeFormDia"></FormDialog> |
| | | <lims-attachment ref="attachmentDialog" title="满意度附件" name-field="unitName" id-param="clientSatisfactionId" |
| | | upload-url="/clientSatisfaction/uploadAttachment" select-url="/clientSatisfaction/selectAttachments" |
| | | delete-url="/clientSatisfaction/deleteAttachment" /> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | import limsTable from "@/components/Table/lims-table.vue"; |
| | | import FormDialog from './components/formDialog.vue'; |
| | | import filePreview from '@/components/Preview/filePreview.vue' |
| | | import limsAttachment from '@/components/Attachment/lims-attachment.vue' |
| | | import { |
| | | pageClientSatisfaction, |
| | | pageAnalyseFile, |
| | |
| | | export default { |
| | | name: 'CustomerSatisfaction', |
| | | // import 引入的组件需要注入到对象中才能使用 |
| | | components: { filePreview, FormDialog, limsTable }, |
| | | components: { filePreview, FormDialog, limsTable, limsAttachment }, |
| | | data() { |
| | | // 这里存放数据 |
| | | return { |
| | |
| | | minWidth: '100' |
| | | }, |
| | | { |
| | | label: '姓名', |
| | | label: '客户', |
| | | prop: 'userName', |
| | | minWidth: '100' |
| | | }, |
| | | { |
| | | label: '委托单编号', |
| | | prop: 'entrustCode', |
| | | minWidth: '100' |
| | | }, |
| | | { |
| | | label: '样品名称', |
| | | prop: 'sampleName', |
| | | minWidth: '100' |
| | | }, |
| | | { |
| | |
| | | }, |
| | | }, |
| | | { |
| | | name: '附件', |
| | | type: 'text', |
| | | clickFun: (row) => { |
| | | this.$refs.attachmentDialog.open(row); |
| | | }, |
| | | }, |
| | | { |
| | | name: '删除', |
| | | type: 'text', |
| | | color: 'var(--el-color-danger)', |