This commit is contained in:
qq787203167
2022-02-22 18:04:08 +08:00
parent eb30128fe4
commit 1bb897324a
5 changed files with 40 additions and 5 deletions
@@ -296,7 +296,7 @@
this.$refs.uploadFile.perentHandleFunc() this.$refs.uploadFile.perentHandleFunc()
this.$refs.uploadFile.visible = true this.$refs.uploadFile.visible = true
this.uploadName = current this.uploadName = current
getAction('sys/common/getFileInfos', { connectId: this.formInline[current] }).then((res) => { getAction('sys/common/getFileInfos', { id: this.formInline[current] }).then((res) => {
if (res.success) { if (res.success) {
this.$refs.uploadFile.perentHandleFunc(res.result) this.$refs.uploadFile.perentHandleFunc(res.result)
} else { } else {
@@ -16,6 +16,7 @@
<a class="text" v-for="(ol,index) in OperationList" <a class="text" v-for="(ol,index) in OperationList"
@click="OperationClick(ol,record)">{{ol.text}}</a> @click="OperationClick(ol,record)">{{ol.text}}</a>
</span> </span>
</a-table> </a-table>
</div> </div>
<div class="page" v-if="dataSource.length > 0"> <div class="page" v-if="dataSource.length > 0">
+4 -2
View File
@@ -196,6 +196,8 @@
} }
</script> </script>
<style scoped> <style>
.ant-upload-list-item-name{
color: rgba(0, 0, 0, 0.65) !important;
}
</style> </style>
@@ -67,7 +67,29 @@
</a-card> </a-card>
</template> </template>
<script> <script>
import { getAction, postAction } from '@/api/manage'
export default {
name: 'docIndex',
data() {
return {
url: {
getInfo: 'document/bussDocumentLibraryEO/getInfoById'
},
detailList: []
}
},
mounted() {
this.getInfoById()
},
methods: {
getInfoById() {
getAction(this.url.getInfo, { id: '559594408e50406b867dc6fa1b0a515c' }).then((res) => {
})
}
}
}
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.doc-detail { .doc-detail {
@@ -144,6 +166,7 @@
height: 50px; height: 50px;
border-top: 1.6px #eff1f3 solid; border-top: 1.6px #eff1f3 solid;
border-right: 1.6px #eff1f3 solid; border-right: 1.6px #eff1f3 solid;
.TextInformationContentLeft { .TextInformationContentLeft {
width: 310px; width: 310px;
height: 50px; height: 50px;
@@ -159,6 +182,7 @@
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
} }
.TextInformationContentcontent { .TextInformationContentcontent {
width: calc(100% - 410px); width: calc(100% - 410px);
line-height: 50px; line-height: 50px;
@@ -183,6 +207,7 @@
position: absolute; position: absolute;
} }
} }
.TextInformationContent:last-child { .TextInformationContent:last-child {
border-bottom: 1.6px #eff1f3 solid; border-bottom: 1.6px #eff1f3 solid;
} }
@@ -13,6 +13,12 @@
<a-button @click="handleCompare()" type="primary" icon="plus">推送</a-button> <a-button @click="handleCompare()" type="primary" icon="plus">推送</a-button>
</div> </div>
<div> <div>
<!--
showAction是否有操作按钮
OperationList操作列表的list
onSelectChange 选中的id值
editTable再传操作按钮的同时把事件定义名称也传过去
-->
<tableData <tableData
:flag="'1'" :flag="'1'"
:OperationList="OperationList" :OperationList="OperationList"
@@ -76,6 +82,7 @@
], ],
selectedRowKeys: [], selectedRowKeys: [],
loading: false, loading: false,
//url传参严格按照当前命名
url: { url: {
tableHeader: 'document/bussDocumentLibraryEO/getHeader', //表格头部字段 tableHeader: 'document/bussDocumentLibraryEO/getHeader', //表格头部字段
seachList: 'document/bussDocumentLibraryEO/queryCondition', //搜索字段 seachList: 'document/bussDocumentLibraryEO/queryCondition', //搜索字段