diff --git a/src/utils/payM.js b/src/utils/payM.js
index 2239c792d0e6c7b1ab0f2af112c112b2016249f3..670ddb3789cc8983cf8ea24594b0c8d032180c4b 100644
--- a/src/utils/payM.js
+++ b/src/utils/payM.js
@@ -50,6 +50,17 @@ export const preView = (params) => { return req("post", "/api/pdf/preview", para
//个人信息
export const getUserById= (params) => { return req("post", "/api/user/getById", params)};
-
//修改个人信息
export const updateUserInfo= (params) => { return req("post", "/api/user/update", params)};
+//保存签章
+export const signatures = (params) => { return req("post", "/api/signatures/save", params)};
+//签章更新
+export const signaturesedite = (params) => { return req("post", "/api/signatures/signaturesedite", params)};
+//启用签章
+export const signaturesuse = (params) => { return req("post", "/api/signatures/use", params)};
+//停用
+export const signaturesstop = (params) => { return req("post", "/api/signatures/stop", params)};
+//自己的签章
+export const signaturesList = (params) => { return req("post", "/api/signatures/list", params)}
+//删除签章
+export const signaturesdelete = (params) => { return req("post", "/api/signatures/delete", params)};
\ No newline at end of file
diff --git a/src/views/test/guahao/applyroom.vue b/src/views/test/guahao/applyroom.vue
index 9813cd868420c55bfb1d1abbf7ed8914cedc6dbc..da510b63961905e8d5b769c23eb7078a9de1af29 100644
--- a/src/views/test/guahao/applyroom.vue
+++ b/src/views/test/guahao/applyroom.vue
@@ -47,22 +47,20 @@
-
同意
拒绝
- 确认合同
+ 确认合同
预览合同
-
-
+
-
+
@@ -78,7 +76,7 @@ export default {
},
data() {
return {
- preview : false,
+ previewFlag : false,
htmlstr:'',
roomid:"",
status:'',
@@ -136,6 +134,9 @@ export default {
callFather(parm) {
this.getdata(parm)
},
+ closeDialog(){
+ this.previewFlag = false;
+ },
// 搜索事件
search() {
this.getdata(this.formInline)
@@ -180,6 +181,9 @@ export default {
item.status = 1
this.handle(item);
},
+ sure(row){
+ console.log('row------',row);
+ },
refuse(row){
alert('确定要拒绝该申请嘛?')
let item = {};
@@ -196,16 +200,18 @@ export default {
},
preView(param){
console.log('param',param);
-
- preView().then((res)=>{
+ let map = {};
+ map.partaid = param.partaid;
+ map.partbid = param.partbid;
+ preView(map).then((res)=>{
console.log('res--------pre---------',res);
if(res.data.obj.api_code=="200"){
this.htmlstr = res.data.obj.htmlContent;
}
})
- // let HTMLSTR = "
租房合同
"
- // this.htmlstr = HTMLSTR;
- this.preview = true;
+ let HTMLSTR = "
租房合同
"
+ this.htmlstr = HTMLSTR;
+ this.previewFlag = true;
}
}
}
diff --git a/src/views/test/my/signatures.vue b/src/views/test/my/signatures.vue
index 9de1d04b6e7ff291f8daa24cafa17649107070a3..a00c55e99ad8c16f86a3f995492ffe72d64313e3 100644
--- a/src/views/test/my/signatures.vue
+++ b/src/views/test/my/signatures.vue
@@ -1,33 +1,269 @@
+
我得
我得签章
+
+
+
+
+
+
+
+ 搜索
+ 添加
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 预览
+ 删除
+ 启用
+ 停用
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+ 该处为签章请使用透明底色得签章,只能上传jpg,png文件,且不超过500kb
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -39,8 +275,4 @@ export default {
.userRole {
width: 100%;
}
-
-
-
-
-
+
\ No newline at end of file