ludc
2024-04-30 947c437493190f3b379f09522b465052b24f05eb
Source/UBCS-WEB/src/views/docking/loge.vue
@@ -27,12 +27,15 @@
          <small slot="more">...</small>
        </avue-text-ellipsis>
      </template>
      <template slot="menu" slot-scope="scope">
        <el-button type="text" icon="el-icon-view" size="mini" @click="rowView(scope.row)">查看</el-button>
      </template>
    </avue-crud>
  </basic-container>
</template>
<script>
import {getLogoList} from "@/api/docking/loge";
import {getLogoList,gridLogeDetail} from "@/api/docking/loge";
import {validatenull} from "@/util/validate";
import {mapGetters} from "vuex";
@@ -113,6 +116,21 @@
            prop: 'syncDataForPerson',
            value:10
          },
          {
            label:'接口参数',
            prop:'paramString',
            value:11
          },
          {
            label:'返回参数',
            prop:'returnString',
            value:12
          },
          {
            label: '返回msg',
            prop: 'msg',
            value:13
          },
        ],
      },
      loading: false,
@@ -137,7 +155,7 @@
        dialogClickModal: false,
        menuFixed:'right',
        dialogType: 'drawer',
        viewBtn: true,
        viewBtn: false,
        stripe: true,
        addBtn:false,
        editBtn:false,
@@ -216,6 +234,7 @@
            width: 150,
            type: "textarea",
            slot: true,
            hide:true,
          },
          {
            label:'返回参数',
@@ -225,6 +244,7 @@
            width: 150,
            type: "textarea",
            slot: true,
            hide:true,
          },
          {
            label: '返回msg',
@@ -272,6 +292,16 @@
    }
  },
  methods: {
    rowView(row){
      this.loading = true;
      gridLogeDetail({oid:row.oid}).then(res =>{
        console.log(res)
        if(res.data.data){
          this.loading = false
          this.$refs.crud.rowView(res.data.data)
        }
      })
    },
    dockingGetList(val){
      this.data=val.records;
      this.page.pageSize=val.size;