7d10ee93 by 任超
2 parents 25aa848d dc814a88
...@@ -66,4 +66,13 @@ export function getSlsqBdcqzList (params) { ...@@ -66,4 +66,13 @@ export function getSlsqBdcqzList (params) {
66 method: 'get', 66 method: 'get',
67 params 67 params
68 }) 68 })
69 }
70
71 // 证书预览
72 export function bdcqzPreview (data) {
73 return request({
74 url: SERVER.SERVERAPI + '/rest/ywbl/bdcqz/bdcqzPreview',
75 method: 'post',
76 data
77 })
69 } 78 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -97,7 +97,7 @@ export function stepExpandInfo (data) { ...@@ -97,7 +97,7 @@ export function stepExpandInfo (data) {
97 // 获取审批意见 97 // 获取审批意见
98 export function getSpyjList (data) { 98 export function getSpyjList (data) {
99 return request({ 99 return request({
100 url: SERVER.SERVERAPI + '/rest/business/workFlow/getSpyjList', 100 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/getSpyjList',
101 method: 'post', 101 method: 'post',
102 data 102 data
103 }) 103 })
...@@ -106,7 +106,7 @@ export function getSpyjList (data) { ...@@ -106,7 +106,7 @@ export function getSpyjList (data) {
106 // 保存审批意见 106 // 保存审批意见
107 export function saveSpyj (data) { 107 export function saveSpyj (data) {
108 return request({ 108 return request({
109 url: SERVER.SERVERAPI + '/rest/business/workFlow/saveSpyj', 109 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyj',
110 method: 'post', 110 method: 'post',
111 data 111 data
112 }) 112 })
...@@ -114,7 +114,7 @@ export function saveSpyj (data) { ...@@ -114,7 +114,7 @@ export function saveSpyj (data) {
114 // 根据受理申请保存审批意见 114 // 根据受理申请保存审批意见
115 export function saveSpyjBySlsq (data) { 115 export function saveSpyjBySlsq (data) {
116 return request({ 116 return request({
117 url: SERVER.SERVERAPI + '/rest/business/workFlow/saveSpyjBySlsq', 117 url: SERVER.SERVERAPI + '/rest/ywbl/opinion/saveSpyjBySlsq',
118 method: 'post', 118 method: 'post',
119 data 119 data
120 }) 120 })
...@@ -127,62 +127,7 @@ export function record (data) { ...@@ -127,62 +127,7 @@ export function record (data) {
127 data 127 data
128 }) 128 })
129 } 129 }
130 // 获取不动产权证列表 130
131 export function getBdcqzList (params) {
132 return request({
133 url: SERVER.SERVERAPI + '/rest/business/workFlow/getBdcqzList',
134 method: 'get',
135 params: params
136 })
137 }
138 // 获取印刷序列号
139 export function readYsxlh (params) {
140 return request({
141 url: SERVER.SERVERAPI + '/rest/business/workFlow/readYsxlh',
142 method: 'get',
143 params: params
144 })
145 }
146 // 缮证
147 export function certificate (data) {
148 return request({
149 url: SERVER.SERVERAPI + '/rest/business/workFlow/certificate',
150 method: 'post',
151 data
152 })
153 }
154 // 作废缮证信息
155 export function invalidCertificate (data) {
156 return request({
157 url: SERVER.SERVERAPI + '/rest/business/workFlow/invalidCertificate',
158 method: 'post',
159 data
160 })
161 }
162 // 缮证列表
163 export function getCertificateList (data) {
164 return request({
165 url: SERVER.SERVERAPI + '/rest/business/workFlow/getCertificateList',
166 method: 'post',
167 data
168 })
169 }
170 // 发证
171 export function issueCertificate (data) {
172 return request({
173 url: SERVER.SERVERAPI + '/rest/business/workFlow/issueCertificate',
174 method: 'post',
175 data
176 })
177 }
178 // 获取受理申请下全部不动产权证
179 export function getSlsqBdcqzList (params) {
180 return request({
181 url: SERVER.SERVERAPI + '/rest/business/workFlow/getSlsqBdcqzList',
182 method: 'get',
183 params
184 })
185 }
186 // 终止任务 131 // 终止任务
187 export function stopTask (data) { 132 export function stopTask (data) {
188 return request({ 133 return request({
......
1 <template>
2 <el-dialog
3 :title="sqqlRule.nodename"
4 :visible.sync="dialogVisible"
5 :before-close="cancelDialog"
6 >
7 <ul class="edit-title-list" v-if="djlxList.length > 0">
8 <li
9 v-for="(item, index) in djlxList"
10 @click="handleTitleSelct(item, index)"
11 :key="index"
12 :class="{ active: index == tn }"
13 >
14 {{ item.nodename }}
15 </li>
16 </ul>
17 <el-collapse v-model="activeName" accordion>
18 <el-collapse-item title="业务详情" name="1">
19 <el-form
20 :model="form"
21 v-show="n == 0"
22 :rules="rules"
23 label-width="135px"
24 ref="ruleForm"
25 >
26 <el-row>
27 <el-col :span="8">
28 <el-form-item label="权利类型编码">
29 <el-input v-model="form.ywDetail.qllxbm" disabled></el-input>
30 </el-form-item>
31 </el-col>
32 <!-- <el-col :span="8">
33 <el-form-item label="权利类型名称">
34 <el-input v-model="form.ywDetail.qllxmc" disabled></el-input>
35 </el-form-item>
36 </el-col>
37 <el-col :span="8">
38 <el-form-item label="申请分类">
39 <el-select v-model="form.ywDetail.sqfl" disabled placeholder="请选择" class="width100">
40 <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
41 </el-option>
42 </el-select>
43 </el-form-item>
44 </el-col> -->
45 </el-row>
46 <!-- <el-row>
47 <el-col :span="8">
48 <el-form-item label="登记类型编码">
49 <el-input v-model="form.ywDetail.djlxbm" disabled></el-input>
50 </el-form-item>
51 </el-col>
52 <el-col :span="8">
53 <el-form-item label="登记类型名称">
54 <el-input v-model="form.ywDetail.djlxmc" disabled></el-input>
55 </el-form-item>
56 </el-col>
57 <el-col :span="8">
58 <el-form-item label="发起业务单元类型">
59 <el-select v-model="form.ywDetail.fqywdylx" disabled placeholder="请选择" class="width100">
60 <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
61 </el-option>
62 </el-select>
63 </el-form-item>
64 </el-col>
65 </el-row>
66 <el-row>
67 <el-col :span="8">
68 <el-form-item label="登记业务编码">
69 <el-input v-model="form.ywDetail.djywbm" disabled></el-input>
70 </el-form-item>
71 </el-col>
72 <el-col :span="16">
73 <el-form-item label="登记业务名称">
74 <el-input v-model="form.ywDetail.djywmc" disabled></el-input>
75 </el-form-item>
76 </el-col>
77 </el-row>
78 <el-row>
79 <el-col :span="8">
80 <el-form-item label="是否启用" prop="enabled">
81 <el-radio-group v-model="form.ywDetail.enabled">
82 <el-radio label="1">启用</el-radio>
83 <el-radio label="0">禁用</el-radio>
84 </el-radio-group>
85 </el-form-item>
86 </el-col>
87 <el-col :span="16">
88 <el-form-item label="业务流程ID" prop="flowid">
89 <el-input v-model="form.ywDetail.flowid"></el-input>
90 </el-form-item>
91 </el-col>
92 </el-row>
93 <el-row>
94 <el-col :span="8">
95 <el-form-item label="登记情形及材料">
96 <el-input v-model="form.ywDetail.djqxcl" placeholder="仅支持execl文件导入"></el-input>
97 </el-form-item>
98 </el-col>
99 <el-col :span="1">
100 <el-upload ref="upload" :action="imgUploadUrl" :limit="1" accept=".xls, .xlsx" :show-file-list="false"
101 :disabled='requested' :file-list="fileList" :before-upload="uploadRecord" :on-success="handleSuccess">
102 <el-button type="primary" icon="el-icon-upload" :loading="requested">上传材料</el-button>
103 </el-upload>
104 </el-col>
105 </el-row>
106 <el-row>
107 <el-col :span="8">
108 <el-form-item label="登记原因设置" prop="sfqydjyymb">
109 <el-radio-group v-model="form.ywDetail.sfqydjyymb">
110 <el-radio label="1">启用</el-radio>
111 <el-radio label="0">禁用</el-radio>
112 </el-radio-group>
113 </el-form-item>
114 </el-col>
115 </el-row>
116 <el-row>
117 <el-col :span="24">
118 <el-form-item label="登记原因模板" prop="djyy">
119 <el-input type="textarea" :rows="4" placeholder="请输入内容" v-model="form.ywDetail.djyy">
120 </el-input>
121 </el-form-item>
122 </el-col>
123 </el-row> -->
124 </el-form>
125 </el-collapse-item>
126 <el-collapse-item title="登记情形设置" name="2">
127 <div>
128 控制反馈:通过界面样式和交互动效让用户可以清晰的感知自己的操作;
129 </div>
130 <div>页面反馈:操作后,通过页面元素的变化清晰地展现当前状态。</div>
131 </el-collapse-item>
132 <el-collapse-item title="材料信息设置" name="3">
133 <div>简化流程:设计简洁直观的操作流程;</div>
134 <div>
135 清晰明确:语言表达清晰且表意明确,让用户快速理解进而作出决策;
136 </div>
137 <div>
138 帮助用户识别:界面简单直白,让用户快速识别而非回忆,减少用户记忆负担。
139 </div>
140 </el-collapse-item>
141 <el-collapse-item title="刷选条件设置" name="4">
142 <div>
143 用户决策:根据场景可给予用户操作建议或安全提示,但不能代替用户进行决策;
144 </div>
145 <div>
146 结果可控:用户可以自由的进行操作,包括撤销、回退和终止当前操作等。
147 </div>
148 </el-collapse-item>
149 </el-collapse>
150 <div slot="footer" class="dialog-footer">
151 <el-button @click="cancelDialog">取 消</el-button>
152 <el-button type="primary" @click="cancelDialog">确 定</el-button>
153 </div>
154 </el-dialog>
155 </template>
156 <script>
157 import { getDjlxInfo, getSqdjywDetail } from "@/api/system.js";
158 export default {
159 //父组件 传 过来的 值
160 props: {
161 dialogVisible: { type: Boolean, default: false },
162 sqqlRule: { type: Object, default: {} },
163 },
164 watch: {
165 dialogVisible: {
166 handler: function (newVal, oldVal) {
167 if (newVal) {
168 this.init();
169 }
170 },
171 immediate: true,
172 },
173 },
174 components: {},
175 name: "componentDialog",
176 data() {
177 return {
178 tn: 0,
179 n: 0,
180 djlxList: [],
181 title: "",
182 activeName: "1",
183 form: {},
184 };
185 },
186 mounted() {},
187 methods: {
188 //页面初始化
189 init() {
190 getDjlxInfo(this.sqqlRule.bsmSqyw).then((res) => {
191 let { result } = res;
192 this.djlxList = result ? result : [];
193 this.getDetail(this.djlxList[0].bsmSqyw);
194 });
195 //}
196 },
197 //tab选项卡事件
198 handleTitleSelct(obj, index) {
199 this.n = 0;
200 this.tn = index;
201 this.getDetail(this.djlxList[index].bsmSqyw);
202 },
203 getDetail(bsmSqyw) {
204 getSqdjywDetail(bsmSqyw).then((res) => {
205 if (res.code === 200) {
206 this.form = res.result;
207 } else {
208 this.$alert(res.message);
209 }
210 });
211 },
212 //修改父组件传过来的值
213 cancelDialog() {
214 this.$emit("update:dialogVisible", false);
215 },
216 },
217 };
218 </script>
219 <style lang='scss' scoped>
220 @import "~@/styles/mixin.scss";
221 .form {
222 background: #eee;
223 padding: 0 10px;
224 }
225 .dialog-footer {
226 text-align: center;
227 }
228 .edit-title-list {
229 @include flex;
230
231 li {
232 flex: 1;
233 @include flex-center;
234 border: 1px solid $borderColor;
235 line-height: 36px;
236 margin-bottom: 10px;
237 cursor: pointer;
238 transition: all 0.3s;
239
240 &:hover {
241 @extend .active;
242 }
243 }
244 }
245 .active {
246 background: $light-blue !important;
247 color: #fff;
248 }
249 </style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -34,18 +34,21 @@ ...@@ -34,18 +34,21 @@
34 :column="tableData.columns" :data="tableData.data"> 34 :column="tableData.columns" :data="tableData.data">
35 </lb-table> 35 </lb-table>
36 </div> 36 </div>
37 <editDialog v-model="isDialog" :detailList="detailList" :bsmSqyw="bsmSqyw" /> 37 <!-- <editDialog v-model="isDialog" :detailList="detailList" :bsmSqyw="bsmSqyw" /> -->
38 <component-dialog :dialogVisible="dialogVisible" v-if="sqqlRule&&flag" :sqqlRule="sqqlRule" @update:dialogVisible="dialogVisibles"></component-dialog>
38 </div> 39 </div>
39 </template> 40 </template>
40 <script> 41 <script>
41 import table from "@/utils/mixin/table" 42 import table from "@/utils/mixin/table"
42 import editDialog from "./components/editDialog.vue" 43 import editDialog from "./components/editDialog.vue"
44 import componentDialog from "./sqywDetail.vue"
43 import { datas, sendThis } from "./sqywgzdata" 45 import { datas, sendThis } from "./sqywgzdata"
44 import { getSysSqdjywBysearch, getDjlxInfo } from "@/api/system.js" 46 import { getSysSqdjywBysearch, getDjlxInfo } from "@/api/system.js"
45 export default { 47 export default {
46 name: "djbcx", 48 name: "djbcx",
47 components: { 49 components: {
48 editDialog 50 editDialog,
51 componentDialog
49 }, 52 },
50 mixins: [table], 53 mixins: [table],
51 mounted () { 54 mounted () {
...@@ -54,6 +57,10 @@ export default { ...@@ -54,6 +57,10 @@ export default {
54 }, 57 },
55 data () { 58 data () {
56 return { 59 return {
60 flag:false,
61 //控制弹窗 显示
62 dialogVisible: false,
63 qllxmc:"",
57 isDialog: false, 64 isDialog: false,
58 queryForm: { 65 queryForm: {
59 qllx: "", 66 qllx: "",
...@@ -66,7 +73,8 @@ export default { ...@@ -66,7 +73,8 @@ export default {
66 data: [] 73 data: []
67 }, 74 },
68 detailList: [], 75 detailList: [],
69 bsmSqyw: '' 76 bsmSqyw:"",
77 sqqlRule:"",
70 } 78 }
71 }, 79 },
72 methods: { 80 methods: {
...@@ -84,17 +92,24 @@ export default { ...@@ -84,17 +92,24 @@ export default {
84 }, 92 },
85 //编辑 93 //编辑
86 editClick (row) { 94 editClick (row) {
87 if (row.nodecode === 'B50') { 95 this.flag=true;
88 this.detailList = [] 96 this.sqqlRule = row;
89 this.bsmSqyw = row.bsmSqyw 97 this.dialogVisible = true;
90 this.isDialog = true 98 // if (row.nodecode === 'B50') {
91 } else { 99 // this.detailList = []
92 getDjlxInfo(row.bsmSqyw).then(res => { 100 // this.bsmSqyw = row.bsmSqyw
93 let { result } = res 101 // this.isDialog = true
94 this.detailList = result ? result : [] 102 // } else {
95 this.isDialog = true 103 // getDjlxInfo(row.bsmSqyw).then(res => {
96 }) 104 // let { result } = res
97 } 105 // this.detailList = result ? result : []
106 // this.isDialog = true
107 // })
108 // }
109 },
110 //子组件传 过来的 数据
111 dialogVisibles(v){
112 this.dialogVisible = v;
98 } 113 }
99 }, 114 },
100 }; 115 };
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
88 </div> 88 </div>
89 </div> 89 </div>
90 </el-dialog> 90 </el-dialog>
91 <bdcqzPrint v-model="dialog" :bdcqz="bdcqz" /> 91 <bdcqzPrint ref="bdcqzPrint" v-model="dialog" :bdcqz="bdcqz" />
92 <el-empty description="暂无数据" v-if="tableData.length == 0"></el-empty> 92 <el-empty description="暂无数据" v-if="tableData.length == 0"></el-empty>
93 </div> 93 </div>
94 </template> 94 </template>
...@@ -145,8 +145,11 @@ export default { ...@@ -145,8 +145,11 @@ export default {
145 }, 145 },
146 }); 146 });
147 } else { 147 } else {
148 this.dialog = true; 148 this.$nextTick(() => {
149 this.bdcqz = item; 149 this.dialog = true;
150 this.bdcqz = item;
151 this.$refs.bdcqzPrint.getBdcqzPreview();
152 })
150 //证书打印 153 //证书打印
151 // this.$popup("证书打印", "workflow/components/zsdy", { 154 // this.$popup("证书打印", "workflow/components/zsdy", {
152 // height: "700px", 155 // height: "700px",
......
...@@ -28,12 +28,7 @@ ...@@ -28,12 +28,7 @@
28 </el-form-item> 28 </el-form-item>
29 </el-form> 29 </el-form>
30 </div> 30 </div>
31 <div 31 <div class="aaaa" v-if="bdcqz.bdcqzlx==1" :style="{backgroundImage: 'url(' + require('@/image/bdcqz/bdcqzs2.jpg') + ')',}">
32 class="aaaa"
33 :style="{
34 backgroundImage: 'url(' + require('@/image/bdcqz/bdcqzs2.jpg') + ')',
35 }"
36 >
37 <div class="bdcqzh"> 32 <div class="bdcqzh">
38 <span>{{ bdcqz.sjjc }}</span> <span>{{ bdcqz.djnd }}</span> 33 <span>{{ bdcqz.sjjc }}</span> <span>{{ bdcqz.djnd }}</span>
39 <span>{{ bdcqz.sxqc }}</span> <span>{{ bdcqz.sxh }}</span> 34 <span>{{ bdcqz.sxqc }}</span> <span>{{ bdcqz.sxh }}</span>
...@@ -76,13 +71,52 @@ ...@@ -76,13 +71,52 @@
76 </div> 71 </div>
77 </div> 72 </div>
78 </div> 73 </div>
74 <div class="bdcdjzm" v-else :style="{backgroundImage: 'url(' + require('@/image/bdcqz/bdcdjzm.jpg') + ')',}">
75 <div class="bdcqzh">
76 <span>{{ bdcqz.sjjc }}</span> <span>{{ bdcqz.djnd }}</span>
77 <span>{{ bdcqz.sxqc }}</span> <span>{{ bdcqz.sxh }}</span>
78 </div>
79 <div class="zmyl-box">
80 <div class="qlr">
81 {{ bdcqz.qlr }}
82 </div>
83 <div class="gyqk">
84 {{ bdcqz.gyqk }}
85 </div>
86 <div class="zl">
87 {{ bdcqz.zl }}
88 </div>
89 <div class="bdcdyh">
90 {{ bdcqz.bdcdyh }}
91 </div>
92 <div class="qllx">
93 {{ bdcqz.qllx }}
94 </div>
95 <div class="qlxz">
96 {{ bdcqz.qlxz }}
97 </div>
98 <div class="yt">
99 {{ bdcqz.yt }}
100 </div>
101 <div class="mj">
102 {{ bdcqz.mj }}
103 </div>
104 <div class="syqx">
105 {{ bdcqz.syqx }}
106 </div>
107 <div class="qt">
108 {{ bdcqz.qlqtzk }}
109 </div>
110 <div class="fj">{{ bdcqz.fj }}</div>
111 </div>
112 </div>
79 </div> 113 </div>
80 </dialogBox> 114 </dialogBox>
81 </template> 115 </template>
82 116
83 <script> 117 <script>
84 import { datas } from "../javascript/zsyl.js"; 118 import { datas } from "../javascript/zsyl.js";
85 import { readYsxlh, certificate, getSlsqBdcqzList } from "@/api/bdcqz.js"; 119 import { readYsxlh, certificate, getSlsqBdcqzList,bdcqzPreview } from "@/api/bdcqz.js";
86 export default { 120 export default {
87 components: {}, 121 components: {},
88 props: { 122 props: {
...@@ -118,13 +152,18 @@ export default { ...@@ -118,13 +152,18 @@ export default {
118 this.columns = datas.columns(); 152 this.columns = datas.columns();
119 }, 153 },
120 }, 154 },
121 created() {}, 155 created() {
156 this.ysxlhList();
157 },
122 methods: { 158 methods: {
123 //获取印刷序列号列表 159 //获取印刷序列号列表
124 ysxlhList() { 160 ysxlhList() {
161 console.log(this.bdcqz);
125 readYsxlh({ zslx: this.bdcqz.bdcqzlx }).then((res) => { 162 readYsxlh({ zslx: this.bdcqz.bdcqzlx }).then((res) => {
126 if (res.code === 200) { 163 if (res.code === 200) {
127 this.ysxlh = res.result; 164 this.ysxlh = res.result;
165 console.log(this.ysxlh);
166 //this.bdcqz.ysxlh= this.ysxlh[0];
128 } 167 }
129 }); 168 });
130 }, 169 },
...@@ -139,6 +178,10 @@ export default { ...@@ -139,6 +178,10 @@ export default {
139 var value = this.bdcqz[code]; 178 var value = this.bdcqz[code];
140 return value; 179 return value;
141 }, 180 },
181 getBdcqzPreview(){
182 bdcqzPreview(this.bdcqz).then(res => {
183 })
184 },
142 //打印证书 185 //打印证书
143 childFn() { 186 childFn() {
144 this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz; 187 this.ruleForm.bsmBdcqz = this.bdcqz.bsmBdcqz;
...@@ -164,6 +207,21 @@ export default { ...@@ -164,6 +207,21 @@ export default {
164 font-family: KaiTi; 207 font-family: KaiTi;
165 font-weight: 700; 208 font-weight: 700;
166 } 209 }
210 .bdcdjzm {
211 width: 1123px;
212 height: 794px;
213 font-family: KaiTi;
214 font-weight: 700;
215 }
216 .zmyl-box {
217 //position: relative;
218 position:absolute;
219 height: 600px;
220 width: 280px;
221 margin-left: 775px;
222 font-size: 16px;
223 justify-content: space-between;
224 }
167 .bdcqzh { 225 .bdcqzh {
168 height: 70px; 226 height: 70px;
169 left: 0; 227 left: 0;
......