| | |
| | | @refreshDataList="table.query" |
| | | @setProjectInfo="openAddWin"> |
| | | </ProjectSelect> |
| | | <ViewAccessory ref="ViewAccessory" :pageMarkerfun="SoftwareTestOrder"></ViewAccessory> |
| | | </zt-table-wraper> |
| | | <View ref="view22" :pageMarkerfun="SoftwareTestOrder"> |
| | | </View> |
| | | </div> |
| | | </el-card> |
| | | </template> |
| | |
| | | <script> |
| | | import AddOrUpdate from './SoftwareTestOrder-AddOrUpdate' |
| | | import ProjectSelect from "./Project-select.vue" |
| | | import View from '@/views/pages/view.vue' |
| | | import ViewAccessory from '../../pages/view' |
| | | |
| | | export default { |
| | | data() { |
| | | return { |
| | | SoftwareTestOrder:'SoftwareTestOrder', |
| | | dataForm: { |
| | | testBasis: '', |
| | | testType: '', |
| | |
| | | components: { |
| | | AddOrUpdate, |
| | | ProjectSelect, |
| | | View |
| | | ViewAccessory |
| | | }, |
| | | methods: { |
| | | add() { |
| | |
| | | this.$refs.addOrUpdate.$refs.dialog.init(null, {id: null, projectId: row.id}) |
| | | }, |
| | | preview(row){ |
| | | console.log(row,'preview(row)'); |
| | | this.$refs.view22.setAccessoryFormatSingle(row) |
| | | // let _this = this |
| | | console.log(row,'preview(row)') |
| | | |
| | | console.log(this.$refs.ViewAccessory) |
| | | this.$refs.ViewAccessory.setAccessory(row) |
| | | |
| | | } |
| | | } |
| | | } |