‘抓取规则

git commit -m ‘抓取规则
This commit is contained in:
fz
2023-12-06 17:53:51 +08:00
parent 77d59a2b21
commit 222ab6588d
3 changed files with 190 additions and 2 deletions
+16 -2
View File
@@ -20,6 +20,7 @@
<template slot-scope="scope">
<el-button size="mini" @click="deleteTemplate(scope.row)" type="text" icon="el-icon-delete">删除</el-button>
<el-button size="mini" @click="eidtTemplate(scope.row)" type="text" icon="el-icon-edit">修改模板</el-button>
<el-button size="mini" @click="grabRulesClick(scope.row)" type="text" icon="el-icon-edit">设置抓取规则</el-button>
</template>
</el-table-column>
</el-table>
@@ -31,6 +32,7 @@
<sealManage :sealVisable="sealVisable" @cancelSeal="cancelSeal" :sealData="sealData">
</sealManage>
<editTemplate :editVisable="editVisable" @cancelEdit="cancelEdit" @getList="getList" :editData="editData" :queryParams="queryParams"></editTemplate>
<grabRules :rulesVisable="rulesVisable" @cancelRules="cancelRules" @getList="getList" :rulesData="rulesData" :queryParams="queryParams"></grabRules>
</div>
</template>
@@ -44,13 +46,15 @@ import addInstitution from "./components/addInstitution";
import addTemplate from "./components/addTemplate";
import sealManage from "./components/sealManage";
import editTemplate from "./components/editTemplate";
import grabRules from "./components/grabRules.vue"
export default {
name: "paymentList",
components: {
addInstitution,
addTemplate,
sealManage,
editTemplate
editTemplate,
grabRules
},
data() {
return {
@@ -70,10 +74,12 @@ export default {
operateVisable: false,//新增弹窗
uploadVisable: false,//上传弹窗
sealVisable: false,//公章列表弹窗
rulesVisable:false,//抓取规则弹窗
uploadData: {},
sealData: {},
editVisable:false,
editData:{}
editData:{},
rulesData:{}
};
},
created() {
@@ -114,6 +120,14 @@ export default {
cancelEdit() {
this.editVisable = false;
},
// 抓取规则
grabRulesClick(row){
this.rulesVisable = true;
this.rulesData = row;
},
cancelRules(){
this.rulesVisable = false;
},
/** 搜索按钮操作 */
handleQuery() {
this.queryParams.pageNum = 1;