haoxuan
2024-02-07 d68b036a3b3c67273b8effa3c9925ef3869a91ba
src/views/operate/outEnterLibrary/index.vue
@@ -7,6 +7,7 @@
        :placeholder="'请根据单号、产品、业务类型进行搜索'"
        :amount-view="false"
        @addCommonClick="addBtnClick"
        :inputName="params.keyWord"
        @searchClick="getList"
      />
    </div>
@@ -83,7 +84,6 @@
  },
  created() {
    this.setTable()
    console.log(this.$route.params)
    var paramsList = sessionStorage.getItem("paramsList")
    let params = {}
    if (paramsList) {
@@ -93,7 +93,7 @@
      sessionStorage.setItem("paramsList", JSON.stringify(params))
    }
    this.params = params
    console.log(this.params,'====111')
    console.log(this.params,'路由参数')
    this.getData()
  },
  // 页面销毁之前
@@ -147,11 +147,11 @@
        },
        {
          label: "业务类型",
          prop: "baseOperationType",
          prop: "operationTypeName",
          isShowColumn: true,
          default: true,
          conversion: true,
          getStatus: this.getBaseOperationTypeList
          // conversion: true,
          // getStatus: this.getBaseOperationTypeList
        },
        {
          label: "从",
@@ -221,6 +221,7 @@
    async getData() {
      if (this.params.name === "报表") {
        await listByCondition({
          // condition:"",
          keyWord:this.params.keyWord,
          produceId:this.params.produceId,
          unit:this.params.unit,
@@ -270,11 +271,13 @@
      this.getData()
    },
    tableRowClick(row,val) {
      console.log(row,"看看")
      this.workType=row.baseOperationType
      this.editConfig.title = val
      getOperationInfo(row.operationId).then((res)=>{
        this.editConfig.infomation = { ...res.data }
        this.editConfig.infomation = {
          ...res.data
        }
        this.editConfig.visible = true
      })
      // this.editConfig.visible = true