Commit c0e42616 by lichengming

修改了证书管理的附件和操作日志按钮

parent 27d3d10c
...@@ -45,13 +45,15 @@ ...@@ -45,13 +45,15 @@
</Row> </Row>
</div> </div>
</div> </div>
<Operation ref="Operation"></Operation>
<FileManage ref="FileManage"></FileManage>
</div> </div>
</template> </template>
<script> <script>
import { meterEntrust } from '../../../api' import { meterEntrust } from '../../../api'
import Operation from '../../../components/operation/Operation'
export default { export default {
components: {}, components: { Operation },
data() { data() {
return { return {
currentComponent: '', currentComponent: '',
...@@ -181,7 +183,8 @@ export default { ...@@ -181,7 +183,8 @@ export default {
}) })
}, },
_record(id) { _record(id) {
this.$refs.refModal._open(id) // this.$refs.refModal._open(id)
this.$refs.Operation._open(id)
}, },
_tableResultChange(msg, data) { _tableResultChange(msg, data) {
switch (msg) { switch (msg) {
...@@ -238,7 +241,8 @@ export default { ...@@ -238,7 +241,8 @@ export default {
_upload(id) { _upload(id) {
// 上传文件 // 上传文件
this.$refs.refModal._open(id, 'subcontractorId') // 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)
......
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