src/views/CNAS/systemManagement/customerSatisfaction/index.vue
@@ -50,6 +50,9 @@
        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>
@@ -57,6 +60,7 @@
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,
@@ -67,7 +71,7 @@
export default {
  name: 'CustomerSatisfaction',
  // import 引入的组件需要注入到对象中才能使用
  components: { filePreview, FormDialog, limsTable },
  components: { filePreview, FormDialog, limsTable, limsAttachment },
  data() {
    // 这里存放数据
    return {
@@ -90,8 +94,18 @@
          minWidth: '100'
        },
        {
          label: '姓名',
          label: '客户',
          prop: 'userName',
          minWidth: '100'
        },
        {
          label: '委托单编号',
          prop: 'entrustCode',
          minWidth: '100'
        },
        {
          label: '样品名称',
          prop: 'sampleName',
          minWidth: '100'
        },
        {
@@ -122,6 +136,13 @@
              },
            },
            {
              name: '附件',
              type: 'text',
              clickFun: (row) => {
                this.$refs.attachmentDialog.open(row);
              },
            },
            {
              name: '删除',
              type: 'text',
              color: 'var(--el-color-danger)',