Commit 27d3d10c by lichengming

修改了送检管理的附件和操作日志按钮

parent 77fce868
......@@ -45,13 +45,15 @@
</Row>
</div>
</div>
<Operation ref="Operation"></Operation>
<FileManage ref="FileManage" @on-result-change="_page"></FileManage>
</div>
</template>
<script>
import { meterEntrust } from '../../../api'
import Operation from '../../../components/operation/Operation'
export default {
components: {},
components: { Operation },
data() {
return {
currentComponent: '',
......@@ -181,7 +183,8 @@ export default {
})
},
_record(id) {
this.$refs.refModal._open(id)
// this.$refs.refModal._open(id)
this.$refs.Operation._open(id)
},
_tableResultChange(msg, data) {
switch (msg) {
......@@ -238,7 +241,7 @@ export default {
_upload(id) {
// 上传文件
this.$refs.refModal._open(id, 'subcontractorId')
this.$refs.FileManage._open(id, 'subcontractorId')
},
_getById: async function(id) {
const result = await meterEntrust.getVOById(id)
......
......@@ -45,15 +45,17 @@
</Row>
</div>
</div>
<Operation ref="Operation"></Operation>
<FileManage ref="FileManage"></FileManage>
<MeterSubcontractorEdit ref="editSubcontractorModal" @on-result-change="_formSearch"></MeterSubcontractorEdit>
</div>
</template>
<script>
import { meterEntrust } from '../../../api'
import Operation from '../../../components/operation/Operation'
import MeterSubcontractorEdit from './MeterGoOutTestEdit'
export default {
components: { MeterSubcontractorEdit },
components: { MeterSubcontractorEdit, Operation },
data() {
return {
currentComponent: '',
......@@ -183,7 +185,8 @@ export default {
})
},
_record(id) {
this.$refs.refModal._open(id)
// this.$refs.refModal._open(id)
this.$refs.Operation._open(id)
},
_tableResultChange(msg, data) {
switch (msg) {
......@@ -240,7 +243,8 @@ export default {
_upload(id) {
// 上传文件
this.$refs.refModal._open(id, 'subcontractorId')
// this.$refs.refModal._open(id, 'subcontractorId')
this.$refs.FileManage._open(id, 'subcontractorId')
},
_getById: async function(id) {
const result = await meterEntrust.getVOById(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