@@ -16,6 +16,14 @@ export function getCbdkms(data){ | |||||
params:data | params:data | ||||
}) | }) | ||||
} | } | ||||
//查询承包方调查 | |||||
export function getCbfdcList(data){ | |||||
return request({ | |||||
url:'/service/cbfdc/list', | |||||
method:'get', | |||||
params:data | |||||
}) | |||||
} | |||||
//修改 | //修改 | ||||
export function updateSysCfb(data){ | export function updateSysCfb(data){ | ||||
@@ -92,7 +92,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import { getList,getCbdkms,updateSysCfb,updateBatchSign} from "@/api/sunVillage_info/sysCbf"; | |||||
import { getList,getCbfdcList,getCbdkms,updateSysCfb,updateBatchSign} from "@/api/sunVillage_info/sysCbf"; | |||||
import $ from "jquery"; | import $ from "jquery"; | ||||
export default { | export default { | ||||
name: "certificateList", | name: "certificateList", | ||||
@@ -116,6 +116,7 @@ | |||||
}; | }; | ||||
}, | }, | ||||
created() { | created() { | ||||
this.getCbfdc(); | |||||
this.getCbfCount(); | this.getCbfCount(); | ||||
this.getCbfdkCount(); | this.getCbfdkCount(); | ||||
this.height = window.screen.height * 1.28 - 20; | this.height = window.screen.height * 1.28 - 20; | ||||
@@ -124,9 +125,15 @@ | |||||
getCbfCount(){ | getCbfCount(){ | ||||
getList({}).then(res=>{ | getList({}).then(res=>{ | ||||
this.cbfCount = res.total; | this.cbfCount = res.total; | ||||
this.form = res.rows[0]; | |||||
if(this.form.gsjsrqz != null){ | |||||
this.showJsxx = true; | |||||
}); | |||||
}, | |||||
getCbfdc(){ | |||||
getCbfdcList({}).then(res=>{ | |||||
if(res.total > 0){ | |||||
this.form = res.rows[0]; | |||||
if(this.form.gsjsrqz != null){ | |||||
this.showJsxx = true; | |||||
} | |||||
} | } | ||||
}); | }); | ||||
}, | }, | ||||
@@ -168,7 +175,7 @@ | |||||
}); | }); | ||||
updateBatchSign(param,this.form.gsjs).then((res) => { | updateBatchSign(param,this.form.gsjs).then((res) => { | ||||
this.$toast.clear(); | this.$toast.clear(); | ||||
this.getCbfCount(); | |||||
this.getCbfdc(); | |||||
this.$notify({type: 'success', message: '签字成功'}); | this.$notify({type: 'success', message: '签字成功'}); | ||||
}) | }) | ||||
@@ -114,7 +114,7 @@ | |||||
</template> | </template> | ||||
<script> | <script> | ||||
import { getList,getCbdkms,updateSysCfb,examineBatchSign} from "@/api/sunVillage_info/sysCbf"; | |||||
import { getList,getCbdkms,getCbfdcList,updateSysCfb,examineBatchSign} from "@/api/sunVillage_info/sysCbf"; | |||||
import $ from "jquery"; | import $ from "jquery"; | ||||
export default { | export default { | ||||
name: "certificateList", | name: "certificateList", | ||||
@@ -138,6 +138,7 @@ | |||||
}; | }; | ||||
}, | }, | ||||
created() { | created() { | ||||
this.getCbfdc(); | |||||
this.getCbfCount(); | this.getCbfCount(); | ||||
this.getCbfdkCount(); | this.getCbfdkCount(); | ||||
this.getCbfGsqzCount(); | this.getCbfGsqzCount(); | ||||
@@ -147,9 +148,15 @@ | |||||
getCbfCount(){ | getCbfCount(){ | ||||
getList({}).then(res=>{ | getList({}).then(res=>{ | ||||
this.cbfCount = res.total; | this.cbfCount = res.total; | ||||
this.form = res.rows[0]; | |||||
if(this.form.gsshqz != null){ | |||||
this.showForm2 = true; | |||||
}); | |||||
}, | |||||
getCbfdc(){ | |||||
getCbfdcList({}).then(res=>{ | |||||
if(res.total > 0){ | |||||
this.form = res.rows[0]; | |||||
if(this.form.gsshqz != null){ | |||||
this.showForm2 = true; | |||||
} | |||||
} | } | ||||
}); | }); | ||||
}, | }, | ||||
@@ -194,7 +201,7 @@ | |||||
}); | }); | ||||
examineBatchSign(param,this.form.gsshyj).then((res) => { | examineBatchSign(param,this.form.gsshyj).then((res) => { | ||||
this.$toast.clear(); | this.$toast.clear(); | ||||
this.getCbfCount(); | |||||
this.getCbfdc(); | |||||
this.$notify({type: 'success', message: '签字成功'}); | this.$notify({type: 'success', message: '签字成功'}); | ||||
}) | }) | ||||