|
@@ -11,12 +11,16 @@
|
|
|
<van-dialog v-model="show" title="查询条件" class="dialog" :showConfirmButton="false">
|
|
|
<search-1 :searchForm="searchForm" @reseatBtn="reseatBtn" @search="search" @></search-1>
|
|
|
</van-dialog>
|
|
|
+ <van-dialog v-model="twoShow" title="详细信息" class="twodialog" confirmButtonText="取消">
|
|
|
+ <detail-1 :form="info"></detail-1>
|
|
|
+ </van-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import search1 from './parts/search-1.vue';
|
|
|
import list1 from '../../../../../company/parts/list_2.vue';
|
|
|
+import detail1 from './parts/detail-1.vue';
|
|
|
import adminFrame from '@frame/src/components/mobile-frame/mobile-main.vue';
|
|
|
import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
const { mapActions: patentinfo } = createNamespacedHelpers('patentinfo');
|
|
@@ -28,6 +32,7 @@ export default {
|
|
|
adminFrame,
|
|
|
list1,
|
|
|
search1,
|
|
|
+ detail1,
|
|
|
},
|
|
|
data: function () {
|
|
|
return {
|
|
@@ -37,6 +42,9 @@ export default {
|
|
|
// 查询
|
|
|
show: false,
|
|
|
searchForm: {},
|
|
|
+ // 详细信息
|
|
|
+ twoShow: false,
|
|
|
+ info: {},
|
|
|
};
|
|
|
},
|
|
|
async created() {
|
|
@@ -67,7 +75,9 @@ export default {
|
|
|
},
|
|
|
// 查看详情
|
|
|
detail(data) {
|
|
|
- this.$router.push({ path: '/service/patent/mech/patent/navigation/info', query: { id: data.id } });
|
|
|
+ // this.$router.push({ path: '/service/patent/mech/patent/navigation/info', query: { id: data.id } });
|
|
|
+ this.$set(this, `info`, data);
|
|
|
+ this.twoShow = true;
|
|
|
},
|
|
|
},
|
|
|
computed: {
|