|  |  |  | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | 
|---|
|  |  |  | <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> | 
|---|
|  |  |  | 
|---|
|  |  |  | // 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) | 
|---|