|
@@ -32,7 +32,7 @@
|
|
|
</template>
|
|
|
<template #action="{ row }">
|
|
|
<el-link v-if="row.id == curId" type="success" @click="rowCancel(row)">取消选择</el-link>
|
|
|
- <el-link v-else type="primary" :disabled="row.status !== 4" @click="rowSelect(row)">选择</el-link>
|
|
|
+ <el-link v-else type="primary" @click="rowSelect(row)">选择</el-link>
|
|
|
</template>
|
|
|
</hc-table>
|
|
|
<template #action>
|
|
@@ -215,7 +215,7 @@ const linkCountClick = async () => {
|
|
|
const isForm = await formValidate(formRef.value)
|
|
|
if (!isForm) return
|
|
|
const { id, expCount } = formModel.value
|
|
|
- const { error, code, msg } = await mainApi.update({ id, expCount})
|
|
|
+ const { error, code, msg } = await mainApi.update({ id, expCount })
|
|
|
if (!error && code === 200) {
|
|
|
window.$message.success('选择成功')
|
|
|
curId.value = currentId.value
|