Commit 77fce868 by lichengming

修改了出检管理个人检测任务历史记录的操作日志和附件按钮

parent 19719d3c
...@@ -45,15 +45,17 @@ ...@@ -45,15 +45,17 @@
</Row> </Row>
</div> </div>
</div> </div>
<operationModal ref="operationModal" @on-result-change="_page"></operationModal>
<FileManage ref="FileManage" @on-result-change="_page"></FileManage>
<MeterSubcontractorEdit ref="editSubcontractorModal" @on-result-change="_formSearch"></MeterSubcontractorEdit> <MeterSubcontractorEdit ref="editSubcontractorModal" @on-result-change="_formSearch"></MeterSubcontractorEdit>
</div> </div>
</template> </template>
<script> <script>
import { meterEntrust } from '../../../api' import { meterEntrust } from '../../../api'
import operationModal from '../../../components/operation/Operation'
import MeterSubcontractorEdit from './MeterGoOutTestEdit' import MeterSubcontractorEdit from './MeterGoOutTestEdit'
export default { export default {
components: { MeterSubcontractorEdit }, components: { MeterSubcontractorEdit, operationModal },
data() { data() {
return { return {
currentComponent: '', currentComponent: '',
...@@ -182,7 +184,7 @@ export default { ...@@ -182,7 +184,7 @@ export default {
}) })
}, },
_record(id) { _record(id) {
this.$refs.refModal._open(id) this.$refs.operationModal._open(id)
}, },
_tableResultChange(msg, data) { _tableResultChange(msg, data) {
switch (msg) { switch (msg) {
...@@ -239,7 +241,7 @@ export default { ...@@ -239,7 +241,7 @@ export default {
_upload(id) { _upload(id) {
// 上传文件 // 上传文件
this.$refs.refModal._open(id, 'subcontractorId') this.$refs.FileManage._open(id, 'subcontractorId')
}, },
_getById: async function(id) { _getById: async function(id) {
const result = await meterEntrust.getVOById(id) const result = await meterEntrust.getVOById(id)
......
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
</Row> </Row>
</div> </div>
</div> </div>
<FileManage ref="FileManage"></FileManage>
<MeterSubSampleManage ref="subSampleManage" @on-result-change="_page"></MeterSubSampleManage> <MeterSubSampleManage ref="subSampleManage" @on-result-change="_page"></MeterSubSampleManage>
</div> </div>
...@@ -200,7 +201,7 @@ export default { ...@@ -200,7 +201,7 @@ export default {
_upload(id) { _upload(id) {
// 上传文件 // 上传文件
this.$refs.refModal._open(id, 'subcontractorId') this.$refs.FileManage._open(id, 'subcontractorId')
}, },
_getById: async function(id) { _getById: async function(id) {
const result = await meterSubcontractor.getById(id) const result = await meterSubcontractor.getById(id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment