ludc
2024-04-24 447d6b096de7957ab5777a6e01d190f02eb4fab1
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";
@@ -126,16 +129,19 @@
      data:[],
      option: {
        height:'auto',
        calcHeight: 0,
        calcHeight: 20,
        menuWidth:120,
        tip: false,
        searchShow: false,
        border: true,
        index: true,
        indexFixed:false,
        selection: false,
        dialogClickModal: false,
        menuFixed:false,
        menuFixed:'right',
        dialogType: 'drawer',
        viewBtn: true,
        viewBtn: false,
        stripe: true,
        addBtn:false,
        editBtn:false,
        delBtn:false,
@@ -213,6 +219,7 @@
            width: 150,
            type: "textarea",
            slot: true,
            hide:true,
          },
          {
            label:'返回参数',
@@ -226,6 +233,7 @@
          {
            label: '返回msg',
            prop: 'msg',
            width: 150,
            overHidden: true
          },
          {
@@ -268,6 +276,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;