|
@@ -517,7 +517,22 @@ const tableEvents = {
|
|
handleVerify(index, row) {
|
|
handleVerify(index, row) {
|
|
onlyClickHighlight(row, '_action_clicked_verify')
|
|
onlyClickHighlight(row, '_action_clicked_verify')
|
|
loading.value = true
|
|
loading.value = true
|
|
- VerifySpiderConfig().then(r => {
|
|
|
|
|
|
+ if (!row.cssmark) {
|
|
|
|
+ return ElMessage({
|
|
|
|
+ message: '没有找到标注信息',
|
|
|
|
+ type: 'error',
|
|
|
|
+ duration: 3000,
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ const mark = {
|
|
|
|
+ ...row.cssmark,
|
|
|
|
+ code: row.code,
|
|
|
|
+ site: row.site,
|
|
|
|
+ channel: row.channel,
|
|
|
|
+ href: row.href,
|
|
|
|
+ modifyuser: row.modifyuser,
|
|
|
|
+ }
|
|
|
|
+ VerifySpiderConfig(mark).then(r => {
|
|
console.log("验证爬虫结果", r)
|
|
console.log("验证爬虫结果", r)
|
|
loading.value = false
|
|
loading.value = false
|
|
verifySpiderDialog.value.dialogVisible = true
|
|
verifySpiderDialog.value.dialogVisible = true
|