123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <template>
- <view class="exploitDemoPage">
- <view @click="checkItemModuleButton('open')">开启</view>
- <checkItemModule :propsData="propsData" v-if="checkItemModuleType"></checkItemModule>
- </view>
- </template>
- <script>
- import {
- checkItemModule
- } from '@/pages/checkItemModule.vue'
- export default {
- name: "exploitDemoPage",
- components: {
- checkItemModule
- },
- data() {
- return {
- pageType:1,
- checkItemModuleType:false,
- propsData:{
- infoType:0,
- manageId:'1839113478692855815',
- checkType:0,
- planId:'',
- planSetId:'',
- subId:'',
- searchValue:'',
- },
- }
- },
- onLoad(option) {
-
- },
- onShow() {
- },
- mounted() {
- },
- methods: {
- checkItemModuleButton(type,item){
- if(type == 'open'){
- this.$set(this,'propsData',{
- infoType:0,
- manageId:'1839113478692855815',
- checkType:0,
- planId:'',
- planSetId:'',
- subId:'',
- searchValue:'',
- });
- this.$set(this,'checkItemModuleType',true);
- }else if(type == 'out'){
- this.$set(this,'checkItemModuleType',false);
- this.$set(this,'propsData',{});
- }else if(type == 'submit'){
- console.log('已选中-item', item)
- }
- },
- }
- }
- </script>
- <style lang="stylus" scoped>
- </style>
|