| | |
| | | <template> |
| | | <el-card shadow="never" class="aui-card--fill"> |
| | | <div class="mod-project-softwareTestOrder}"> |
| | | <div class="fa-card-a"> |
| | | <zt-table-wraper query-url="/project/SoftwareTestOrder/page" delete-url="/project/SoftwareTestOrder/deleteOrder" |
| | | v-slot="{ table }"> |
| | | <el-form :inline="true" :model="dataForm" @keyup.enter.native="table.query()"> |
| | |
| | | <zt-table-column-dict prop="articleNature" width="120px" label="物品性质" dict="article_nature"/> |
| | | <zt-table-column-handle :table="table" width="150px" edit-perm="project:update" delete-perm="project::delete"> |
| | | <template v-slot="{ row }"> |
| | | <zt-table-button size="small" type="primary" |
| | | <zt-table-button size="small" v-show = "row.accessoryMap" type="primary" |
| | | @click="preview(row)">预览 |
| | | </zt-table-button> |
| | | </template> |
| | |
| | | <Preview ref="view" :pageMarkerfun="SoftwareTestOrder"></Preview> |
| | | </zt-table-wraper> |
| | | </div> |
| | | </el-card> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | this.$refs.addOrUpdate.$refs.dialog.init(null, {id: null, projectId: row.id}) |
| | | }, |
| | | preview(row){ |
| | | // let _this = this |
| | | console.log(row,'preview(row)') |
| | | |
| | | console.log(this.$refs.ViewAccessory) |
| | | this.$refs.view.setAccessory(row) |
| | | |
| | | this.$refs.view.openAccessoryFormatSingle(row) |
| | | } |
| | | } |
| | | } |