上传
This commit is contained in:
@@ -64,7 +64,13 @@
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
<el-table v-loading="loading" :data="tableList" border>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="tableList"
|
||||
border
|
||||
@selection-change="handleSelectionChange"
|
||||
>
|
||||
<el-table-column type="selection" width="55" :selectable="(row) => row.state == 1" />
|
||||
<el-table-column prop="signId" label="成交单号" min-width="150px" />
|
||||
<el-table-column prop="name" label="线索名称" min-width="200px" />
|
||||
<el-table-column prop="phone" label="联系方式" min-width="150px" />
|
||||
@@ -111,6 +117,8 @@
|
||||
/>
|
||||
|
||||
<DialogFeebackAudit ref="feebackDialog" @success="getList" />
|
||||
<DialogFeebackDetail ref="feebackDetailDialog" />
|
||||
<DialogBatchAudit ref="batchAuditDialog" @success="getList" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -120,6 +128,8 @@ import { getSimpleUserList as getUserOption } from '@/api/system/user'
|
||||
import { useUserStore } from '@/store/modules/user'
|
||||
|
||||
import DialogFeebackAudit from './DialogFeebackAudit.vue'
|
||||
import DialogFeebackDetail from './DialogFeebackDetail.vue'
|
||||
import DialogBatchAudit from './DialogBatchAudit.vue'
|
||||
|
||||
const userStore = useUserStore()
|
||||
const message = useMessage() // 消息弹窗
|
||||
@@ -176,12 +186,23 @@ async function getList() {
|
||||
}
|
||||
}
|
||||
|
||||
function batchAudit() {
|
||||
console.log(123)
|
||||
const batchIds = ref([])
|
||||
function handleSelectionChange(val) {
|
||||
batchIds.value = val
|
||||
}
|
||||
|
||||
const batchAuditDialog = ref()
|
||||
function batchAudit() {
|
||||
if (batchIds.value.length) {
|
||||
batchAuditDialog.value.open('aftersale', batchIds.value)
|
||||
} else {
|
||||
message.info('请选择表格中需要审核的数据')
|
||||
}
|
||||
}
|
||||
|
||||
const feebackDetailDialog = ref()
|
||||
function handleDetail(id) {
|
||||
console.log(id)
|
||||
feebackDetailDialog.value.open(id)
|
||||
}
|
||||
async function handleCancel(id) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user