Browse Source

承包方、发包方审核签字优化

rongxin_prod
Xyq123* 1 year ago
parent
commit
000fed4f25
3 changed files with 32 additions and 10 deletions
  1. +8
    -0
      src/api/sunVillage_info/sysCbf.js
  2. +12
    -5
      src/views/sunVillage_info/list_chronicles_process.vue
  3. +12
    -5
      src/views/sunVillage_info/list_contractor_process.vue

+ 8
- 0
src/api/sunVillage_info/sysCbf.js View File

@@ -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){


+ 12
- 5
src/views/sunVillage_info/list_chronicles_process.vue View File

@@ -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: '签字成功'});


}) })


+ 12
- 5
src/views/sunVillage_info/list_contractor_process.vue View File

@@ -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: '签字成功'});


}) })


Loading…
Cancel
Save