田源
2024-09-06 bf70f3cf825f44c457dba2bebd26e7af73e4b2a8
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";
@@ -100,18 +103,19 @@
            value:7
          },
          {
            label: '标准申请',
            prop: 'applyCodeForBZ',
            value:8          },
          {
            label: '部门申请',
            prop: 'syncDataForOrg',
            value:9
            label:'接口参数',
            prop:'paramString',
            value:11
          },
          {
            label: '人员申请',
            prop: 'syncDataForPerson',
            value:10
            label:'返回参数',
            prop:'returnString',
            value:12
          },
          {
            label: '返回msg',
            prop: 'msg',
            value:13
          },
        ],
      },
@@ -137,7 +141,7 @@
        dialogClickModal: false,
        menuFixed:'right',
        dialogType: 'drawer',
        viewBtn: true,
        viewBtn: false,
        stripe: true,
        addBtn:false,
        editBtn:false,
@@ -226,6 +230,7 @@
            width: 150,
            type: "textarea",
            slot: true,
            hide:true,
          },
          {
            label: '返回msg',
@@ -273,6 +278,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;