111
k94314517
2023-08-28 c5c6fa800cedd37cea0e3cc3e68df78b47ee2813
platform_web/src/views/business/clientManger.vue
@@ -51,6 +51,7 @@
            <span>{{ row.oepnType == 1 ? '正式' : '试用' }}</span>
          </template>
        </el-table-column>
        <el-table-column prop="openUserNum" label="人数限制" align="center" min-width="140px"></el-table-column>
        <el-table-column prop="phone" label="主账号" align="center" min-width="100px"></el-table-column>
        <el-table-column prop="linkName" label="联系人" align="center" min-width="100px"></el-table-column>
        <el-table-column prop="linkPhone" label="联系电话" align="center" min-width="120px"></el-table-column>
@@ -68,7 +69,7 @@
          <template slot-scope="{ row }">
            <!-- <el-button type="text" @click="$refs.operaClientMangerWindow.open('编辑客户', row)">编辑</el-button> -->
            <el-button type="text" @click="showDetail(row, true)">编辑</el-button>
            <el-button type="text" @click="$refs.operaClientValidDateWindow.open('调整有效期', row)">调整有效期</el-button>
            <el-button type="text" @click="$refs.operaClientValidDateWindow.open('调整', row)">调整</el-button>
            <el-button type="text" @click="$refs.operaDDSettingWindow.open('钉钉配置', row)">钉钉配置</el-button>
            <el-button type="text" style="color:red" :loading="isWorking.delete"
              @click="deleteById(row, false)">删除</el-button>
@@ -141,8 +142,13 @@
      // this.$refs.operaApplianceChangeDetailWindow.open('更换单详情', row)
      findCompanyInfo({ CompanyId: row.id })
        .then(res => {
          const element = isEdit ? this.$refs.operaClientMangerWindow : this.$refs.operaClientDetailWindow
          element.open(res)
          if (isEdit) {
            this.$refs.operaClientMangerWindow.open({...res, openUserNum: row.openUserNum})
          } else {
            this.$refs.operaClientDetailWindow.open(res)
          }
          // const element = isEdit ? this.$refs.operaClientMangerWindow : this.$refs.operaClientDetailWindow
          // element.open({...res, ...row})
        })
        .catch(err => {
          this.$tip.error(err)