Browse Source

2026-01-26

文件删除后刷新列表
master
fengyuan_yang 1 month ago
parent
commit
487b51a122
  1. 2
      src/views/modules/qc/FAIResultEntry.vue
  2. 2
      src/views/modules/qc/FQCResultEntry.vue
  3. 2
      src/views/modules/qc/IPQCResultEntry.vue
  4. 8
      src/views/modules/qc/IQCFileTable.vue
  5. 2
      src/views/modules/qc/IQCResultEntry.vue
  6. 2
      src/views/modules/qc/PQCResultEntry.vue
  7. 2
      src/views/modules/yieldReport/com_process_inspection.vue

2
src/views/modules/qc/FAIResultEntry.vue

@ -772,7 +772,7 @@
<el-button type="primary" @click="addUploadFileModal">上传文件</el-button>
</el-form-item>
</el-form>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading"></iqc-file-table>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading" @refreshFileList="getFileContentData(currentFileRow)"></iqc-file-table>
<el-footer style="height:35px;margin-top: 10px;text-align:center">
<el-button type="primary" @click="fileFlag = false">关闭</el-button>
</el-footer>

2
src/views/modules/qc/FQCResultEntry.vue

@ -943,7 +943,7 @@
<el-button type="primary" size="small" @click="addUploadFileModal">上传文件</el-button>
</el-form-item>
</el-form>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading"></iqc-file-table>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading" @refreshFileList="getFileContentData(currentFileRow)"></iqc-file-table>
</el-tab-pane>
<el-tab-pane label="SOP文件" name="sopFile">
<el-table :data="sopFileList" border v-loading="sopFileLoading" height="350" style="width: 100%;">

2
src/views/modules/qc/IPQCResultEntry.vue

@ -1044,7 +1044,7 @@
<el-button type="primary" size="small" @click="addUploadFileModal">上传文件</el-button>
</el-form-item>
</el-form>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading"></iqc-file-table>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading" @refreshFileList="getFileContentData(currentFileRow)"></iqc-file-table>
</el-tab-pane>
<!-- SOP文件标签页 -->
<el-tab-pane label="SOP文件" name="sopFile">

8
src/views/modules/qc/IQCFileTable.vue

@ -100,11 +100,6 @@ export default {
//
deleteFile (row) {
let tempData = {
site: row.orderRef1,
inspectionNo: row.orderRef2,
buNo: row.orderRef4
}
this.$confirm('确定要删除此文件?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@ -112,7 +107,8 @@ export default {
}).then(() => {
deleteObjectFile(row).then(({data}) => {
if (data && data.code == 0) {
this.getFileContentData(tempData)
//
this.$emit('refreshFileList')
this.$message({
message: '操作成功',
type: 'success',

2
src/views/modules/qc/IQCResultEntry.vue

@ -673,7 +673,7 @@
<el-button type="primary" size="small" @click="addUploadFileModal">上传文件</el-button>
</el-form-item>
</el-form>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading"></iqc-file-table>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading" @refreshFileList="getFileContentData(currentFileRow)"></iqc-file-table>
</el-tab-pane>
<!-- SOP文件标签页 -->
<el-tab-pane label="SOP文件" name="sopFile">

2
src/views/modules/qc/PQCResultEntry.vue

@ -798,7 +798,7 @@
<el-button type="primary" @click="addUploadFileModal">上传文件</el-button>
</el-form-item>
</el-form>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading"></iqc-file-table>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading" @refreshFileList="getFileContentData(currentFileRow)"></iqc-file-table>
<el-footer style="height:35px;margin-top: 10px;text-align:center">
<el-button type="primary" @click="fileFlag = false">关闭</el-button>
</el-footer>

2
src/views/modules/yieldReport/com_process_inspection.vue

@ -962,7 +962,7 @@
<el-button type="primary" size="small" @click="addUploadFileModal">上传文件</el-button>
</el-form-item>
</el-form>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading"></iqc-file-table>
<iqc-file-table :columns="fileColumnList" :data-list="fileContentList" :query-loading="fileLoading" @refreshFileList="getFileContentData(currentFileRow)"></iqc-file-table>
</el-tab-pane>
<el-tab-pane label="SOP文件" name="sopFile">
<el-table :data="sopFileList" border v-loading="sopFileLoading" height="350" style="width: 100%;">

Loading…
Cancel
Save