庞东旭 před 1 rokem
rodič
revize
dd72eabca7
3 změnil soubory, kde provedl 115 přidání a 262 odebrání
  1. +8
    -0
      src/api/contracted/fbf.js
  2. +6
    -6
      src/views/contracted/village/map/map.vue
  3. +101
    -256
      src/views/sunVillage_info/list_fbfsq.vue

+ 8
- 0
src/api/contracted/fbf.js Zobrazit soubor

@@ -44,3 +44,11 @@ export function generateEmployerCode(params) {
params: params
});
}

// 发包方签字授权
export function authorizeSignature(id) {
return request({
url: '/service/fbf/authorize/' + id,
method: 'get'
});
}

+ 6
- 6
src/views/contracted/village/map/map.vue Zobrazit soubor

@@ -41,10 +41,10 @@
<div class="landPopup">
<van-dialog v-model="open" :title="title" :show-confirm-button="false" :show-cancel-button="false">
<van-form ref="landForm">
<van-field v-model="form.dkbm" label="地块代码:" placeholder="请输入地块代码" required :rules="[{ required: true }]" :border="false" input-align="right" label-width="auto" maxlength="19" > <!-- :disabled="isDisabled" -->
<template #button v-if="!isDisabled">
<van-field v-model="form.dkbm" label="地块代码:" placeholder="<自动生成>" :border="false" input-align="right" label-width="auto" maxlength="19" :disabled="true" >
<!-- <template #button v-if="!isDisabled">
<van-button size="mini" type="primary" native-type="button" @click="generateCode">生成代码</van-button>
</template>
</template> -->
</van-field>
<van-field v-model="form.dkmc" label="地块名称:" placeholder="请输入地块名称" required :rules="[{ required: true }]" :border="false" input-align="right" maxlength="50" />
<van-field v-model="syqxzText" label="所有权性质:"
@@ -215,7 +215,7 @@
sfjbntOptions: [], // 是否基本农田字典
showSaveBtn: false, // 控制保存按钮的显示隐藏
showDeleteBtn: false, // 控制删除按钮的显示隐藏
isDisabled: false, // 是否禁用
// isDisabled: false, // 是否禁用
taskStatus: null, // 调查任务的完成状态:1表示已完成,2表示未完成
landCategory: ['10'], // 地块类别

@@ -355,7 +355,7 @@
this.title = "添加地块信息";
this.showSaveBtn = true;
this.showDeleteBtn = false;
this.isDisabled = false;
// this.isDisabled = false;
setTimeout(() => {
this.open = true;
}, 10);
@@ -391,7 +391,7 @@
this.title = "查看地块信息";
this.showSaveBtn = false;
this.showDeleteBtn = true;
this.isDisabled = true;
// this.isDisabled = true;
setTimeout(() => {
this.open = true;
}, 10);


+ 101
- 256
src/views/sunVillage_info/list_fbfsq.vue Zobrazit soubor

@@ -9,45 +9,25 @@
<img src="../../assets/images/sunVillage_info/list_employer_process_icon_02.png" style="width:22PX;height:22PX;margin-right: 10px;"/>
<p class="tit">发包方授权</p>
</div>
<van-field readonly v-model="form.fbfbm" label="发包方代码" placeholder="发包方代码" input-align="right" :border="false" />
<van-field readonly v-model="form.fbfmc" label="发包方名称" placeholder="发包方名称" input-align="right" :border="false" />
<van-field readonly v-model="form.fbffzrxm" label="负责人名称" placeholder="负责人名称" input-align="right" :border="false" />
<field-select
v-model="form.fzrzjlx"
label="证件类型"
value-key="dictLabel"
data-key="dictValue"
placeholder="选择证件类型"
:rules="[{ required: true }]"
readonly
remote-url="/open/zdzh/list/zjlx"
:on-remote-response="'data'"
/>
<van-field readonly v-model="form.fzrzjhm" label="证件号码" placeholder="证件号码" input-align="right" :border="false" />
<van-field readonly v-model="form.lxdh" label="联系电话" placeholder="联系电话" input-align="right" :border="false" />
<van-field readonly v-model="form.fbfdz" label="发包方地址" placeholder="发包方地址" input-align="right" :border="false" />
<van-field readonly v-model="form.yzbm" label="邮政编码" placeholder=" 邮政编码" input-align="right" :border="false" />
<van-field readonly v-model="form.fbfdcy" label="发包方调查员" placeholder="发包方调查员" input-align="right" :border="false" />
<van-field readonly v-model="form.fbfdcrq" label="发包方调查日期" placeholder="发包方调查日期" input-align="right" :border="false" />
<van-field readonly v-model="form.fbfdcjs" label="发包方调查记事" placeholder="发包方调查记事" input-align="right" :border="false" />
<van-cell title="发包方调查签字" style="color: #646566;">
<van-field style="padding: 0 0;" readonly label="发包方调查签字" input-align="right" :border="false" >
<template #label>
<img :src="'/api'+form.fbfdcqz" width="10%" alt="" v-if="form.fbfdcqz" >
</template>
</van-field>
</van-cell>
<van-field readonly v-model="form.shyj" label="审核意见" placeholder="审核意见" input-align="right" :border="false" />
<van-field readonly v-model="form.shrq" label="审核日期" placeholder="审核日期" input-align="right" :border="false" />
<van-cell title="审核人签字" style="color: #646566;">
<van-field style="padding: 0 0;" readonly label="审核人签字" input-align="right" :border="false" >
<template #label>
<img :src="'/api'+form.shrqz" width="10%" alt="" v-if="form.shrqz" >
</template>
</van-field>
</van-cell>
<van-field v-model="form.fbfbm" label="发包方代码" placeholder="发包方代码" input-align="right" :border="false" />
<van-field v-model="form.fbfmc" label="发包方名称" placeholder="发包方名称" input-align="right" :border="false" />
<van-field v-model="form.fbffzrxm" label="负责人名称" placeholder="负责人名称" input-align="right" :border="false" />
<van-field v-model="form.fzrzjlx" label="证件类型" placeholder="证件类型" input-align="right" :border="false" />
<van-field v-model="form.fzrzjhm" label="证件号码" placeholder="证件号码" input-align="right" :border="false" />
<van-field v-model="form.lxdh" label="联系电话" placeholder="联系电话" input-align="right" :border="false" />
<van-field v-model="form.fbfdz" label="发包方地址" placeholder="发包方地址" input-align="right" :border="false" />
<van-field v-model="form.yzbm" label="邮政编码" placeholder=" 邮政编码" input-align="right" :border="false" />
<van-field v-model="form.fbfdcy" label="发包方调查员" placeholder="发包方调查员" input-align="right" :border="false" />
<van-field v-model="form.fbfdcrq" label="发包方调查日期" placeholder="发包方调查日期" input-align="right" :border="false" />
<van-field v-model="form.fbfdcjs" label="发包方调查记事" placeholder="发包方调查记事" input-align="right" :border="false" />
<van-field readonly label="发包方调查签字" input-align="right" :border="false" />
<img :src="'/api'+form.fbfdcqz" width="100%" alt="" v-if="form.fbfdcqz" />
<van-field v-model="form.shyj" label="审核意见" placeholder="审核意见" input-align="right" :border="false" />
<van-field v-model="form.shrq" label="审核日期" placeholder="审核日期" input-align="right" :border="false" />
<van-field readonly label="审核人签字" input-align="right" :border="false" />
<img :src="'/api'+form.shrqz" width="100%" alt="" v-if="form.shrqz" />
<div style="margin: 30px auto 0;width: 50%;">
<van-button round block type="primary" native-type="submit" >
<van-button round block type="primary" native-type="submit" @click="handleAuthorization(form.id)" >
授权
</van-button>
</div>
@@ -56,62 +36,50 @@
</template>

<script>
import { getList} from "@/api/sunVillage_info/sysCbf";
import FieldSelect from "@/components/form/FieldSelect";
// import { getList} from "@/api/sunVillage_info/sysCbf";
import { listFbf, authorizeSignature } from "@/api/contracted/fbf";
import $ from "jquery";
export default {
name: "certificateList",
components: {FieldSelect},
data() {
return {
// 发包方信息表单
form:{},
showForm2:false,
showesign:false,
height:0,
options: {
cert_type: [],
},

//电子签名
signature: {
lineWidth: 6, // 画笔的线条粗细
lineColor: "#000000", // 画笔的颜色
bgColor: "", // 画布的背景颜色
resultImg: "", // 最终画布生成的base64图片
isCrop: false, // 是否裁剪,在画布设定尺寸基础上裁掉四周空白部分
},
};
},
created() {
this.InitOptions();
this.getSysCfb();
this.getFbfList();
},
methods: {
InitOptions() {
for(let k in this.options)
{
this.getDicts(k).then((resp) => this.options[k] = resp.data);
}
},
getSysCfb(){
getList({}).then(response => {
if(response.data.length > 0){
this.form = response.data[0];

getFbfList() {
listFbf({deptId: this.$store.state.user.loginDeptId, translate_dict: 1}).then(response => {
if (response.rows.length > 0) {
this.form = response.rows[0];
}

});
},
handleAuthorization(id) {
authorizeSignature(id).then(response => {
if (response.code === 200) {
this.$toast({
icon: 'success',
message: '授权成功',
duration: '1000'
})
}
});
}
},
}
</script>

<style scoped lang="scss">
/deep/ .van-button--primary{
/deep/ .van-button--primary {
background: url("../../assets/images/sunVillage_info/btn_bg.png") no-repeat;
background-size: 100% 100%;
border: none;
}

.van-cell::after {
position: absolute;
box-sizing: border-box;
@@ -120,198 +88,75 @@
right: 0.426667rem;
bottom: 0;
left: 0.426667rem;
border:none;
border: none;
-webkit-transform: scaleY(.5);
transform: scaleY(.5);
}
.signature-footer {
transform: rotate(90deg);
width: auto;
position: absolute;
top: 50%;
left: 0px;

}
.home_wrapper{
.home_wrapper {
background: #e9e9e9;
min-height: 100vh;
width: 100vw;
.header_main {
height: 116px;
background: url('../../assets/images/sunVillage_info/list_head.png') no-repeat;
background-size: 100% 100%;
position: fixed;
top: 0;
left: 0;
width: 100%;
font-size: 36px;
line-height: 116px;
text-align: center;
color: #fff;
position: relative;

.return_btn {
width: 24px;
height: 43.2px;
background: url('../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat;
background-size: 20px 36px;
position: absolute;
left: 38px;
top: 36px;
}
}
.release_head{
height: 90px;
padding:0 23px;
display: flex;
align-items: center;
font-size: 26px;
color: #929292;
.people{
flex: 1;
display: flex;
align-items: center;
.icon{
width: 24px;
height: 21px;
background: url('../../assets/images/sunVillage_info/details_icon_1.png') no-repeat;
background-size: 100% 100%;
display: block;
margin-right: 8px;
}
}
.time{
flex: 1;
display: flex;
align-items: center;
justify-content:flex-end;
.icon{
width: 25px;
height: 25px;
background: url('../../assets/images/sunVillage_info/details_icon_2.png') no-repeat;
background-size: 100% 100%;
display: block;
margin-right: 8px;
}
}
}
.release_conetnt{
padding:0 22px;
font-size: 32px;
color: #252525;
line-height: 44px;
img{
max-width: 100%;
margin-bottom: 16px;
}
p{
margin-bottom: 16px;
}
}
.list_main{
padding:25px;
background: #ffffff;
width: 94%;
margin: 25px auto 0;
border-radius: 15PX;
box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1);
}
.subForm{
padding:25px;
background-image: linear-gradient(#2884ec,#68b2ee);
width: 94%;
margin: 50PX auto 0;
border-radius: 15PX;
box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1);
position: relative;
padding-top: 10vw;
img{
position: absolute;
left: 50%;
width: 15vw;
transform: translate(-50%,calc(-50% - 10vw));
border: 5PX solid #e9e9e9;
border-radius: 100%;
}
/deep/ .van-field__label{
/*padding-left: 10PX;*/
width: auto;
display: flex;
align-items: start;
color: #ffffff;
margin-right: 6vw;
}
/deep/ .van-cell{
background-color: transparent;
}
.textarea{
/deep/ .van-field__value{
background-color: #ffffff;
border-radius: 10PX;
}
/deep/ .van-field__control{
padding: 12PX;
color: #666666;
}
}
/deep/ .van-field__value{
background-color: transparent;
border-radius: 10PX;
}
/deep/ .van-field__control{
padding: 0PX;
color: #ffffff;
}
/deep/ .van-cell--required::before{
left: 60PX;
}
}
.subForm2{
padding:25px;
background:#ffffff;
width: 94%;
margin: 50PX auto 0;
border-radius: 15PX;
box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1);
position: relative;
padding-top: 10vw;
.topImg{
position: absolute;
left: 50%;
width: 15vw;
transform: translate(-50%,calc(-50% - 10vw));
border: 5PX solid #e9e9e9;
border-radius: 100%;
}
.bottomImg{
position: absolute;
left: 50%;
top: 50%;
width: 25vw;
transform: translate(-50%,-50%);
}
}
.titBox{
display: flex;
align-items: center;
}
.tit{
font-size: 36px;
font-weight: bold;
}
/deep/ .van-cell{
padding-left: 0!important;
padding-right: 0!important;
padding-bottom: 0!important;
}
/deep/ .van-field__label{
/*padding-left: 10PX;*/
width: auto;
display: flex;
align-items: center;
}
/deep/ .van-cell--required::before{
left: 85PX;
}
.header_main {
height: 116px;
background: url('../../assets/images/sunVillage_info/list_head.png') no-repeat;
background-size: 100% 100%;
position: fixed;
top: 0;
left: 0;
width: 100%;
font-size: 36px;
line-height: 116px;
text-align: center;
color: #fff;
position: relative;

.return_btn {
width: 24px;
height: 43.2px;
background: url('../../assets/images/sunVillage_info/list_icon_5.png') center center no-repeat;
background-size: 20px 36px;
position: absolute;
left: 38px;
top: 36px;
}
}

.list_main {
padding: 25px;
background: #ffffff;
width: 94%;
margin: 25px auto 0;
border-radius: 15PX;
box-shadow: 4px 6px 5px rgba(63, 68, 75, 0.1);
}

.titBox {
display: flex;
align-items: center;
}

.tit {
font-size: 36px;
font-weight: bold;
}

/deep/ .van-cell {
padding-left: 0 !important;
padding-right: 0 !important;
padding-bottom: 0 !important;
}

/deep/ .van-field__label {
/*padding-left: 10PX;*/
width: auto;
display: flex;
align-items: center;
}

/deep/ .van-cell--required::before {
left: 85PX;
}
}
</style>

Načítá se…
Zrušit
Uložit