|
@@ -242,7 +242,79 @@
|
|
</el-form>
|
|
</el-form>
|
|
</el-row>
|
|
</el-row>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
-
|
|
|
|
|
|
+ <el-tab-pane label="历史报告列表" name="contact">
|
|
|
|
+ <el-row :gutter="15">
|
|
|
|
+ <el-form :disabled="method==='view'">
|
|
|
|
+ <vxe-table
|
|
|
|
+ border
|
|
|
|
+ :column-config="{resizable: true}"
|
|
|
|
+ show-overflow
|
|
|
|
+ show-footer
|
|
|
|
+ :key="tableKeyContact"
|
|
|
|
+ ref="contactTable"
|
|
|
|
+ class="vxe-table-element"
|
|
|
|
+ :data="inputForm.cwWorkClientContactDTOList"
|
|
|
|
+ style=""
|
|
|
|
+ @cell-click=""
|
|
|
|
+ @edit-closed=""
|
|
|
|
+ highlight-current-row
|
|
|
|
+ :edit-config="{trigger: 'click', mode: 'row', showStatus: false, autoClear: false}"
|
|
|
|
+ >
|
|
|
|
+ <vxe-table-column type="seq" align="center" width="80" title="序号"></vxe-table-column>
|
|
|
|
+ <vxe-table-column align="center" field="servedUnitName" title="被服务单位" :edit-render="{}">
|
|
|
|
+ <template v-slot:edit="scope">
|
|
|
|
+ <el-input v-model="scope.row.servedUnitName" placeholder="被服务单位" clearable></el-input>
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-table-column>
|
|
|
|
+ <vxe-table-column align="center" field="servedUnitName" title="被服务单位" :edit-render="{}">
|
|
|
|
+ <template v-slot:edit="scope">
|
|
|
|
+ <el-input v-model="scope.row.servedUnitName" placeholder="被服务单位" clearable></el-input>
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-table-column>
|
|
|
|
+ <vxe-table-column align="center" field="reportDate" title="报告日期" :edit-render="{}">
|
|
|
|
+ <template v-slot:edit="scope">
|
|
|
|
+ <el-input v-model="scope.row.reportDate" placeholder="报告日期" clearable></el-input>
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-table-column>
|
|
|
|
+ <vxe-table-column align="center" field="reportType" title="报告类型" :edit-render="{name: '$select', options: $dictUtils.getDictList('cw_report_type')}">
|
|
|
|
+ <template v-slot:edit="scope">
|
|
|
|
+ <el-select v-model="scope.row.reportType" placeholder="请选择报告类型" clearable style="width: 100%;">
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in $dictUtils.getDictList('cw_report_type')"
|
|
|
|
+ :key="item.value"
|
|
|
|
+ :label="item.label"
|
|
|
|
+ :value="item.value">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ <!-- <el-input v-model="scope.row.reportType" placeholder="报告类型" clearable></el-input>-->
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-table-column>
|
|
|
|
+ <vxe-table-column align="center" field="reportNo" title="报告文号" :edit-render="{}">
|
|
|
|
+ <template v-slot:edit="scope">
|
|
|
|
+ <el-input v-model="scope.row.reportNo" placeholder="报告文号" clearable></el-input>
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-table-column>
|
|
|
|
+ <vxe-table-column align="center" field="sealType" title="盖章状态" :edit-render="{}">
|
|
|
|
+ <template v-slot:edit="scope">
|
|
|
|
+ <el-input v-model="scope.row.sealType" placeholder="盖章状态" clearable></el-input>
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-table-column>
|
|
|
|
+ <vxe-table-column align="center" field="documentStatus" title="单据状态" :edit-render="{}">
|
|
|
|
+ <template v-slot:edit="scope">
|
|
|
|
+ <el-input v-model="scope.row.documentStatus" placeholder="单据状态" clearable></el-input>
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-table-column>
|
|
|
|
+ <vxe-table-column align="center" title="操作" width="300">
|
|
|
|
+ <template v-slot="scope">
|
|
|
|
+ <el-button size="mini" :disabled="true" type="danger" @click="removeEvent(scope.row,scope.$rowIndex,'client')">删除</el-button>
|
|
|
|
+ <el-button size="mini" :disabled="true" type="primary" @click="sss(scope.$rowIndex)">上传附件</el-button>
|
|
|
|
+ <el-button size="mini" :disabled="false" type="primary" @click="seeFileInfoTwo(scope.$rowIndex)">查看文件详情</el-button>
|
|
|
|
+ </template>
|
|
|
|
+ </vxe-table-column>
|
|
|
|
+ </vxe-table>
|
|
|
|
+ </el-form>
|
|
|
|
+ </el-row>
|
|
|
|
+ </el-tab-pane>
|
|
|
|
|
|
</el-tabs>
|
|
</el-tabs>
|
|
</el-col>
|
|
</el-col>
|
|
@@ -308,6 +380,7 @@
|
|
signatureType: '',
|
|
signatureType: '',
|
|
projectMasterName: '',
|
|
projectMasterName: '',
|
|
cwProjectInfoList: [],
|
|
cwProjectInfoList: [],
|
|
|
|
+ cwWorkClientContactDTOList: [],
|
|
cwFileInfoList: [],
|
|
cwFileInfoList: [],
|
|
projectInfoId: ''
|
|
projectInfoId: ''
|
|
},
|
|
},
|
|
@@ -315,6 +388,7 @@
|
|
activeName: 'newRow',
|
|
activeName: 'newRow',
|
|
tableKey: '',
|
|
tableKey: '',
|
|
tableKeyClient: '1',
|
|
tableKeyClient: '1',
|
|
|
|
+ tableKeyContact: '2',
|
|
visible: false
|
|
visible: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -365,6 +439,15 @@
|
|
this.inputForm.cwProjectInfoList[index].cwFileInfoList = []
|
|
this.inputForm.cwProjectInfoList[index].cwFileInfoList = []
|
|
}
|
|
}
|
|
this.$refs.upLoadComponentDialog.newUpload('view', this.inputForm.cwProjectInfoList[index].cwFileInfoList, null, null, null, null, null, false, index)
|
|
this.$refs.upLoadComponentDialog.newUpload('view', this.inputForm.cwProjectInfoList[index].cwFileInfoList, null, null, null, null, null, false, index)
|
|
|
|
+ this.$refs.upLoadComponentDialog.newUpload('view', this.inputForm.cwWorkClientContactDTOList[index].cwFileInfoList, null, null, null, null, null, false, index)
|
|
|
|
+ },
|
|
|
|
+ seeFileInfoTwo (index) {
|
|
|
|
+ console.log('进来了')
|
|
|
|
+ if (this.commonJS.isEmpty(this.inputForm.cwWorkClientContactDTOList[index].cwFileInfoList)) {
|
|
|
|
+ this.inputForm.cwWorkClientContactDTOList[index].cwFileInfoList = []
|
|
|
|
+ }
|
|
|
|
+ // this.$refs.upLoadComponentDialog.newUpload('view', this.inputForm.cwProjectInfoList[index].cwFileInfoList, null, null, null, null, null, false, index)
|
|
|
|
+ this.$refs.upLoadComponentDialog.newUpload('view', this.inputForm.cwWorkClientContactDTOList[index].cwFileInfoList, null, null, null, null, null, false, index)
|
|
},
|
|
},
|
|
sss (index) {
|
|
sss (index) {
|
|
if (this.commonJS.isEmpty(this.inputForm.cwProjectInfoList[index].cwFileInfoList)) {
|
|
if (this.commonJS.isEmpty(this.inputForm.cwProjectInfoList[index].cwFileInfoList)) {
|
|
@@ -378,6 +461,7 @@
|
|
this.inputForm.cwProjectInfoList[index].cwFileInfoList = list
|
|
this.inputForm.cwProjectInfoList[index].cwFileInfoList = list
|
|
this.inputForm.cwProjectInfoList[index].fileNumber = list.length
|
|
this.inputForm.cwProjectInfoList[index].fileNumber = list.length
|
|
this.tableKeyClient = Math.random()
|
|
this.tableKeyClient = Math.random()
|
|
|
|
+ this.tableKeyContact = Math.random()
|
|
// console.log('this.inputForm.cwFileInfoList', this.inputForm.cwFileInfoList)
|
|
// console.log('this.inputForm.cwFileInfoList', this.inputForm.cwFileInfoList)
|
|
// console.log('list.length', list.length)
|
|
// console.log('list.length', list.length)
|
|
// console.log(list)
|
|
// console.log(list)
|
|
@@ -417,6 +501,7 @@
|
|
signatureType: '',
|
|
signatureType: '',
|
|
projectMasterName: '',
|
|
projectMasterName: '',
|
|
cwProjectInfoList: [],
|
|
cwProjectInfoList: [],
|
|
|
|
+ cwWorkClientContactDTOList: [],
|
|
cwFileInfoList: [],
|
|
cwFileInfoList: [],
|
|
projectInfoId: ''
|
|
projectInfoId: ''
|
|
}
|
|
}
|