73dc09e3 by jiaozeping@pashanhoo.com

代码修改

1 parent 5d22d458
......@@ -51,8 +51,6 @@ export default {
}
},
methods: {
fetchData () {
},
editClick () {
let LODOP = getLodop();
LODOP.SET_PRINT_MODE("PRINT_SETUP_PROGRAM", true);
......
......@@ -21,7 +21,7 @@
</el-col>
<el-col :span="6" class="btnColRight">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="fetchData()">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="queryClick">查询</el-button>
<el-button type="primary" icon="el-icon-search" @click="zslqClick()">证书领取</el-button>
</el-form-item>
</el-col>
......@@ -64,8 +64,7 @@ export default {
}
},
methods: {
// 列表渲染接口
fetchData () {
queryClick () {
this.ruleForm.bsmSlsq = this.$route.query.bsmSlsq;
getCertificateList(this.ruleForm).then(res => {
if (res.code === 200) {
......
......@@ -119,7 +119,7 @@ export default {
issueCertificate(this.ruleForm).then(res => {
if (res.code == 200) {
this.$message.success('保存成功');
this.$parent.fetchData();
this.$parent.queryClick();
this.$emit("input", false);
} else {
this.$message.error(res.message)
......
......@@ -18,7 +18,7 @@
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -63,11 +63,7 @@ export default {
};
},
methods: {
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
queryClick(){
getErrorLogList({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
......@@ -79,9 +75,6 @@ export default {
}
})
},
queryClick(){
this.fetchData();
},
viewDetail(e){
this.$popup("错误日志", "xtjk/cwrz/components/viewDialog", {
formData: {
......
......@@ -18,7 +18,7 @@
</el-col>
<el-col :span="4" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -63,11 +63,7 @@ export default {
};
},
methods: {
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
queryClick(){
getOperationLogList({ ...this.queryForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
......@@ -76,9 +72,6 @@ export default {
}
})
},
queryClick(){
this.fetchData();
},
viewDetail(e){
this.$popup("操作日志", "xtjk/czrz/components/viewDialog", {
formData: {
......
......@@ -157,11 +157,8 @@ export default {
};
},
methods: {
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
queryClick () {
getServerInfo().then(res => {
if (res.code === 200) {
this.serverData = res.result
......
......@@ -24,7 +24,7 @@
</el-col>
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="fetchData()">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -84,7 +84,7 @@ export default {
closeDialog () {
this.$emit("closeDialog")
},
fetchData () {
queryClick () {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectCfdj({ ...this.queryForm, ...this.pageData })
.then((res) => {
......
......@@ -33,7 +33,7 @@
</el-col>
<el-col :span="2" class="btnColRight">
<el-form-item>
<el-button type="primary" @click="queryClick()">查询</el-button>
<el-button type="primary" @click="queryClick">查询</el-button>
</el-form-item>
</el-col>
</el-row>
......@@ -89,7 +89,7 @@ export default {
closeDialog() {
this.$emit("closeDialog");
},
fetchData() {
queryClick() {
this.queryForm.sqywbm = this.sqywInfo.djywbm;
selectDiyaq({ ...this.queryForm, ...this.pageData }).then((res) => {
if (res.code === 200) {
......
......@@ -12,7 +12,7 @@ export default {
},
queryClick () {
this.pageData.currentPage = 1
this.fetchData();
// this.fetchData();
}
}
}
......
......@@ -73,12 +73,8 @@ export default {
methods: {
// 查询
queryClick () {
this.fetchData();
},
// 初始化数据
fetchData () {
},
},
};
</script>
......
......@@ -83,11 +83,8 @@ export default {
methods: {
// 查询
queryClick() {
this.fetchData();
},
// 初始化数据
fetchData() {},
},
};
</script>
......
......@@ -140,7 +140,7 @@ export default {
this.$emit("input", false);
this.$refs['ruleForm'].resetFields();
this.resetTableFields();
this.$parent.fetchData();
this.$parent.queryClick();
} else {
this.$message.error(res.message)
}
......
......@@ -27,7 +27,7 @@
<el-col :span="9" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button type="primary" @click="openDialog()">新增</el-button>
</el-form-item>
</el-col>
......@@ -96,19 +96,6 @@ export default {
}
},
methods: {
init (e) {
this.fetchData()
},
// 列表渲染接口
fetchData () {
getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
openDialog (bsmBatch) {
if (bsmBatch) {
this.$nextTick(() => {
......@@ -123,7 +110,13 @@ export default {
this.isDialog = true;
},
queryClick () {
this.fetchData()
getZsglffList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
//确定证书分发
confrimVerify (item) {
......@@ -135,7 +128,7 @@ export default {
confirmZsff({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("分发成功")
this.fetchData();
this.queryClick();
} else {
this.$message.error(res.message)
}
......@@ -158,7 +151,7 @@ export default {
if (res.code == 200) {
this.$message.success("删除成功")
this.handleDel()
this.fetchData()
this.queryClick()
} else {
this.$message.error(res.message)
}
......
......@@ -147,7 +147,7 @@ export default {
this.$emit("input", false);
this.$refs['ruleForm'].resetFields();
this.resetTableFields();
this.$parent.fetchData();
this.$parent.queryClick();
} else {
this.$message.error(res.message);
}
......
......@@ -25,7 +25,7 @@
</el-col>
<el-col :span="9" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" @click="queryClick()">查询</el-button>
<el-button type="primary" native-type="submit" @click="queryClick">查询</el-button>
<el-button type="primary" @click="openDialog()">新增</el-button>
</el-form-item>
</el-col>
......@@ -93,16 +93,6 @@ export default {
}
},
methods: {
// 列表渲染接口
fetchData () {
getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
openDialog (bsmBatch) {
if (bsmBatch) {
this.$nextTick(() => {
......@@ -116,7 +106,13 @@ export default {
this.isDialog = true;
},
queryClick () {
this.fetchData()
getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
this.tableData.total = total;
this.tableData.data = records ? records : []
}
})
},
//删除证书入库数据
delZsrk (item) {
......@@ -129,7 +125,7 @@ export default {
if (res.code == 200) {
this.$message.success("删除成功")
this.handleDel()
this.fetchData()
this.queryClick()
} else {
this.$message.error(res.message)
}
......@@ -151,7 +147,7 @@ export default {
verifyZsrk({ "bsmBatch": item.bsmBatch }).then(res => {
if (res.code == 200) {
this.$message.success("审核成功")
this.fetchData();
this.queryClick();
} else {
this.$message.error(res.message)
}
......
......@@ -6,12 +6,12 @@
<el-row>
<el-col :span="5">
<el-form-item label="印刷序列号" prop="ysxlh">
<el-input v-model="ruleForm.ysxlh" @clear="fetchData()" clearable placeholder="请输入印刷序列号"></el-input>
<el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input>
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="证书类型" prop="zslx">
<el-select v-model="ruleForm.zslx" @change="fetchData()" class="width100" placeholder="请选择证书类型" clearable>
<el-select v-model="ruleForm.zslx" class="width100" placeholder="请选择证书类型" clearable>
<el-option v-for="item in zslxArr" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
......@@ -19,18 +19,18 @@
</el-col>
<el-col :span="5">
<el-form-item label="业务号" label-width="60px" prop="ywh">
<el-input v-model="ruleForm.ywh" @clear="fetchData()" clearable placeholder="请输入业务号"></el-input>
<el-input v-model="ruleForm.ywh" clearable placeholder="请输入业务号"></el-input>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="不动产权证号" label-width="100px" prop="bdcqzh">
<el-input v-model="ruleForm.bdcqzh" @clear="fetchData()" placeholder="请输入不动产权证号"></el-input>
<el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input>
</el-form-item>
</el-col>
<el-col :span="3" class="btnColRight">
<el-form-item>
<el-button type="primary" native-type="submit" icon="el-icon-search" @click="fetchData()">查询</el-button>
<el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick">查询</el-button>
<el-button @click="moreQueryClick()">高级查询</el-button>
</el-form-item>
</el-col>
......@@ -80,8 +80,7 @@ export default {
};
},
methods: {
// 列表渲染接口
fetchData () {
queryClick () {
getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => {
if (res.code === 200) {
let { total, records } = res.result
......