yangfeng
2023-10-13 5bfc35975b10ad9cdccbd2a2c22f638dd940f02f
src/views/service/serviceContract/index.vue
@@ -198,12 +198,22 @@
    // 请求数据
    async getData() {
      this.loading = true
      await getServiceContractList({
      let params = {}
      if (this.addConfig.id) {
        params = {
          salesDetailsId: this.addConfig.id,
          page: this.pagerOptions.currPage,
          pageSize: this.pagerOptions.pageSize
        }
      } else {
        params = {
        keyword: this.keyword,
        keywordType: this.keywordType,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
        }
      }
      await getServiceContractList(params)
        .then((res) => {
          console.log(res)
          if (res.code === 200) {