Commit eaa0f0848a57d24dcc45953f2cafca971f568b6e
1 parent
43cca8fb
'1111'
Showing
15 changed files
with
1083 additions
and
1104 deletions
admin-web-master/src/views/ads/fangAudit/bianform.vue
| ... | ... | @@ -28,38 +28,40 @@ |
| 28 | 28 | <div style="border: 1px solid #E5E5E5;padding: 1px" id="huodong"> |
| 29 | 29 | <div style="padding: 10px 13px;font-size: 14px;border-bottom: 1px solid #E5E5E5;display: flex;justify-content: space-between;"> |
| 30 | 30 | <div>招商内容</div> |
| 31 | - <!-- <div style="color: #2d8a58;margin-left: 10px;" @click="addMing = true"> | |
| 32 | - 添加 | |
| 33 | - </div> --> | |
| 31 | + | |
| 34 | 32 | </div> |
| 35 | 33 | <div style="padding: 15px;"> |
| 36 | 34 | <div style="padding: 0px 20px 0px 0px"> |
| 37 | - <el-table :data="ruleForm.resourceManagement" | |
| 38 | - :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | |
| 39 | - style="width: 100%"> | |
| 40 | - <el-table-column label="序号" width="auto" min-width="8%" > | |
| 41 | - <template slot-scope="scope"> | |
| 42 | - {{scope.$index + 1}} | |
| 43 | - </template> | |
| 44 | - </el-table-column> | |
| 45 | - <el-table-column label="资源编号" prop="id" width="auto" min-width="22%"> | |
| 46 | - | |
| 47 | - </el-table-column> | |
| 48 | - <el-table-column label="资源名称" width="auto" min-width="15%"> | |
| 49 | -<template slot-scope="scope"> | |
| 50 | - {{scope.row.shopName ? scope.row.shopName : scope.row.advertisingName?scope.row.advertisingName:scope.row.venueName}} | |
| 51 | - </template> | |
| 52 | - </el-table-column> | |
| 53 | - <el-table-column label="资源类型" width="auto" min-width="15%"> | |
| 54 | - <template slot-scope="scope"> | |
| 55 | - {{scope.row.shopName ? '商铺' : scope.row.advertisingType?scope.row.advertisingType:'场地'}} | |
| 56 | - </template> | |
| 57 | - </el-table-column> | |
| 58 | - <el-table-column prop="notes" label="策略描述" width="auto" min-width="15%"> | |
| 59 | - </el-table-column> | |
| 60 | - <el-table-column prop="policyName" label="策略名称" width="auto" min-width="15%"> | |
| 61 | - </el-table-column> | |
| 62 | - </el-table> | |
| 35 | + <el-table :data="ruleForm.cereResourceStrategy" | |
| 36 | + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | |
| 37 | + style="width: 100%"> | |
| 38 | + <el-table-column label="序号" width="auto" min-width="8%" > | |
| 39 | + <template slot-scope="scope"> | |
| 40 | + {{scope.$index + 1}} | |
| 41 | + </template> | |
| 42 | + </el-table-column> | |
| 43 | + <el-table-column label="资源编号" prop="id" width="auto" min-width="22%"> | |
| 44 | + | |
| 45 | + </el-table-column> | |
| 46 | + <el-table-column label="资源名称" width="auto" min-width="15%"> | |
| 47 | + <template slot-scope="scope"> | |
| 48 | + {{scope.row.resources.shopIds[0]?scope.row.resources.shopIds[0].shopName:scope.row.resources.siteIds[0]?scope.row.resources.siteIds[0].venueName:scope.row.resources.advIds[0].advertisingName}} | |
| 49 | + </template> | |
| 50 | + </el-table-column> | |
| 51 | + <el-table-column label="资源类型" width="auto" min-width="15%"> | |
| 52 | + <template slot-scope="scope"> | |
| 53 | + {{scope.row.resources.shopIds[0]?'商铺':scope.row.resources.siteIds[0]?'场地':'广告位'}} | |
| 54 | + </template> | |
| 55 | + </el-table-column> | |
| 56 | + <el-table-column prop="notes" label="策略描述" width="auto" min-width="15%"> | |
| 57 | + </el-table-column> | |
| 58 | + <el-table-column label="策略名称" width="auto" min-width="15%"> | |
| 59 | + <template slot-scope="scope"> | |
| 60 | + {{scope.row.resources.cereRentalPolicies.policyName}} | |
| 61 | + </template> | |
| 62 | + </el-table-column> | |
| 63 | + | |
| 64 | + </el-table> | |
| 63 | 65 | </div> |
| 64 | 66 | </div> |
| 65 | 67 | </div> |
| ... | ... | @@ -84,7 +86,7 @@ |
| 84 | 86 | :rows="4"/> |
| 85 | 87 | </el-form-item> |
| 86 | 88 | </el-form> |
| 87 | - <div v-if="steat==false"> | |
| 89 | + <!-- <div v-if="steat==false"> | |
| 88 | 90 | <div style="width:129px;font-weight: 100; |
| 89 | 91 | font-size: 14px; |
| 90 | 92 | color: #000000e6;text-align:right">审核信息</div> |
| ... | ... | @@ -109,7 +111,7 @@ |
| 109 | 111 | </el-table-column> |
| 110 | 112 | </el-table> |
| 111 | 113 | </div> |
| 112 | - </div> | |
| 114 | + </div> --> | |
| 113 | 115 | <div style="display: flex;justify-content: flex-end;padding: 10px 20px 10px 0"> |
| 114 | 116 | <el-button @click="close" class="buttonHover" |
| 115 | 117 | style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;">取消 | ... | ... |
admin-web-master/src/views/ads/fangAudit/index.vue
| ... | ... | @@ -84,8 +84,8 @@ |
| 84 | 84 | min-width="120" |
| 85 | 85 | > |
| 86 | 86 | <template slot-scope="scope"> |
| 87 | - 1 | |
| 88 | - </template> | |
| 87 | + {{ scope.row.cereResourceStrategy.length }} | |
| 88 | + </template> | |
| 89 | 89 | </el-table-column> |
| 90 | 90 | <el-table-column |
| 91 | 91 | label="资源编号" |
| ... | ... | @@ -213,7 +213,7 @@ |
| 213 | 213 | <div style="padding:20px 15px 15px 15px;"> |
| 214 | 214 | <el-tabs v-model="actCard" @tab-click="handleClick"> |
| 215 | 215 | <el-tab-pane label="表单信息" name='1'> |
| 216 | - <div style="margin:0 0 10px 30%">方案文件 {{itemXiang.planName}}</div> | |
| 216 | + <div style="margin:0 0 10px 30%">方案名称 {{itemXiang.planName}}</div> | |
| 217 | 217 | <div style="margin:15px 0;padding:0 20%; padding-bottom:20px;border-bottom: 1px solid #E1EEEF;"> |
| 218 | 218 | <el-button @click="MsgShen(1)" style="background-color: #3F9B6A;color: #fff;">基本信息查看</el-button> |
| 219 | 219 | </div> |
| ... | ... | @@ -240,28 +240,28 @@ |
| 240 | 240 | 基本信息 |
| 241 | 241 | </div> |
| 242 | 242 | <div style="padding: 15px;"> |
| 243 | - <el-form label-position="right" :model="shenhe" label-width="140px" | |
| 243 | + <el-form label-position="right" :model="itemXiang" label-width="140px" | |
| 244 | 244 | style="position: relative"> |
| 245 | 245 | <el-form-item label="招商方案名称" class="grid-content bg-purple device-from" prop="planName" > |
| 246 | - <el-input v-model="shenhe.planName" placeholder="请输入" disabled/> | |
| 246 | + <el-input v-model="itemXiang.planName" placeholder="请输入" disabled/> | |
| 247 | 247 | </el-form-item> |
| 248 | 248 | <el-form-item label="规划方案" class="grid-content bg-purple device-from" prop="planningScheme"> |
| 249 | - <el-select v-model="shenhe.planningScheme" style="width: 100%" disabled> | |
| 249 | + <el-select v-model="itemXiang.planningScheme" style="width: 100%" disabled> | |
| 250 | 250 | <el-option :label="item.planningName" :value="item.id" v-for="(item,index) in guihuaDate "></el-option> |
| 251 | 251 | </el-select> |
| 252 | 252 | </el-form-item> |
| 253 | 253 | |
| 254 | 254 | <el-form-item label="招商政策与条件" class="grid-content bg-purple" prop="investmentPolicy"> |
| 255 | 255 | |
| 256 | - <div style="border: 1px solid #dddfe5;padding:20px;" v-html="shenhe.investmentPolicy"></div> | |
| 256 | + <div style="border: 1px solid #dddfe5;padding:20px;" v-html="itemXiang.investmentPolicy"></div> | |
| 257 | 257 | </el-form-item> |
| 258 | 258 | <el-form-item label="方案概述" prop="summary" class="grid-content bg-purple"> |
| 259 | 259 | |
| 260 | - <div style="border: 1px solid #dddfe5;padding:20px;" v-html="shenhe.summary"></div> | |
| 260 | + <div style="border: 1px solid #dddfe5;padding:20px;" v-html="itemXiang.summary"></div> | |
| 261 | 261 | </el-form-item> |
| 262 | 262 | <el-form-item label="财务分析与投资回报" prop="financialAnalysis" class="grid-content bg-purple"> |
| 263 | 263 | |
| 264 | - <div style="border: 1px solid #dddfe5;padding:20px;" v-html="shenhe.financialAnalysis"></div> | |
| 264 | + <div style="border: 1px solid #dddfe5;padding:20px;" v-html="itemXiang.financialAnalysis"></div> | |
| 265 | 265 | </el-form-item> |
| 266 | 266 | <div style="border: 1px solid #E5E5E5;padding: 1px" id="huodong"> |
| 267 | 267 | <div style="padding: 10px 13px;font-size: 14px;border-bottom: 1px solid #E5E5E5;display: flex;justify-content: space-between;"> |
| ... | ... | @@ -272,43 +272,40 @@ |
| 272 | 272 | </div> |
| 273 | 273 | <div style="padding: 15px;"> |
| 274 | 274 | <div style="padding: 0px 20px 0px 0px"> |
| 275 | - <el-table :data="shenhe.resourceManagement" | |
| 275 | + <el-table :data="itemXiang.cereResourceStrategy" | |
| 276 | 276 | :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" |
| 277 | 277 | style="width: 100%"> |
| 278 | 278 | <el-table-column label="序号" width="auto" min-width="8%" > |
| 279 | - <template slot-scope="scope"> | |
| 280 | - {{scope.$index + 1}} | |
| 281 | - </template> | |
| 282 | - </el-table-column> | |
| 283 | - <el-table-column label="资源编号" prop="id" width="auto" min-width="22%"> | |
| 284 | - | |
| 285 | - </el-table-column> | |
| 286 | - <el-table-column label="资源名称" width="auto" min-width="15%"> | |
| 279 | + <template slot-scope="scope"> | |
| 280 | + {{scope.$index + 1}} | |
| 281 | + </template> | |
| 282 | + </el-table-column> | |
| 283 | + <el-table-column label="资源编号" prop="id" width="auto" min-width="22%"> | |
| 284 | + | |
| 285 | + </el-table-column> | |
| 286 | + <el-table-column label="资源名称" width="auto" min-width="15%"> | |
| 287 | 287 | <template slot-scope="scope"> |
| 288 | - {{scope.row.shopName ? scope.row.shopName : scope.row.advertisingName?scope.row.advertisingName:scope.row.venueName}} | |
| 289 | - </template> | |
| 290 | - </el-table-column> | |
| 291 | - <el-table-column label="资源类型" width="auto" min-width="15%"> | |
| 292 | - <template slot-scope="scope"> | |
| 293 | - {{scope.row.shopName ? '商铺' : scope.row.advertisingType?scope.row.advertisingType:'场地'}} | |
| 294 | - </template> | |
| 295 | - </el-table-column> | |
| 296 | - <el-table-column prop="notes" label="策略描述" width="auto" min-width="15%"> | |
| 297 | - </el-table-column> | |
| 298 | - <el-table-column prop="policyName" label="策略名称" width="auto" min-width="15%"> | |
| 299 | - </el-table-column> | |
| 288 | + {{scope.row.resources.shopIds[0]?scope.row.resources.shopIds[0].shopName:scope.row.resources.siteIds[0]?scope.row.resources.siteIds[0].venueName:scope.row.resources.advIds[0].advertisingName}} | |
| 289 | + </template> | |
| 290 | + </el-table-column> | |
| 291 | + <el-table-column label="资源类型" width="auto" min-width="15%"> | |
| 292 | + <template slot-scope="scope"> | |
| 293 | + {{scope.row.resources.shopIds[0]?'商铺':scope.row.resources.siteIds[0]?'场地':'广告位'}} | |
| 294 | + </template> | |
| 295 | + </el-table-column> | |
| 296 | + <el-table-column prop="notes" label="策略描述" width="auto" min-width="15%"> | |
| 297 | + </el-table-column> | |
| 298 | + <el-table-column label="策略名称" width="auto" min-width="15%"> | |
| 299 | + <template slot-scope="scope"> | |
| 300 | + {{scope.row.resources.cereRentalPolicies.policyName}} | |
| 301 | + </template> | |
| 302 | + </el-table-column> | |
| 300 | 303 | </el-table> |
| 301 | 304 | </div> |
| 302 | 305 | </div> |
| 303 | 306 | </div> |
| 304 | 307 | <el-form-item label="附件信息" prop="mainPurpose" class="grid-content bg-purple"> |
| 305 | - <!-- <el-upload class="upload-demo" ref="upload" :on-preview="handlePreview" :on-remove="handleRemove" | |
| 306 | - :action="uploadFileUrl" :on-success="handleUploadSuccess" :file-list="fileData" | |
| 307 | - :show-file-list="false"> | |
| 308 | - <div style="color: #2d8a58;margin-left: 10px;" slot="trigger"> | |
| 309 | - 上传附件 | |
| 310 | - </div> | |
| 311 | - </el-upload> --> | |
| 308 | + | |
| 312 | 309 | <div style="padding:10px 0;line-height:20px;color:#3F9B6A" v-if="shenhe.attachmentInfo.name">{{shenhe.attachmentInfo.name}}</div> |
| 313 | 310 | </el-form-item> |
| 314 | 311 | |
| ... | ... | @@ -552,7 +549,7 @@ export default { |
| 552 | 549 | card: 'first', // 切换 |
| 553 | 550 | }, |
| 554 | 551 | currentPage: 1, |
| 555 | - total: 100, | |
| 552 | + total: 0, | |
| 556 | 553 | flag: false, |
| 557 | 554 | pageSize: 10, |
| 558 | 555 | tableData: [], |
| ... | ... | @@ -665,10 +662,6 @@ export default { |
| 665 | 662 | } |
| 666 | 663 | this.itemXiang = item |
| 667 | 664 | |
| 668 | - | |
| 669 | - if(item.resourceManagement != ''){ | |
| 670 | - item.resourceManagement = JSON.parse(item.resourceManagement) | |
| 671 | - } | |
| 672 | 665 | if ( item.attachmentInfo != '') { |
| 673 | 666 | item.attachmentInfo = JSON.parse(item.attachmentInfo) |
| 674 | 667 | this.fileData.push(item.attachmentInfo) | ... | ... |
admin-web-master/src/views/ads/fangli/addform.vue
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | <el-form label-position="right" ref="jibenFrom" :model="ruleForm" :rules="rules" label-width="140px" |
| 16 | 16 | style="position: relative"> |
| 17 | 17 | <el-form-item label="招商方案名称" class="grid-content bg-purple device-from" prop="planName"> |
| 18 | - <el-input v-model="ruleForm.planName" placeholder="请输入" /> | |
| 18 | + <el-input v-model="ruleForm.planName" placeholder="请输入" maxlength="100"/> | |
| 19 | 19 | </el-form-item> |
| 20 | 20 | <el-form-item label="规划方案" class="grid-content bg-purple device-from" prop="planningScheme"> |
| 21 | 21 | <el-select v-model="ruleForm.planningScheme" placeholder="请选择" style="width: 100%"> | ... | ... |
admin-web-master/src/views/ads/fangli/bianform.vue
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | <el-form label-position="right" ref="jibenFrom" :model="ruleForm" :rules="rules" label-width="140px" |
| 6 | 6 | style="position: relative"> |
| 7 | 7 | <el-form-item label="招商方案名称" class="grid-content bg-purple device-from" prop="planName" > |
| 8 | - <el-input v-model="ruleForm.planName" placeholder="请输入" :disabled="steat == false?true:false"/> | |
| 8 | + <el-input v-model="ruleForm.planName" placeholder="请输入" :disabled="steat == false?true:false" maxlength="100"/> | |
| 9 | 9 | </el-form-item> |
| 10 | 10 | <el-form-item label="规划方案" class="grid-content bg-purple device-from" prop="planningScheme"> |
| 11 | 11 | <el-select v-model="ruleForm.planningScheme" style="width: 100%" :disabled="steat == false?true:false"> |
| ... | ... | @@ -28,9 +28,9 @@ |
| 28 | 28 | <div style="border: 1px solid #E5E5E5;padding: 1px" id="huodong"> |
| 29 | 29 | <div style="padding: 10px 13px;font-size: 14px;border-bottom: 1px solid #E5E5E5;display: flex;justify-content: space-between;"> |
| 30 | 30 | <div><span style="color:red;margin-right:3px;">*</span>招商资源管理</div> |
| 31 | - <div style="color: #2d8a58;margin-left: 10px;" @click="addziyuan" v-if="steat"> | |
| 31 | + <!-- <div style="color: #2d8a58;margin-left: 10px;" @click="addziyuan" v-if="steat"> | |
| 32 | 32 | 添加 |
| 33 | - </div> | |
| 33 | + </div> --> | |
| 34 | 34 | </div> |
| 35 | 35 | <div style="padding: 15px;"> |
| 36 | 36 | <div style="padding: 0px 20px 0px 0px"> |
| ... | ... | @@ -47,25 +47,28 @@ |
| 47 | 47 | </el-table-column> |
| 48 | 48 | <el-table-column label="资源名称" width="auto" min-width="15%"> |
| 49 | 49 | <template slot-scope="scope"> |
| 50 | - {{scope.row.shopName ? scope.row.shopName : scope.row.advertisingName?scope.row.advertisingName:scope.row.venueName}} | |
| 51 | - </template> | |
| 50 | + {{scope.row.resources.shopIds[0]?scope.row.resources.shopIds[0].shopName:scope.row.resources.siteIds[0]?scope.row.resources.siteIds[0].venueName:scope.row.resources.advIds[0].advertisingName}} | |
| 51 | + </template> | |
| 52 | 52 | </el-table-column> |
| 53 | 53 | <el-table-column label="资源类型" width="auto" min-width="15%"> |
| 54 | 54 | <template slot-scope="scope"> |
| 55 | - {{scope.row.shopName ? '商铺' : scope.row.advertisingType?scope.row.advertisingType:'场地'}} | |
| 55 | + {{scope.row.resources.shopIds[0]?'商铺':scope.row.resources.siteIds[0]?'场地':'广告位'}} | |
| 56 | 56 | </template> |
| 57 | 57 | </el-table-column> |
| 58 | 58 | <el-table-column prop="notes" label="策略描述" width="auto" min-width="15%"> |
| 59 | 59 | </el-table-column> |
| 60 | - <el-table-column prop="policyName" label="策略名称" width="auto" min-width="15%"> | |
| 60 | + <el-table-column label="策略名称" width="auto" min-width="15%"> | |
| 61 | + <template slot-scope="scope"> | |
| 62 | + {{scope.row.resources.cereRentalPolicies.policyName}} | |
| 63 | + </template> | |
| 61 | 64 | </el-table-column> |
| 62 | - <el-table-column label="操作" width="auto" min-width="18%" v-if="steat"> | |
| 65 | + <!-- <el-table-column label="操作" width="auto" min-width="18%" v-if="steat"> | |
| 63 | 66 | <template slot-scope="scope"> |
| 64 | - <!-- <div @click="ceSel(scope.$index)" class="tableBtn greens">策略选择</div> --> | |
| 65 | - <!-- <div @click="MingEd(scope.row)" class="tableBtn greens">编辑</div> --> | |
| 66 | - <div @click="MingDelete(scope.$index)" class="tableBtn greens">删除</div> | |
| 67 | + <div @click="ceSel(scope.$index)" class="tableBtn greens">策略选择</div> | |
| 68 | + | |
| 69 | + <div @click="MingDelete(scope.row.id,scope.$index)" class="tableBtn greens">删除</div> | |
| 67 | 70 | </template> |
| 68 | - </el-table-column> | |
| 71 | + </el-table-column> --> | |
| 69 | 72 | </el-table> |
| 70 | 73 | </div> |
| 71 | 74 | </div> |
| ... | ... | @@ -417,8 +420,40 @@ guihuaDate:[], |
| 417 | 420 | |
| 418 | 421 | |
| 419 | 422 | }, |
| 420 | - MingDelete(item) { | |
| 421 | - this.ruleForm.resourceManagement.splice(item, 1); | |
| 423 | + MingDelete(items,index) { | |
| 424 | + | |
| 425 | + let arr = [] | |
| 426 | + const h = this.$createElement; | |
| 427 | + this.$msgbox({ | |
| 428 | + title: '消息', | |
| 429 | + message: h('p', null, [ | |
| 430 | + h('span', null, '是否删除 '), | |
| 431 | + ]), | |
| 432 | + showCancelButton: true, | |
| 433 | + showClose:false, | |
| 434 | + confirmButtonText: '确定', | |
| 435 | + cancelButtonText: '取消', | |
| 436 | + customClass:'oe-dialog-btn', | |
| 437 | + beforeClose: (action, instance, done) => { | |
| 438 | + if (action === 'confirm') { | |
| 439 | + | |
| 440 | + if(typeof this.ruleForm.resourceManagement =='string'){ | |
| 441 | + arr = this.ruleForm.resourceManagement.split(",") | |
| 442 | + } | |
| 443 | + arr = arr.filter(item => item !== items); | |
| 444 | + | |
| 445 | + this.ruleForm.resourceManagement = arr.join(',') | |
| 446 | + | |
| 447 | + this.ruleForm.cereResourceStrategy.splice(index,1); | |
| 448 | + done(); | |
| 449 | + } else { | |
| 450 | + done(); | |
| 451 | + } | |
| 452 | + } | |
| 453 | + }) | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 422 | 457 | }, |
| 423 | 458 | fenleiChange(value){ |
| 424 | 459 | this.ruleForm.classificationCode = value[value.length - 1] | ... | ... |
admin-web-master/src/views/ads/fangli/index.vue
admin-web-master/src/views/business/autd/index.vue
| ... | ... | @@ -96,7 +96,7 @@ |
| 96 | 96 | <div class="tableBtn greens" @click="delet(scope.row)" v-if="activeName == 1 || activeName == 2"> |
| 97 | 97 | 删除 |
| 98 | 98 | </div> |
| 99 | - <div class="tableBtn greens" v-if="activeName == 1 || activeName == 2" @click="luru(scope.row)"> | |
| 99 | + <div class="tableBtn greens" v-if="activeName == 1" @click="luru(scope.row)"> | |
| 100 | 100 | 录入合同 |
| 101 | 101 | </div> |
| 102 | 102 | </div> | ... | ... |
admin-web-master/src/views/customer/icManagement/index.vue
| ... | ... | @@ -9,44 +9,29 @@ |
| 9 | 9 | <!-- 搜索 --> |
| 10 | 10 | <div class="formSearch"> |
| 11 | 11 | <div> |
| 12 | - <el-form | |
| 13 | - :model="formSel" | |
| 14 | - :inline="true" | |
| 15 | - > | |
| 12 | + <el-form :model="formSel" :inline="true"> | |
| 16 | 13 | <el-form-item label="客户名称"> |
| 17 | 14 | <el-input v-model="formSel.contactName" placeholder="请输入" style="width:168px" /> |
| 18 | 15 | </el-form-item> |
| 19 | 16 | |
| 20 | 17 | <el-form-item label="主体类型"> |
| 21 | - <el-select | |
| 22 | - v-model="formSel.type" | |
| 23 | - placeholder="请选择" | |
| 24 | - style="width:168px;" | |
| 25 | - > | |
| 18 | + <el-select v-model="formSel.type" placeholder="请选择" style="width:168px;"> | |
| 26 | 19 | <el-option label="有限责任公司" value="有限责任公司" /> |
| 27 | 20 | </el-select> |
| 28 | 21 | </el-form-item> |
| 29 | 22 | <el-form-item label="客户级别"> |
| 30 | - <el-select | |
| 31 | - v-model="formSel.customerLevel" | |
| 32 | - placeholder="请选择" | |
| 33 | - style="width:168px;" | |
| 34 | - > | |
| 35 | - <el-option label="A" value="A" /> | |
| 36 | - <el-option label="B" value="B" /> | |
| 37 | - <el-option label="C" value="C" /> | |
| 38 | - </el-select> | |
| 23 | + <el-select v-model="formSel.customerLevel" placeholder="请选择" style="width:168px;"> | |
| 24 | + <el-option label="A" value="A" /> | |
| 25 | + <el-option label="B" value="B" /> | |
| 26 | + <el-option label="C" value="C" /> | |
| 27 | + </el-select> | |
| 39 | 28 | </el-form-item> |
| 40 | 29 | <el-form-item label="状态"> |
| 41 | - <el-select | |
| 42 | - v-model="formSel.auditStatus" | |
| 43 | - placeholder="请选择" | |
| 44 | - style="width:168px;" | |
| 45 | - > | |
| 46 | - <el-option label="待审核" value="1" /> | |
| 47 | - <el-option label="审核通过" value="2" /> | |
| 48 | - <el-option label="已驳回" value="3" /> | |
| 49 | - </el-select> | |
| 30 | + <el-select v-model="formSel.auditStatus" placeholder="请选择" style="width:168px;"> | |
| 31 | + <el-option label="待审核" value="1" /> | |
| 32 | + <el-option label="审核通过" value="2" /> | |
| 33 | + <el-option label="已驳回" value="3" /> | |
| 34 | + </el-select> | |
| 50 | 35 | </el-form-item> |
| 51 | 36 | |
| 52 | 37 | </el-form> |
| ... | ... | @@ -61,69 +46,28 @@ |
| 61 | 46 | |
| 62 | 47 | </div> |
| 63 | 48 | <div style="margin-bottom:20px;"> |
| 64 | - <el-button | |
| 65 | - style="background-color: #3F9B6A;color: #fff;padding:8px 15px;" icon="el-icon-circle-plus-outline" | |
| 66 | - @click="addbuss" | |
| 67 | - >新增</el-button | |
| 68 | - > | |
| 49 | + <el-button style="background-color: #3F9B6A;color: #fff;padding:8px 15px;" icon="el-icon-circle-plus-outline" | |
| 50 | + @click="addbuss">新增</el-button> | |
| 69 | 51 | </div> |
| 70 | 52 | <!-- 表格 --> |
| 71 | - <el-table | |
| 72 | - :data=" | |
| 53 | + <el-table :data=" | |
| 73 | 54 | tableData.slice( |
| 74 | 55 | (currentPage - 1) * pageSize, |
| 75 | 56 | currentPage * pageSize |
| 76 | 57 | ) |
| 77 | - " | |
| 78 | - :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}" | |
| 79 | - > | |
| 80 | - <el-table-column | |
| 81 | - label="序号" | |
| 82 | - min-width="60" | |
| 83 | - > | |
| 84 | - <template slot-scope="scope"> | |
| 85 | - {{scope.$index+1}} | |
| 86 | - </template> | |
| 58 | + " :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"> | |
| 59 | + <el-table-column label="序号" min-width="60"> | |
| 60 | + <template slot-scope="scope"> | |
| 61 | + {{scope.$index+1}} | |
| 62 | + </template> | |
| 87 | 63 | </el-table-column> |
| 88 | - <el-table-column | |
| 89 | - label="意向客户名称" | |
| 90 | - prop="contactName" | |
| 91 | - min-width="150" | |
| 92 | - /> | |
| 93 | - <el-table-column | |
| 94 | - label="联系电话" | |
| 95 | - prop="contactPhone" | |
| 96 | - min-width="150" | |
| 97 | - /> | |
| 98 | - <el-table-column | |
| 99 | - label="主体类型" | |
| 100 | - prop="type" | |
| 101 | - min-width="100" | |
| 102 | - /> | |
| 103 | - <el-table-column | |
| 104 | - label="企业名称" | |
| 105 | - prop="subjectName" | |
| 106 | - min-width="200" | |
| 107 | - | |
| 108 | - /> | |
| 109 | - <el-table-column | |
| 110 | - label="注册资本" | |
| 111 | - prop="registeredCapital" | |
| 112 | - min-width="100" | |
| 113 | - | |
| 114 | - /> | |
| 115 | - <el-table-column | |
| 116 | - label="成立日期" | |
| 117 | - prop="establishmentDate" | |
| 118 | - min-width="100" | |
| 119 | - | |
| 120 | - /> | |
| 121 | - <el-table-column | |
| 122 | - label="客户级别" | |
| 123 | - prop="customerLevel" | |
| 124 | - min-width="100" | |
| 125 | - | |
| 126 | - /> | |
| 64 | + <el-table-column label="意向客户名称" prop="contactName" min-width="150" /> | |
| 65 | + <el-table-column label="联系电话" prop="contactPhone" min-width="150" /> | |
| 66 | + <el-table-column label="主体类型" prop="type" min-width="100" /> | |
| 67 | + <el-table-column label="企业名称" prop="subjectName" min-width="200" /> | |
| 68 | + <el-table-column label="注册资本" prop="registeredCapital" min-width="100" /> | |
| 69 | + <el-table-column label="成立日期" prop="establishmentDate" min-width="100" /> | |
| 70 | + <el-table-column label="客户级别" prop="customerLevel" min-width="100" /> | |
| 127 | 71 | <el-table-column prop="auditStatus" label="状态" min-width="150"> |
| 128 | 72 | <template slot-scope="scope"> |
| 129 | 73 | {{ scope.row.auditStatus == "1" ? "待审核" :scope.row.auditStatus == "2" ?'审核通过' :scope.row.auditStatus == "3" ?'已驳回' :'' }} |
| ... | ... | @@ -140,7 +84,7 @@ |
| 140 | 84 | <div class="tableBtn greens" @click="delGuan(scope.row)" v-if="scope.row.auditStatus == '1'"> |
| 141 | 85 | 删除 |
| 142 | 86 | </div> |
| 143 | - <!-- <div | |
| 87 | + <!-- <div | |
| 144 | 88 | v-if="scope.row.dataForm == '1'" |
| 145 | 89 | class="tableBtn greens" |
| 146 | 90 | @click="fabu(scope.row)" |
| ... | ... | @@ -155,33 +99,15 @@ |
| 155 | 99 | </el-table-column> |
| 156 | 100 | </el-table> |
| 157 | 101 | <div class="fenye"> |
| 158 | - <el-pagination | |
| 159 | - class="pagination" | |
| 160 | - :hide-on-single-page="flag" | |
| 161 | - background | |
| 162 | - small | |
| 163 | - :current-page="currentPage" | |
| 164 | - :page-sizes="[10, 20, 50, 100]" | |
| 165 | - layout="prev, pager, next,total" | |
| 166 | - :total="total" | |
| 167 | - @size-change="handleSizeChange" | |
| 168 | - @current-change="handleCurrentChange" | |
| 169 | - /> | |
| 102 | + <el-pagination class="pagination" :hide-on-single-page="flag" background small :current-page="currentPage" | |
| 103 | + :page-sizes="[10, 20, 50, 100]" layout="prev, pager, next,total" :total="total" | |
| 104 | + @size-change="handleSizeChange" @current-change="handleCurrentChange" /> | |
| 170 | 105 | </div> |
| 171 | 106 | <!-- 详情框 :visible.sync="detbox" --> |
| 172 | 107 | <!-- <div v-show="detbox" class="dialog_css_Xq " style="padding: 0;width:85%"> --> |
| 173 | - <el-dialog | |
| 174 | - :visible.sync="detbox" | |
| 175 | - custom-class="tongyong_css" | |
| 176 | - style="padding: 0" | |
| 177 | - width="55%" | |
| 178 | - center | |
| 179 | - :close-on-click-modal="false" | |
| 180 | - class="dialog_css_Xq" | |
| 181 | - :show-close="false" | |
| 182 | - > | |
| 183 | - <div | |
| 184 | - style=" | |
| 108 | + <el-dialog :visible.sync="detbox" custom-class="tongyong_css" style="padding: 0" width="55%" center | |
| 109 | + :close-on-click-modal="false" class="dialog_css_Xq" :show-close="false"> | |
| 110 | + <div style=" | |
| 185 | 111 | background-color: #fafafa; |
| 186 | 112 | border: 1px solid #eaeaea; |
| 187 | 113 | height: 42px; |
| ... | ... | @@ -189,108 +115,72 @@ |
| 189 | 115 | padding: 0 20px; |
| 190 | 116 | line-height: 42px; |
| 191 | 117 | |
| 192 | - " | |
| 193 | - > | |
| 118 | + "> | |
| 194 | 119 | {{edit == true?'详情':'编辑'}} |
| 195 | 120 | </div> |
| 196 | 121 | <div style="padding: 0 20px"> |
| 197 | - <div | |
| 198 | - style=" | |
| 122 | + <div style=" | |
| 199 | 123 | display: flex; |
| 200 | 124 | justify-content: space-between; |
| 201 | 125 | font-size: 14px; |
| 202 | 126 | margin-bottom: 20px; |
| 203 | - " | |
| 204 | - > | |
| 127 | + "> | |
| 205 | 128 | <el-tabs v-model="card" @tab-click="handleClick"> |
| 206 | 129 | <el-tab-pane label="意向客户信息" name="first"> |
| 207 | 130 | <el-form ref="ruleForm" :model="secondData" label-width="150px"> |
| 208 | 131 | <el-form-item label="主体名称" prop="subjectName"> |
| 209 | - <el-input | |
| 210 | - v-model="secondData.subjectName" | |
| 211 | - :disabled="edit?true:false" | |
| 212 | - /> | |
| 132 | + <el-input v-model="secondData.subjectName" :disabled="edit?true:false" /> | |
| 213 | 133 | </el-form-item> |
| 214 | 134 | <el-form-item label="统一社会信用代码" prop="unifiedSocialCreditCode"> |
| 215 | - <el-input | |
| 216 | - v-model="secondData.unifiedSocialCreditCode" | |
| 217 | - :disabled="edit?true:false" | |
| 218 | - /> | |
| 135 | + <el-input v-model="secondData.unifiedSocialCreditCode" :disabled="edit?true:false" /> | |
| 219 | 136 | </el-form-item> |
| 220 | - <el-form-item label="类型" prop="type"> | |
| 221 | - <el-select | |
| 222 | - v-model="secondData.type" | |
| 223 | - :disabled="edit?true:false" | |
| 224 | - style="width: 100%;" | |
| 225 | - > | |
| 137 | + <el-form-item label="类型" prop="type"> | |
| 138 | + <el-select v-model="secondData.type" :disabled="edit?true:false" style="width: 100%;"> | |
| 226 | 139 | <el-option label="有限责任公司" value="有限责任公司" /> |
| 227 | 140 | </el-select> |
| 228 | 141 | </el-form-item> |
| 229 | 142 | <el-form-item label="法定代表人" prop="legalRepresentative"> |
| 230 | - <el-input | |
| 231 | - v-model="secondData.legalRepresentative" | |
| 232 | - :disabled="edit?true:false" | |
| 233 | - /> | |
| 143 | + <el-input v-model="secondData.legalRepresentative" :disabled="edit?true:false" /> | |
| 234 | 144 | </el-form-item> |
| 235 | 145 | <el-form-item label="经营范围" prop="businessScope"> |
| 236 | - <el-input type="textarea" v-model="secondData.businessScope" :rows="4" :disabled="edit?true:false"></el-input> | |
| 146 | + <el-input type="textarea" v-model="secondData.businessScope" :rows="4" | |
| 147 | + :disabled="edit?true:false"></el-input> | |
| 237 | 148 | </el-form-item> |
| 238 | 149 | <el-form-item label="注册资本" prop="registeredCapital"> |
| 239 | - <el-input | |
| 240 | - v-model="secondData.registeredCapital" | |
| 241 | - :disabled="edit?true:false" | |
| 242 | - /> | |
| 150 | + <el-input v-model="secondData.registeredCapital" :disabled="edit?true:false" /> | |
| 243 | 151 | </el-form-item> |
| 244 | 152 | <el-form-item label="成立日期" prop="establishmentDate"> |
| 245 | - <el-input | |
| 246 | - v-model="secondData.establishmentDate" | |
| 247 | - :disabled="edit?true:false" | |
| 248 | - /> | |
| 153 | + <el-input v-model="secondData.establishmentDate" :disabled="edit?true:false" /> | |
| 249 | 154 | </el-form-item> |
| 250 | 155 | <el-form-item label="住所" prop="address"> |
| 251 | - <el-input | |
| 252 | - v-model="secondData.address" | |
| 253 | - :disabled="edit?true:false" | |
| 254 | - /> | |
| 156 | + <el-input v-model="secondData.address" :disabled="edit?true:false" /> | |
| 255 | 157 | </el-form-item> |
| 256 | 158 | <el-form-item label="邮箱地址" prop="emailAddress"> |
| 257 | - <el-input | |
| 258 | - v-model="secondData.emailAddress" | |
| 259 | - :disabled="edit?true:false" | |
| 260 | - /> | |
| 159 | + <el-input v-model="secondData.emailAddress" :disabled="edit?true:false" /> | |
| 261 | 160 | </el-form-item> |
| 262 | 161 | <el-form-item label="营业期限"> |
| 263 | 162 | <el-date-picker style="width: 100%;" v-model="businessStartDate" value-format="yyyy-MM-dd" |
| 264 | - type="datetimerange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" align="right" :disabled="edit?true:false"> | |
| 163 | + type="datetimerange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" | |
| 164 | + align="right" :disabled="edit?true:false"> | |
| 265 | 165 | </el-date-picker> |
| 266 | 166 | </el-form-item> |
| 267 | 167 | <el-form-item label="营业执照" prop="businessLicense"> |
| 268 | - <upimg v-model="secondData.businessLicense" :limit="1" :fileSize="1" v-if="edit==false"></upimg> | |
| 269 | - <img :src="secondData.businessLicense" alt="" v-if="edit" > | |
| 168 | + <upimg v-model="secondData.businessLicense" :limit="1" :fileSize="1" v-if="edit==false"></upimg> | |
| 169 | + <img :src="secondData.businessLicense" alt="" v-if="edit"> | |
| 270 | 170 | </el-form-item> |
| 271 | 171 | </el-form> |
| 272 | 172 | </el-tab-pane> |
| 273 | 173 | <el-tab-pane label="联系人信息" name="second"> |
| 274 | 174 | <el-form ref="ruleForm" :model="secondData" label-width="130px"> |
| 275 | 175 | <el-form-item label="联系人名称" prop="contactName"> |
| 276 | - <el-input | |
| 277 | - v-model="secondData.contactName" | |
| 278 | - :disabled="edit?true:false" | |
| 279 | - /> | |
| 176 | + <el-input v-model="secondData.contactName" :disabled="edit?true:false" /> | |
| 280 | 177 | |
| 281 | 178 | </el-form-item> |
| 282 | 179 | <el-form-item label=" 联系电话" prop="contactPhone"> |
| 283 | - <el-input | |
| 284 | - v-model="secondData.contactPhone" | |
| 285 | - :disabled="edit?true:false" | |
| 286 | - /> | |
| 180 | + <el-input v-model="secondData.contactPhone" :disabled="edit?true:false" /> | |
| 287 | 181 | </el-form-item> |
| 288 | 182 | <el-form-item label="职位" prop="position"> |
| 289 | - <el-select | |
| 290 | - v-model="secondData.position" | |
| 291 | - :disabled="edit?true:false" | |
| 292 | - style="width: 100%;" | |
| 293 | - > | |
| 183 | + <el-select v-model="secondData.position" :disabled="edit?true:false" style="width: 100%;"> | |
| 294 | 184 | <el-option label="总经理" value="总经理" /> |
| 295 | 185 | </el-select> |
| 296 | 186 | </el-form-item> |
| ... | ... | @@ -299,181 +189,115 @@ |
| 299 | 189 | </el-tabs> |
| 300 | 190 | </div> |
| 301 | 191 | |
| 302 | - <div | |
| 303 | - style=" | |
| 192 | + <div style=" | |
| 304 | 193 | width: 99%; |
| 305 | 194 | padding: 10px; |
| 306 | 195 | display: flex; |
| 307 | 196 | justify-content: flex-end; |
| 308 | - " | |
| 309 | - > | |
| 310 | - <el-button | |
| 311 | - class="buttonHover" | |
| 312 | - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 313 | - @click="closeFn(1)" | |
| 314 | - >取消</el-button | |
| 315 | - > | |
| 316 | - <!-- <el-button | |
| 197 | + "> | |
| 198 | + <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 199 | + @click="closeFn(1)">取消</el-button> | |
| 200 | + <!-- <el-button | |
| 317 | 201 | style="background-color: #3F9B6A;color: #fff" |
| 318 | 202 | @click="bianji" |
| 319 | 203 | v-if="edit" |
| 320 | 204 | >编辑</el-button |
| 321 | 205 | > --> |
| 322 | 206 | |
| 323 | - <el-button | |
| 324 | - style="background-color: #3F9B6A;color: #fff" | |
| 325 | - @click="msgeditS" | |
| 326 | - v-if="edit==false" | |
| 327 | - >确定</el-button | |
| 328 | - > | |
| 207 | + <el-button style="background-color: #3F9B6A;color: #fff" @click="msgeditS" | |
| 208 | + v-if="edit==false">确定</el-button> | |
| 329 | 209 | </div> |
| 330 | 210 | </div> |
| 331 | 211 | </el-dialog> |
| 332 | 212 | <!-- ******************************************************弹框开始****************************************************** --> |
| 333 | 213 | <!-- 新增弹框 --> |
| 334 | - <el-dialog | |
| 335 | - :visible.sync="ggXin" | |
| 336 | - custom-class="Xintongyong_css" | |
| 337 | - style="padding: 0" | |
| 338 | - width="65%" | |
| 339 | - center | |
| 340 | - :close-on-click-modal="false" | |
| 341 | - append-to-body | |
| 342 | - > | |
| 343 | - <div style="padding: 20px;max-height: calc(100vh - 200px); | |
| 214 | + <el-dialog :visible.sync="ggXin" custom-class="Xintongyong_css" style="padding: 0" width="65%" center | |
| 215 | + :close-on-click-modal="false" append-to-body> | |
| 216 | + <div style="padding: 20px;max-height: calc(100vh - 200px); | |
| 344 | 217 | overflow-y: auto;"> |
| 345 | - <div style="font-size: 14px;padding-bottom: 20px;color: #000;">新增页</div> | |
| 346 | - <div class="setup"> | |
| 347 | - <el-steps :space="200" :active="stepNum"> | |
| 348 | - <el-step title="意向客户信息" /> | |
| 349 | - <el-step title="联系人信息" /> | |
| 350 | - </el-steps> | |
| 351 | - </div> | |
| 352 | - <el-form ref="AddFrom" :model="ruleForm" :rules="rules" label-width="150px"> | |
| 353 | - <div v-if="stepNum == 0" style="padding: 0 20px 20px 20px"> | |
| 354 | - | |
| 355 | - <el-form-item label="主体名称" prop="subjectName"> | |
| 356 | - <el-input | |
| 357 | - v-model="ruleForm.subjectName" | |
| 358 | - placeholder="请输入" | |
| 359 | - maxlength="50" | |
| 360 | - /> | |
| 361 | - </el-form-item> | |
| 362 | - <el-form-item label="统一社会信用代码" prop="unifiedSocialCreditCode"> | |
| 363 | - <el-input | |
| 364 | - v-model="ruleForm.unifiedSocialCreditCode" | |
| 365 | - placeholder="请输入" | |
| 366 | - /> | |
| 367 | - </el-form-item> | |
| 368 | - <el-form-item label="类型" prop="type"> | |
| 369 | - <el-select | |
| 370 | - v-model="ruleForm.type" | |
| 371 | - placeholder="请选择" | |
| 218 | + <div style="font-size: 14px;padding-bottom: 20px;color: #000;">新增页</div> | |
| 219 | + <div class="setup"> | |
| 220 | + <el-steps :space="200" :active="stepNum"> | |
| 221 | + <el-step title="意向客户信息" /> | |
| 222 | + <el-step title="联系人信息" /> | |
| 223 | + </el-steps> | |
| 224 | + </div> | |
| 372 | 225 | |
| 373 | - style="width: 100%;" | |
| 374 | - > | |
| 375 | - <el-option label="有限责任公司" value="有限责任公司" /> | |
| 376 | - </el-select> | |
| 377 | - </el-form-item> | |
| 378 | - <el-form-item label="法定代表人" prop="legalRepresentative"> | |
| 379 | - <el-input | |
| 380 | - v-model="ruleForm.legalRepresentative" | |
| 381 | - placeholder="请输入" | |
| 382 | - /> | |
| 383 | - </el-form-item> | |
| 384 | - <el-form-item label="经营范围" prop="businessScope"> | |
| 385 | - <el-input type="textarea" v-model="ruleForm.businessScope" :rows="4" ></el-input> | |
| 386 | - </el-form-item> | |
| 387 | - <el-form-item label="注册资本" prop="registeredCapital"> | |
| 388 | - <el-input | |
| 389 | - v-model="ruleForm.registeredCapital" | |
| 390 | - placeholder="请输入" | |
| 391 | - /> | |
| 392 | - </el-form-item> | |
| 393 | - <el-form-item label="成立日期" prop="establishmentDate"> | |
| 394 | - <el-input | |
| 395 | - v-model="ruleForm.establishmentDate" | |
| 396 | - placeholder="请输入YYYY-MM-dd" | |
| 397 | - /> | |
| 398 | - </el-form-item> | |
| 399 | - <el-form-item label="住所" prop="address"> | |
| 400 | - <el-input | |
| 401 | - v-model="ruleForm.address" | |
| 402 | - placeholder="请输入" | |
| 403 | - /> | |
| 404 | - </el-form-item> | |
| 405 | - <el-form-item label="邮箱地址" prop="emailAddress"> | |
| 406 | - <el-input | |
| 407 | - v-model="ruleForm.emailAddress" | |
| 408 | - placeholder="请输入" | |
| 409 | - /> | |
| 410 | - </el-form-item> | |
| 411 | - <el-form-item label="营业期限" prop="yytime"> | |
| 412 | - <el-date-picker style="width: 100%;" v-model="ruleForm.yytime" value-format="yyyy-MM-dd" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" align="right" > | |
| 413 | - </el-date-picker> | |
| 414 | - </el-form-item> | |
| 415 | - <el-form-item label="营业执照" prop="businessLicense"> | |
| 416 | - <upimg v-model="ruleForm.businessLicense" :limit="1" :fileSize="1"></upimg> | |
| 417 | - </el-form-item> | |
| 418 | 226 | |
| 419 | - </div> | |
| 420 | - <div v-else style="padding: 0 20px 20px 20px"> | |
| 421 | - <el-form-item label="联系人名称" prop="contactName"> | |
| 422 | - <el-input | |
| 423 | - v-model="ruleForm.contactName" | |
| 424 | - placeholder="请输入" | |
| 425 | - | |
| 426 | - /> | |
| 427 | - | |
| 428 | - </el-form-item> | |
| 429 | - <el-form-item label=" 联系电话" prop="contactPhone"> | |
| 430 | - <el-input | |
| 431 | - v-model="ruleForm.contactPhone" | |
| 432 | - placeholder="请输入" | |
| 433 | - | |
| 434 | - /> | |
| 435 | - </el-form-item> | |
| 436 | - <el-form-item label="职位" prop="position"> | |
| 437 | - <el-select | |
| 438 | - v-model="ruleForm.position" | |
| 439 | - placeholder="请选择" | |
| 440 | - | |
| 441 | - style="width: 100%;" | |
| 442 | - > | |
| 443 | - <el-option label="总经理" value="总经理" /> | |
| 444 | - </el-select> | |
| 445 | - </el-form-item> | |
| 227 | + <el-form ref="AddFromOne" v-show="stepNum == 0" :model="ruleForm" :rules="rulesOne" label-width="150px"> | |
| 228 | + <div style="padding: 0 20px 20px 20px"> | |
| 229 | + | |
| 230 | + <el-form-item label="主体名称" prop="subjectName"> | |
| 231 | + <el-input v-model="ruleForm.subjectName" placeholder="请输入" maxlength="50" /> | |
| 232 | + </el-form-item> | |
| 233 | + <el-form-item label="统一社会信用代码" prop="unifiedSocialCreditCode"> | |
| 234 | + <el-input v-model="ruleForm.unifiedSocialCreditCode" placeholder="请输入" /> | |
| 235 | + </el-form-item> | |
| 236 | + <el-form-item label="类型" prop="type"> | |
| 237 | + <el-select v-model="ruleForm.type" placeholder="请选择" style="width: 100%;"> | |
| 238 | + <el-option label="有限责任公司" value="有限责任公司" /> | |
| 239 | + </el-select> | |
| 240 | + </el-form-item> | |
| 241 | + <el-form-item label="法定代表人" prop="legalRepresentative"> | |
| 242 | + <el-input v-model="ruleForm.legalRepresentative" placeholder="请输入" /> | |
| 243 | + </el-form-item> | |
| 244 | + <el-form-item label="经营范围" prop="businessScope"> | |
| 245 | + <el-input type="textarea" v-model="ruleForm.businessScope" :rows="4"></el-input> | |
| 246 | + </el-form-item> | |
| 247 | + <el-form-item label="注册资本" prop="registeredCapital"> | |
| 248 | + <el-input v-model="ruleForm.registeredCapital" placeholder="请输入" /> | |
| 249 | + </el-form-item> | |
| 250 | + <el-form-item label="成立日期" prop="establishmentDate"> | |
| 251 | + <el-input v-model="ruleForm.establishmentDate" placeholder="请输入YYYY-MM-dd" /> | |
| 252 | + </el-form-item> | |
| 253 | + <el-form-item label="住所" prop="address"> | |
| 254 | + <el-input v-model="ruleForm.address" placeholder="请输入" /> | |
| 255 | + </el-form-item> | |
| 256 | + <el-form-item label="邮箱地址" prop="emailAddress"> | |
| 257 | + <el-input v-model="ruleForm.emailAddress" placeholder="请输入" /> | |
| 258 | + </el-form-item> | |
| 259 | + <el-form-item label="营业期限" prop="yytime"> | |
| 260 | + <el-date-picker style="width: 100%;" v-model="ruleForm.yytime" value-format="yyyy-MM-dd" | |
| 261 | + type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" align="right"> | |
| 262 | + </el-date-picker> | |
| 263 | + </el-form-item> | |
| 264 | + <el-form-item label="营业执照" prop="businessLicense"> | |
| 265 | + <upimg v-model="ruleForm.businessLicense" :limit="1" :fileSize="1"></upimg> | |
| 266 | + </el-form-item> | |
| 446 | 267 | |
| 447 | - </div> | |
| 448 | - </el-form> | |
| 449 | - </div> | |
| 268 | + </div> | |
| 269 | + | |
| 270 | + </el-form> | |
| 271 | + <el-form ref="AddFromTwo" v-show="stepNum != 0" :model="ruleForm" :rules="rulesTwo" label-width="150px"> | |
| 272 | + | |
| 273 | + <div style="padding: 0 20px 20px 20px"> | |
| 274 | + <el-form-item label="联系人名称" prop="contactName"> | |
| 275 | + <el-input v-model="ruleForm.contactName" placeholder="请输入" /> | |
| 276 | + | |
| 277 | + </el-form-item> | |
| 278 | + <el-form-item label=" 联系电话" prop="contactPhone"> | |
| 279 | + <el-input v-model="ruleForm.contactPhone" placeholder="请输入" /> | |
| 280 | + </el-form-item> | |
| 281 | + <el-form-item label="职位" prop="position"> | |
| 282 | + <el-select v-model="ruleForm.position" placeholder="请选择" style="width: 100%;"> | |
| 283 | + <el-option label="总经理" value="总经理" /> | |
| 284 | + </el-select> | |
| 285 | + </el-form-item> | |
| 286 | + | |
| 287 | + </div> | |
| 288 | + </el-form> | |
| 289 | + </div> | |
| 450 | 290 | |
| 451 | 291 | <template #footer> |
| 452 | 292 | <div style="display: flex; justify-content: flex-end; align-items: center;"> |
| 453 | - <el-button | |
| 454 | - class="buttonHover" | |
| 455 | - style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 456 | - @click="closeFn(2)" | |
| 457 | - >取 消</el-button | |
| 458 | - > | |
| 459 | - <el-button | |
| 460 | - v-if="stepNum == 0" | |
| 461 | - style="background-color: #3F9B6A;color: #fff" | |
| 462 | - @click="lextStep(1)" | |
| 463 | - >下一步</el-button | |
| 464 | - > | |
| 465 | - <el-button | |
| 466 | - v-if="stepNum == 1" | |
| 467 | - style="background-color: #3F9B6A;color: #fff" | |
| 468 | - @click="lextStep(0)" | |
| 469 | - >上一步</el-button | |
| 470 | - > | |
| 471 | - <el-button | |
| 472 | - v-if="stepNum == 1" | |
| 473 | - style="background-color: #3F9B6A;color: #fff" | |
| 474 | - @click="addCheck('ruleForm')" | |
| 475 | - >确 定</el-button | |
| 476 | - > | |
| 293 | + <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" | |
| 294 | + @click="closeFn(2)">取 消</el-button> | |
| 295 | + <el-button v-if="stepNum == 0" style="background-color: #3F9B6A;color: #fff" | |
| 296 | + @click="lextStep(1)">下一步</el-button> | |
| 297 | + <el-button v-if="stepNum == 1" style="background-color: #3F9B6A;color: #fff" | |
| 298 | + @click="lextStep(0)">上一步</el-button> | |
| 299 | + <el-button v-if="stepNum == 1" style="background-color: #3F9B6A;color: #fff" | |
| 300 | + @click="addCheck('ruleForm')">确 定</el-button> | |
| 477 | 301 | </div> |
| 478 | 302 | </template> |
| 479 | 303 | </el-dialog> |
| ... | ... | @@ -484,417 +308,453 @@ |
| 484 | 308 | </template> |
| 485 | 309 | |
| 486 | 310 | <script> |
| 487 | -import { uploadUrl,token } from '@/utils/request' | |
| 488 | -import { | |
| 489 | -icManAll, | |
| 490 | -icManAdd, | |
| 491 | -icManEdit, | |
| 492 | -icManDel, | |
| 493 | -}from '../../../api/icManagement'; | |
| 494 | -import upimg from "@/components/ImageUpload/index"; | |
| 495 | -export default { | |
| 496 | - components: {upimg}, | |
| 497 | - data() { | |
| 498 | - return { | |
| 499 | - detbox: false, // 详情 | |
| 500 | - edit: true, // 编辑 | |
| 501 | - formInline: { | |
| 502 | - shopName: '', | |
| 503 | - positionInformation: '', | |
| 504 | - shopArea: '', | |
| 505 | - useTo: '', | |
| 506 | - rent: '', | |
| 507 | - locationImage: '', | |
| 508 | - locationDescription: '', | |
| 509 | - temporaryPavingId: '' | |
| 510 | - }, // 临铺新增数据 | |
| 511 | - LinID:'',//添加临铺ID | |
| 512 | - Ids:'',//查询新增的临铺列表 | |
| 513 | - action: uploadUrl, // 上传图片 | |
| 514 | - myHeaders: { | |
| 515 | - 'Authorization-admin': token | |
| 516 | - }, | |
| 517 | - ggXin: false, // 新增 | |
| 518 | - | |
| 519 | - formSel: { | |
| 520 | - contactName:'', | |
| 521 | - type:'', | |
| 522 | - customerLevel:'', | |
| 523 | - auditStatus:'', | |
| 524 | - pageNumber: 1, | |
| 311 | + import { | |
| 312 | + uploadUrl, | |
| 313 | + token | |
| 314 | + } from '@/utils/request' | |
| 315 | + import { | |
| 316 | + icManAll, | |
| 317 | + icManAdd, | |
| 318 | + icManEdit, | |
| 319 | + icManDel, | |
| 320 | + } from '../../../api/icManagement'; | |
| 321 | + import upimg from "@/components/ImageUpload/index"; | |
| 322 | + export default { | |
| 323 | + components: { | |
| 324 | + upimg | |
| 325 | + }, | |
| 326 | + data() { | |
| 327 | + return { | |
| 328 | + detbox: false, // 详情 | |
| 329 | + edit: true, // 编辑 | |
| 330 | + formInline: { | |
| 331 | + shopName: '', | |
| 332 | + positionInformation: '', | |
| 333 | + shopArea: '', | |
| 334 | + useTo: '', | |
| 335 | + rent: '', | |
| 336 | + locationImage: '', | |
| 337 | + locationDescription: '', | |
| 338 | + temporaryPavingId: '' | |
| 339 | + }, // 临铺新增数据 | |
| 340 | + LinID: '', //添加临铺ID | |
| 341 | + Ids: '', //查询新增的临铺列表 | |
| 342 | + action: uploadUrl, // 上传图片 | |
| 343 | + myHeaders: { | |
| 344 | + 'Authorization-admin': token | |
| 345 | + }, | |
| 346 | + ggXin: false, // 新增 | |
| 347 | + | |
| 348 | + formSel: { | |
| 349 | + contactName: '', | |
| 350 | + type: '', | |
| 351 | + customerLevel: '', | |
| 352 | + auditStatus: '', | |
| 353 | + pageNumber: 1, | |
| 354 | + pageSize: 10, | |
| 355 | + }, | |
| 356 | + ruleForm: { | |
| 357 | + subjectName: '', //主体名称 | |
| 358 | + unifiedSocialCreditCode: '', //统一社会信用代码 | |
| 359 | + type: '', //类型 | |
| 360 | + legalRepresentative: '', //法定代表人 | |
| 361 | + businessScope: '', //经营范围 | |
| 362 | + registeredCapital: '', //注册资本 | |
| 363 | + establishmentDate: '', //成立日期 | |
| 364 | + address: '', //住所 | |
| 365 | + emailAddress: '', //邮箱地址 | |
| 366 | + businessStartDate: '', //营业开始日期 | |
| 367 | + businessEndDate: '', //营业结束日期 | |
| 368 | + businessLicense: '', //营业执照 | |
| 369 | + contactName: '', //联系人名称 | |
| 370 | + contactPhone: '', //联系电话 | |
| 371 | + position: '', //职位 | |
| 372 | + auditStatus: '1', | |
| 373 | + yytime: [] | |
| 374 | + }, | |
| 375 | + card: 'first', // 切换 | |
| 376 | + stepNum: 0, | |
| 377 | + businessStartDate: [], | |
| 378 | + secondData: {}, | |
| 379 | + currentPage: 1, | |
| 380 | + total: 10, | |
| 381 | + flag: false, | |
| 525 | 382 | pageSize: 10, |
| 383 | + tableData: [], | |
| 384 | + msgid: '', | |
| 385 | + pageindex: { | |
| 386 | + pageNumber: 1, | |
| 387 | + pageSize: 10, | |
| 388 | + }, | |
| 389 | + rulesTwo:{ | |
| 390 | + contactName: [{ | |
| 391 | + required: true, | |
| 392 | + message: '请输入联系人名称', | |
| 393 | + trigger: 'blur' | |
| 394 | + }, ], | |
| 395 | + contactPhone: [{ | |
| 396 | + required: true, | |
| 397 | + message: '请输入联系电话', | |
| 398 | + trigger: 'blur' | |
| 399 | + }, ], | |
| 400 | + position: [{ | |
| 401 | + required: true, | |
| 402 | + message: '请选择职位', | |
| 403 | + trigger: 'change' | |
| 404 | + }, ], | |
| 405 | + }, | |
| 406 | + rulesOne: { | |
| 407 | + subjectName: [{ | |
| 408 | + required: true, | |
| 409 | + message: '请输入主体名称', | |
| 410 | + trigger: 'blur' | |
| 411 | + }, ], | |
| 412 | + unifiedSocialCreditCode: [{ | |
| 413 | + required: true, | |
| 414 | + message: '请输入统一社会信用代码', | |
| 415 | + trigger: 'blur' | |
| 416 | + }, | |
| 417 | + // { validator: this.validateUnifiedSocialCreditCode(), trigger: 'blur' } | |
| 418 | + ], | |
| 419 | + type: [{ | |
| 420 | + required: true, | |
| 421 | + message: '请选择类型', | |
| 422 | + trigger: 'change' | |
| 423 | + }], | |
| 424 | + legalRepresentative: [{ | |
| 425 | + required: true, | |
| 426 | + message: '请输入法定代表人', | |
| 427 | + trigger: 'blur' | |
| 428 | + }, ], | |
| 429 | + businessScope: [{ | |
| 430 | + required: true, | |
| 431 | + message: '请输入经营范围', | |
| 432 | + trigger: 'blur' | |
| 433 | + }, ], | |
| 434 | + registeredCapital: [{ | |
| 435 | + required: true, | |
| 436 | + message: '请输入注册资本', | |
| 437 | + trigger: 'blur' | |
| 438 | + }, ], | |
| 439 | + establishmentDate: [{ | |
| 440 | + required: true, | |
| 441 | + message: '请输入成立日期', | |
| 442 | + trigger: 'blur' | |
| 443 | + }, ], | |
| 444 | + yytime: [{ | |
| 445 | + required: true, | |
| 446 | + message: '请选择营业期限', | |
| 447 | + trigger: 'change' | |
| 448 | + }, ], | |
| 449 | + businessLicense: [{ | |
| 450 | + required: true, | |
| 451 | + message: '请选择营业执照', | |
| 452 | + trigger: 'change' | |
| 453 | + }, ], | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + } | |
| 458 | + }; | |
| 459 | + }, | |
| 460 | + | |
| 461 | + created() { | |
| 462 | + this.getAll(); | |
| 463 | + }, | |
| 464 | + mounted() {}, | |
| 465 | + | |
| 466 | + methods: { | |
| 467 | + // validateUnifiedSocialCreditCode(rule, value, callback){ | |
| 468 | + // const regex = /^[A-Z0-9]{18}$/; | |
| 469 | + // if (!value) { | |
| 470 | + // callback(new Error('请输入统一社会信用代码')); | |
| 471 | + // } else if (!regex.test(value)) { | |
| 472 | + // callback(new Error('统一社会信用代码必须为18位数字和大写字母')); | |
| 473 | + // } else { | |
| 474 | + // callback(); | |
| 475 | + // } | |
| 476 | + // }, | |
| 477 | + // 获取当前时间 | |
| 478 | + updateCurrentTime() { | |
| 479 | + const now = new Date(); | |
| 480 | + const year = now.getFullYear(); | |
| 481 | + const month = (now.getMonth() + 1).toString().padStart(2, '0'); | |
| 482 | + const day = now.getDate().toString().padStart(2, '0'); | |
| 483 | + const hours = now.getHours().toString().padStart(2, '0'); | |
| 484 | + const minutes = now.getMinutes().toString().padStart(2, '0'); | |
| 485 | + const seconds = now.getSeconds().toString().padStart(2, '0'); | |
| 486 | + | |
| 487 | + return `${year}-${month}-${day} ${hours}:${minutes}`; | |
| 526 | 488 | }, |
| 527 | - ruleForm: { | |
| 528 | - subjectName:'',//主体名称 | |
| 529 | - unifiedSocialCreditCode:'',//统一社会信用代码 | |
| 530 | - type:'',//类型 | |
| 531 | - legalRepresentative:'',//法定代表人 | |
| 532 | - businessScope:'',//经营范围 | |
| 533 | - registeredCapital:'',//注册资本 | |
| 534 | - establishmentDate:'',//成立日期 | |
| 535 | - address:'',//住所 | |
| 536 | - emailAddress:'',//邮箱地址 | |
| 537 | - businessStartDate:'',//营业开始日期 | |
| 538 | - businessEndDate:'',//营业结束日期 | |
| 539 | - businessLicense:'',//营业执照 | |
| 540 | - contactName:'',//联系人名称 | |
| 541 | - contactPhone:'',//联系电话 | |
| 542 | - position:'',//职位 | |
| 543 | - auditStatus:'1', | |
| 544 | - yytime:[] | |
| 489 | + handleSelectionChange(val) { | |
| 490 | + this.multipleSelection = val; | |
| 545 | 491 | }, |
| 546 | - card: 'first', // 切换 | |
| 547 | - stepNum:0, | |
| 548 | - businessStartDate:[], | |
| 549 | - secondData: {}, | |
| 550 | - currentPage: 1, | |
| 551 | - total: 10, | |
| 552 | - flag: false, | |
| 553 | - pageSize: 10, | |
| 554 | - tableData: [], | |
| 555 | - msgid: '', | |
| 556 | - pageindex: { | |
| 557 | - pageNumber: 1, | |
| 558 | - pageSize: 10, | |
| 492 | + lextStep(val) { | |
| 493 | + this.stepNum = val; | |
| 559 | 494 | }, |
| 560 | - rules:{ | |
| 561 | - subjectName: [{ | |
| 562 | - required: true, | |
| 563 | - message: '请输入主体名称', | |
| 564 | - trigger: 'blur' | |
| 565 | - }, ], | |
| 566 | - unifiedSocialCreditCode: [ | |
| 567 | - { required: true, message: '请输入统一社会信用代码', trigger: 'blur' }, | |
| 568 | - // { validator: this.validateUnifiedSocialCreditCode(), trigger: 'blur' } | |
| 569 | - ], | |
| 570 | - type: [{ | |
| 571 | - required: true, | |
| 572 | - message: '请选择类型', | |
| 573 | - trigger: 'change' | |
| 574 | - }], | |
| 575 | - legalRepresentative: [{ | |
| 576 | - required: true, | |
| 577 | - message: '请输入法定代表人', | |
| 578 | - trigger: 'blur' | |
| 579 | - }, ], | |
| 580 | - businessScope: [{ | |
| 581 | - required: true, | |
| 582 | - message: '请输入经营范围', | |
| 583 | - trigger: 'blur' | |
| 584 | - }, ], | |
| 585 | - registeredCapital: [{ | |
| 586 | - required: true, | |
| 587 | - message: '请输入注册资本', | |
| 588 | - trigger: 'blur' | |
| 589 | - }, ], | |
| 590 | - establishmentDate: [{ | |
| 591 | - required: true, | |
| 592 | - message: '请输入成立日期', | |
| 593 | - trigger: 'blur' | |
| 594 | - }, ], | |
| 595 | - yytime: [{ | |
| 596 | - required: true, | |
| 597 | - message: '请选择营业期限', | |
| 598 | - trigger: 'change' | |
| 599 | - }, ], | |
| 600 | - businessLicense: [{ | |
| 601 | - required: true, | |
| 602 | - message: '请选择营业执照', | |
| 603 | - trigger: 'change' | |
| 604 | - }, ], | |
| 605 | - contactName: [{ | |
| 606 | - required: true, | |
| 607 | - message: '请输入联系人名称', | |
| 608 | - trigger: 'blur' | |
| 609 | - }, ], | |
| 610 | - contactPhone: [{ | |
| 611 | - required: true, | |
| 612 | - message: '请输入联系电话', | |
| 613 | - trigger: 'blur' | |
| 614 | - }, ], | |
| 615 | - position: [{ | |
| 616 | - required: true, | |
| 617 | - message: '请选择职位', | |
| 618 | - trigger: 'change' | |
| 619 | - }, ], | |
| 620 | - | |
| 621 | - | |
| 622 | - } | |
| 623 | - }; | |
| 624 | - }, | |
| 625 | - | |
| 626 | - created() { | |
| 627 | - this.getAll(); | |
| 628 | - }, | |
| 629 | - mounted() {}, | |
| 630 | - | |
| 631 | - methods: { | |
| 632 | - // validateUnifiedSocialCreditCode(rule, value, callback){ | |
| 633 | - // const regex = /^[A-Z0-9]{18}$/; | |
| 634 | - // if (!value) { | |
| 635 | - // callback(new Error('请输入统一社会信用代码')); | |
| 636 | - // } else if (!regex.test(value)) { | |
| 637 | - // callback(new Error('统一社会信用代码必须为18位数字和大写字母')); | |
| 638 | - // } else { | |
| 639 | - // callback(); | |
| 640 | - // } | |
| 641 | - // }, | |
| 642 | - // 获取当前时间 | |
| 643 | - updateCurrentTime() { | |
| 644 | - const now = new Date(); | |
| 645 | - const year = now.getFullYear(); | |
| 646 | - const month = (now.getMonth() + 1).toString().padStart(2, '0'); | |
| 647 | - const day = now.getDate().toString().padStart(2, '0'); | |
| 648 | - const hours = now.getHours().toString().padStart(2, '0'); | |
| 649 | - const minutes = now.getMinutes().toString().padStart(2, '0'); | |
| 650 | - const seconds = now.getSeconds().toString().padStart(2, '0'); | |
| 651 | - | |
| 652 | - return `${year}-${month}-${day} ${hours}:${minutes}`; | |
| 653 | - }, | |
| 654 | - handleSelectionChange(val) { | |
| 655 | - this.multipleSelection = val; | |
| 656 | - }, | |
| 657 | - lextStep(val) { | |
| 658 | - this.stepNum = val; | |
| 659 | - }, | |
| 660 | - onCreated(editor) { | |
| 661 | - this.editor = Object.seal(editor); // 一定要用 Object.seal() ,否则会报错 | |
| 662 | - }, | |
| 663 | - // 查询全数据 | |
| 664 | - async getAll() { | |
| 665 | - const res = await icManAll(this.pageindex); | |
| 666 | - this.tableData = res.data.content | |
| 495 | + onCreated(editor) { | |
| 496 | + this.editor = Object.seal(editor); // 一定要用 Object.seal() ,否则会报错 | |
| 497 | + }, | |
| 498 | + // 查询全数据 | |
| 499 | + async getAll() { | |
| 500 | + const res = await icManAll(this.pageindex); | |
| 501 | + this.tableData = res.data.content | |
| 667 | 502 | this.total = res.data.content.length |
| 668 | - }, | |
| 669 | - // 编辑确认 | |
| 670 | - async msgeditS() { | |
| 671 | - if(this.businessStartDate.length !=0){ | |
| 672 | - this.secondData.businessStartDate = this.businessStartDate[0] | |
| 673 | - this.secondData.businessEndDate = this.businessStartDate[1] | |
| 674 | - } | |
| 675 | - await icManEdit(this.secondData); | |
| 676 | - this.detbox = false | |
| 677 | - this.getAll(); | |
| 678 | - }, | |
| 679 | - // 编辑 | |
| 680 | - bianji() { | |
| 681 | - if (this.edit) { | |
| 682 | - this.edit = false; | |
| 683 | - } | |
| 684 | - }, | |
| 685 | - bianjilist(item) { | |
| 686 | - this.detbox = true; | |
| 687 | - this.secondData = item; | |
| 688 | - this.businessStartDate[0]= item.businessStartDate | |
| 689 | - this.businessStartDate[1] =item.businessEndDate | |
| 690 | - this.msgid = item.id; | |
| 691 | - if (this.edit) { | |
| 692 | - this.edit = false; | |
| 693 | - } | |
| 694 | - }, | |
| 695 | - // 发布 | |
| 696 | - async fabu(item) { | |
| 697 | - const upTime = this.updateCurrentTime(); | |
| 698 | - await EditLinAn({ id: item.id, dataForm: '2', submissionTime: upTime }); | |
| 699 | - this.getAll(); | |
| 700 | - }, | |
| 701 | - // 查询 | |
| 702 | - async onSubmit() { | |
| 703 | - const res = await icManAll(this.formSel) | |
| 704 | - this.tableData = res.data.content | |
| 705 | - this.total = res.data.content.length | |
| 706 | - }, | |
| 503 | + }, | |
| 504 | + // 编辑确认 | |
| 505 | + async msgeditS() { | |
| 506 | + if (this.businessStartDate.length != 0) { | |
| 507 | + this.secondData.businessStartDate = this.businessStartDate[0] | |
| 508 | + this.secondData.businessEndDate = this.businessStartDate[1] | |
| 509 | + } | |
| 510 | + await icManEdit(this.secondData); | |
| 511 | + this.detbox = false | |
| 512 | + this.getAll(); | |
| 513 | + }, | |
| 514 | + // 编辑 | |
| 515 | + bianji() { | |
| 516 | + if (this.edit) { | |
| 517 | + this.edit = false; | |
| 518 | + } | |
| 519 | + }, | |
| 520 | + bianjilist(item) { | |
| 521 | + this.detbox = true; | |
| 522 | + this.secondData = item; | |
| 523 | + this.businessStartDate[0] = item.businessStartDate | |
| 524 | + this.businessStartDate[1] = item.businessEndDate | |
| 525 | + this.msgid = item.id; | |
| 526 | + if (this.edit) { | |
| 527 | + this.edit = false; | |
| 528 | + } | |
| 529 | + }, | |
| 530 | + // 发布 | |
| 531 | + async fabu(item) { | |
| 532 | + const upTime = this.updateCurrentTime(); | |
| 533 | + await EditLinAn({ | |
| 534 | + id: item.id, | |
| 535 | + dataForm: '2', | |
| 536 | + submissionTime: upTime | |
| 537 | + }); | |
| 538 | + this.getAll(); | |
| 539 | + }, | |
| 540 | + // 查询 | |
| 541 | + async onSubmit() { | |
| 542 | + const res = await icManAll(this.formSel) | |
| 543 | + this.tableData = res.data.content | |
| 544 | + this.total = res.data.content.length | |
| 545 | + }, | |
| 707 | 546 | |
| 708 | - // 详情点击 | |
| 709 | - async handleEditForm(item) { | |
| 710 | - this.secondData = item; | |
| 711 | - this.businessStartDate[0]= item.businessStartDate | |
| 712 | - this.businessStartDate[1] =item.businessEndDate | |
| 713 | - this.card = 'first' | |
| 714 | - this.detbox = true | |
| 715 | - }, | |
| 716 | - // 新增 | |
| 717 | - addbuss() { | |
| 718 | - this.ruleForm={ | |
| 719 | - subjectName:'',//主体名称 | |
| 720 | - unifiedSocialCreditCode:'',//统一社会信用代码 | |
| 721 | - type:'',//类型 | |
| 722 | - legalRepresentative:'',//法定代表人 | |
| 723 | - businessScope:'',//经营范围 | |
| 724 | - registeredCapital:'',//注册资本 | |
| 725 | - establishmentDate:'',//成立日期 | |
| 726 | - address:'',//住所 | |
| 727 | - emailAddress:'',//邮箱地址 | |
| 728 | - businessStartDate:'',//营业开始日期 | |
| 729 | - businessEndDate:'',//营业结束日期 | |
| 730 | - businessLicense:'',//营业执照 | |
| 731 | - contactName:'',//联系人名称 | |
| 732 | - contactPhone:'',//联系电话 | |
| 733 | - position:'',//职位 | |
| 734 | - auditStatus:'1', | |
| 735 | - yytime:[] | |
| 736 | - } | |
| 737 | - this.ggXin = true; | |
| 547 | + // 详情点击 | |
| 548 | + async handleEditForm(item) { | |
| 549 | + this.secondData = item; | |
| 550 | + this.businessStartDate[0] = item.businessStartDate | |
| 551 | + this.businessStartDate[1] = item.businessEndDate | |
| 552 | + this.card = 'first' | |
| 553 | + this.detbox = true | |
| 554 | + }, | |
| 555 | + // 新增 | |
| 556 | + addbuss() { | |
| 557 | + this.ruleForm = { | |
| 558 | + subjectName: '', //主体名称 | |
| 559 | + unifiedSocialCreditCode: '', //统一社会信用代码 | |
| 560 | + type: '', //类型 | |
| 561 | + legalRepresentative: '', //法定代表人 | |
| 562 | + businessScope: '', //经营范围 | |
| 563 | + registeredCapital: '', //注册资本 | |
| 564 | + establishmentDate: '', //成立日期 | |
| 565 | + address: '', //住所 | |
| 566 | + emailAddress: '', //邮箱地址 | |
| 567 | + businessStartDate: '', //营业开始日期 | |
| 568 | + businessEndDate: '', //营业结束日期 | |
| 569 | + businessLicense: '', //营业执照 | |
| 570 | + contactName: '', //联系人名称 | |
| 571 | + contactPhone: '', //联系电话 | |
| 572 | + position: '', //职位 | |
| 573 | + auditStatus: '1', | |
| 574 | + yytime: [] | |
| 575 | + } | |
| 576 | + this.ggXin = true; | |
| 738 | 577 | |
| 739 | - }, | |
| 740 | - // 新增确定 | |
| 741 | - addCheck() { | |
| 578 | + }, | |
| 579 | + // 新增确定 | |
| 580 | + addCheck() { | |
| 581 | + let c1 = false | |
| 582 | + this.$refs.AddFromOne.validate((valid) => { | |
| 742 | 583 | |
| 743 | - this.$refs.AddFrom.validate((valid) => { | |
| 744 | - console.log(valid) | |
| 745 | 584 | if (valid) { |
| 746 | - console.log(this.ruleForm.yytime) | |
| 747 | - if(this.ruleForm.yytime.length !=0 ){ | |
| 748 | - | |
| 749 | - this.ruleForm.businessStartDate = this.ruleForm.yytime[0] | |
| 750 | - this.ruleForm.businessEndDate = this.ruleForm.yytime[1] | |
| 751 | - }else{ | |
| 752 | - this.$message({ | |
| 753 | - message: '请选择营业期限', | |
| 754 | - | |
| 755 | - }) | |
| 756 | - return | |
| 757 | - } | |
| 758 | - // this.ruleForm.yytime =[] | |
| 759 | - if(this.fileList.length !=0){ | |
| 760 | - this.form.annex = JSON.stringify(this.fileList[0]) | |
| 761 | - } | |
| 762 | - icManAdd(this.ruleForm).then(res => { | |
| 585 | + c1 = true | |
| 586 | + } else { | |
| 763 | 587 | this.$message({ |
| 764 | - message: '保存成功', | |
| 765 | - type: 'success' | |
| 588 | + message: '请填写完整信息', | |
| 589 | + type: 'error' | |
| 766 | 590 | }) |
| 767 | - this.getAll(); | |
| 768 | - this.stepNum = 0 | |
| 769 | - this.ggXin = false | |
| 770 | - this.$refs.AddFrom.resetFields() | |
| 771 | - }) | |
| 591 | + c1 = false | |
| 592 | + | |
| 593 | + } | |
| 594 | + }) | |
| 595 | + if(!c1) { | |
| 596 | + return; | |
| 597 | + } | |
| 598 | + this.$refs.AddFromTwo.validate((valid) => { | |
| 599 | + | |
| 600 | + if (valid) { | |
| 601 | + c1 = true | |
| 772 | 602 | } else { |
| 773 | 603 | this.$message({ |
| 774 | 604 | message: '请填写完整信息', |
| 775 | 605 | type: 'error' |
| 776 | 606 | }) |
| 777 | - return false; | |
| 607 | + c1 = false | |
| 608 | + | |
| 778 | 609 | } |
| 779 | 610 | }) |
| 611 | + if(!c1) { | |
| 612 | + return; | |
| 613 | + } | |
| 614 | + if (this.ruleForm.yytime.length != 0) { | |
| 615 | + | |
| 616 | + this.ruleForm.businessStartDate = this.ruleForm.yytime[0] | |
| 617 | + this.ruleForm.businessEndDate = this.ruleForm.yytime[1] | |
| 618 | + } else { | |
| 619 | + this.$message({ | |
| 620 | + message: '请选择营业期限', | |
| 621 | + | |
| 622 | + }) | |
| 623 | + return | |
| 624 | + } | |
| 625 | + // this.ruleForm.yytime =[] | |
| 626 | + | |
| 627 | + icManAdd(this.ruleForm).then(res => { | |
| 628 | + this.$message({ | |
| 629 | + message: '保存成功', | |
| 630 | + type: 'success' | |
| 631 | + }) | |
| 632 | + this.getAll(); | |
| 633 | + this.stepNum = 0 | |
| 634 | + this.ggXin = false | |
| 635 | + this.$refs.AddFrom.resetFields() | |
| 636 | + }) | |
| 780 | 637 | |
| 781 | - | |
| 782 | - }, | |
| 783 | - handleCurrentChange(val) { | |
| 784 | - this.currentPage = val; | |
| 785 | - }, | |
| 786 | - handleSizeChange(val) { | |
| 787 | - this.pageSize = val; | |
| 788 | - }, | |
| 789 | - // 取消 | |
| 790 | - closeFn(val) { | |
| 791 | - if (val == 1) { | |
| 792 | - this.detbox = false; | |
| 793 | - this.edit = true; | |
| 794 | - } else { | |
| 795 | - this.ggXin = false; | |
| 796 | - this.stepNum = 0; | |
| 797 | - } | |
| 798 | - }, | |
| 799 | - //删除管理列表 | |
| 800 | - delGuan(item){ | |
| 801 | - const h = this.$createElement; | |
| 802 | - this.$msgbox({ | |
| 803 | - title: '消息', | |
| 804 | - message: h('p', null, [ | |
| 805 | - h('span', null, '是否删除 '), | |
| 806 | - ]), | |
| 807 | - showCancelButton: true, | |
| 808 | - showClose:false, | |
| 809 | - confirmButtonText: '确定', | |
| 810 | - cancelButtonText: '取消', | |
| 811 | - customClass:'oe-dialog-btn', | |
| 812 | - beforeClose: (action, instance, done) => { | |
| 813 | - if (action === 'confirm') { | |
| 814 | - icManDel({id: item.id}).then(res=>{ | |
| 815 | - this.getAll() | |
| 816 | - done(); | |
| 817 | - }) | |
| 818 | - } else { | |
| 819 | - done(); | |
| 820 | - } | |
| 821 | - } | |
| 822 | - }) | |
| 638 | + }, | |
| 639 | + handleCurrentChange(val) { | |
| 640 | + this.currentPage = val; | |
| 641 | + }, | |
| 642 | + handleSizeChange(val) { | |
| 643 | + this.pageSize = val; | |
| 644 | + }, | |
| 645 | + // 取消 | |
| 646 | + closeFn(val) { | |
| 647 | + if (val == 1) { | |
| 648 | + this.detbox = false; | |
| 649 | + this.edit = true; | |
| 650 | + } else { | |
| 651 | + this.ggXin = false; | |
| 652 | + this.stepNum = 0; | |
| 653 | + } | |
| 654 | + }, | |
| 655 | + //删除管理列表 | |
| 656 | + delGuan(item) { | |
| 657 | + const h = this.$createElement; | |
| 658 | + this.$msgbox({ | |
| 659 | + title: '消息', | |
| 660 | + message: h('p', null, [ | |
| 661 | + h('span', null, '是否删除 '), | |
| 662 | + ]), | |
| 663 | + showCancelButton: true, | |
| 664 | + showClose: false, | |
| 665 | + confirmButtonText: '确定', | |
| 666 | + cancelButtonText: '取消', | |
| 667 | + customClass: 'oe-dialog-btn', | |
| 668 | + beforeClose: (action, instance, done) => { | |
| 669 | + if (action === 'confirm') { | |
| 670 | + icManDel({ | |
| 671 | + id: item.id | |
| 672 | + }).then(res => { | |
| 673 | + this.getAll() | |
| 674 | + done(); | |
| 675 | + }) | |
| 676 | + } else { | |
| 677 | + done(); | |
| 678 | + } | |
| 679 | + } | |
| 680 | + }) | |
| 823 | 681 | |
| 824 | 682 | }, |
| 825 | - //删除详情 | |
| 826 | - async Lindel(item){ | |
| 827 | - await delLin({id:item.id}) | |
| 828 | - this.SelLins() | |
| 829 | - }, | |
| 830 | - // 新增铺位 | |
| 831 | - addPavingPlan(val) { | |
| 832 | - this.formInline = { | |
| 833 | - shopName: '', | |
| 834 | - positionInformation: '', | |
| 835 | - shopArea: '', | |
| 836 | - useTo: '', | |
| 837 | - rent: '', | |
| 838 | - locationImage: '', | |
| 839 | - locationDescription: '', | |
| 840 | - temporaryPavingId: '' | |
| 841 | - } | |
| 683 | + //删除详情 | |
| 684 | + async Lindel(item) { | |
| 685 | + await delLin({ | |
| 686 | + id: item.id | |
| 687 | + }) | |
| 688 | + this.SelLins() | |
| 689 | + }, | |
| 690 | + // 新增铺位 | |
| 691 | + addPavingPlan(val) { | |
| 692 | + this.formInline = { | |
| 693 | + shopName: '', | |
| 694 | + positionInformation: '', | |
| 695 | + shopArea: '', | |
| 696 | + useTo: '', | |
| 697 | + rent: '', | |
| 698 | + locationImage: '', | |
| 699 | + locationDescription: '', | |
| 700 | + temporaryPavingId: '' | |
| 701 | + } | |
| 842 | 702 | |
| 843 | - }, | |
| 703 | + }, | |
| 844 | 704 | // 新增铺位取消按钮 |
| 845 | - doCancel(){ | |
| 846 | - this.isAdd = false | |
| 847 | - }, | |
| 848 | - // 新增铺位确定按钮 | |
| 849 | - async doSubmit(){ | |
| 850 | - if(this.detbox){ | |
| 851 | - this.formInline.temporaryPavingId = this.msgid | |
| 852 | - let res = await addLin(this.formInline) | |
| 705 | + doCancel() { | |
| 706 | + this.isAdd = false | |
| 707 | + }, | |
| 708 | + // 新增铺位确定按钮 | |
| 709 | + async doSubmit() { | |
| 710 | + if (this.detbox) { | |
| 711 | + this.formInline.temporaryPavingId = this.msgid | |
| 712 | + let res = await addLin(this.formInline) | |
| 853 | 713 | |
| 854 | - }else{ | |
| 855 | - let res = await addLin(this.formInline) | |
| 856 | - this.LinID = res.data.id | |
| 714 | + } else { | |
| 715 | + let res = await addLin(this.formInline) | |
| 716 | + this.LinID = res.data.id | |
| 857 | 717 | |
| 858 | - if (this.Ids.length == 0) { | |
| 718 | + if (this.Ids.length == 0) { | |
| 859 | 719 | this.Ids = this.LinID |
| 860 | 720 | } else { |
| 861 | 721 | this.Ids = this.Ids + ',' + this.LinID |
| 862 | 722 | } |
| 863 | - } | |
| 864 | - this.isAdd = false | |
| 865 | - this.SelLins() | |
| 723 | + } | |
| 724 | + this.isAdd = false | |
| 725 | + this.SelLins() | |
| 866 | 726 | |
| 867 | - }, | |
| 727 | + }, | |
| 868 | 728 | |
| 869 | - handlePreview(file) { | |
| 870 | - console.log(file); | |
| 871 | - }, | |
| 872 | - handleRemove(file, fileList) { | |
| 873 | - console.log(file, fileList); | |
| 874 | - }, | |
| 729 | + handlePreview(file) { | |
| 730 | + console.log(file); | |
| 731 | + }, | |
| 732 | + handleRemove(file, fileList) { | |
| 733 | + console.log(file, fileList); | |
| 734 | + }, | |
| 875 | 735 | |
| 876 | - // 重置按钮 | |
| 877 | - resetting() { | |
| 878 | - this.formSel = { | |
| 879 | - contactName:'', | |
| 880 | - type:'', | |
| 881 | - customerLevel:'', | |
| 882 | - auditStatus:'', | |
| 883 | - pageNumber: 1, | |
| 884 | - pageSize: 10, | |
| 885 | - } | |
| 886 | - this.getAll() | |
| 887 | - }, | |
| 736 | + // 重置按钮 | |
| 737 | + resetting() { | |
| 738 | + this.formSel = { | |
| 739 | + contactName: '', | |
| 740 | + type: '', | |
| 741 | + customerLevel: '', | |
| 742 | + auditStatus: '', | |
| 743 | + pageNumber: 1, | |
| 744 | + pageSize: 10, | |
| 745 | + } | |
| 746 | + this.getAll() | |
| 747 | + }, | |
| 748 | + } | |
| 888 | 749 | } |
| 889 | -} | |
| 890 | 750 | </script> |
| 891 | 751 | <style src="@wangeditor/editor/dist/css/style.css"></style> |
| 892 | 752 | <style scoped> |
| 893 | -/deep/ .first-column-bg { | |
| 894 | - background-color: #f4f4f5 !important; | |
| 895 | -} | |
| 753 | + /deep/ .first-column-bg { | |
| 754 | + background-color: #f4f4f5 !important; | |
| 755 | + } | |
| 896 | 756 | |
| 897 | -.zhuti { | |
| 757 | + .zhuti { | |
| 898 | 758 | padding: 0 20px 20px 20px; |
| 899 | 759 | min-height: calc(100vh - 50px - 20px); |
| 900 | 760 | background-color: #Fff; |
| ... | ... | @@ -903,310 +763,315 @@ export default { |
| 903 | 763 | |
| 904 | 764 | |
| 905 | 765 | |
| 906 | -.tableBtn { | |
| 907 | - display: inline-block; | |
| 908 | - margin-right: 10px; | |
| 909 | -} | |
| 766 | + .tableBtn { | |
| 767 | + display: inline-block; | |
| 768 | + margin-right: 10px; | |
| 769 | + } | |
| 910 | 770 | |
| 911 | -.formSearch { | |
| 771 | + .formSearch { | |
| 912 | 772 | display: flex; |
| 913 | 773 | width: 100%; |
| 914 | 774 | font-size: 14px; |
| 915 | 775 | justify-content: space-between; |
| 916 | 776 | } |
| 917 | 777 | |
| 918 | -.greens { | |
| 919 | - color: #3f9b6a; | |
| 920 | -} | |
| 778 | + .greens { | |
| 779 | + color: #3f9b6a; | |
| 780 | + } | |
| 921 | 781 | |
| 922 | - /deep/ .el-table__row { | |
| 782 | + /deep/ .el-table__row { | |
| 923 | 783 | font-size: 14px; |
| 924 | 784 | color: #000000e6; |
| 925 | 785 | height: 42px; |
| 926 | 786 | } |
| 927 | -.fenye { | |
| 928 | - margin-top: 20px; | |
| 929 | - display: flex; | |
| 930 | - justify-content: flex-end; | |
| 931 | - position: relative; | |
| 932 | -} | |
| 933 | - | |
| 934 | -/deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { | |
| 935 | - background-color: #3f9b6a; | |
| 936 | -} | |
| 937 | - | |
| 938 | -:last-child { | |
| 939 | - margin-bottom: 0; | |
| 940 | -} | |
| 941 | - | |
| 942 | -.el-col { | |
| 943 | - border-radius: 4px; | |
| 944 | -} | |
| 945 | - | |
| 946 | -.bg-purple-dark { | |
| 947 | - background: #99a9bf; | |
| 948 | -} | |
| 949 | - | |
| 950 | -.bg-purple { | |
| 951 | - /* background: #d3dce6; */ | |
| 952 | -} | |
| 953 | - | |
| 954 | -.bg-purple-light { | |
| 955 | - background: #e5e9f2; | |
| 956 | -} | |
| 957 | - | |
| 958 | -.grid-content { | |
| 959 | - border-radius: 4px; | |
| 960 | - min-height: 36px; | |
| 961 | -} | |
| 962 | - | |
| 963 | -.row-bg { | |
| 964 | - padding: 10px 0; | |
| 965 | - background-color: #f9fafc; | |
| 966 | -} | |
| 967 | - | |
| 968 | -/deep/ .bg-purple[data-v-0e3fe4ec] { | |
| 969 | - background: #fff; | |
| 970 | - height: 50px; | |
| 971 | -} | |
| 972 | - | |
| 973 | -/deep/ .el-form--label-top .el-form-item__label { | |
| 974 | - padding: 0; | |
| 975 | -} | |
| 976 | - | |
| 977 | -.demo-input-suffix { | |
| 978 | - display: flex; | |
| 979 | - margin-right: 20px; | |
| 980 | -} | |
| 981 | - | |
| 982 | -.pagination { | |
| 983 | - text-align: right; | |
| 984 | - line-height: 20px; | |
| 985 | -} | |
| 986 | - | |
| 987 | -.dialog_css { | |
| 988 | - padding: 0px; | |
| 989 | -} | |
| 990 | - | |
| 991 | -.dialog_xin { | |
| 992 | - padding: 0px; | |
| 993 | -} | |
| 994 | - | |
| 995 | -/deep/.el-dialog__body { | |
| 996 | - padding: 0px; | |
| 997 | -} | |
| 998 | - | |
| 999 | -/deep/ .el-dialog__header { | |
| 1000 | - background-color: #fff; | |
| 1001 | - padding: 0; | |
| 1002 | -} | |
| 1003 | - | |
| 1004 | - | |
| 1005 | -.el-row { | |
| 1006 | - &:last-child { | |
| 787 | + | |
| 788 | + .fenye { | |
| 789 | + margin-top: 20px; | |
| 790 | + display: flex; | |
| 791 | + justify-content: flex-end; | |
| 792 | + position: relative; | |
| 793 | + } | |
| 794 | + | |
| 795 | + /deep/ .el-pagination.is-background .el-pager li:not(.disabled).active { | |
| 796 | + background-color: #3f9b6a; | |
| 797 | + } | |
| 798 | + | |
| 799 | + :last-child { | |
| 1007 | 800 | margin-bottom: 0; |
| 1008 | 801 | } |
| 1009 | -} | |
| 1010 | - | |
| 1011 | -/deep/ .avatar-uploader .el-upload { | |
| 1012 | - border: 1px dashed #d9d9d9; | |
| 1013 | - border-radius: 6px; | |
| 1014 | - cursor: pointer; | |
| 1015 | - position: relative; | |
| 1016 | - overflow: hidden; | |
| 1017 | -} | |
| 1018 | - | |
| 1019 | -.avatar-uploader-icon { | |
| 1020 | - font-size: 28px; | |
| 1021 | - color: #8c939d; | |
| 1022 | - width: 108px; | |
| 1023 | - height: 108px; | |
| 1024 | - line-height: 108px; | |
| 1025 | - /*text-align: center;*/ | |
| 1026 | -} | |
| 1027 | - | |
| 1028 | -.avatar { | |
| 1029 | - width: 108px; | |
| 1030 | - height: 108px; | |
| 1031 | - display: block; | |
| 1032 | -} | |
| 1033 | - | |
| 1034 | -::v-deep .el-tabs__item.is-active { | |
| 1035 | - color: #3f9b6a; | |
| 1036 | - opacity: 1; | |
| 1037 | -} | |
| 1038 | - | |
| 1039 | -/deep/ .el-tabs__nav-wrap::after { | |
| 1040 | - background-color: #fff; | |
| 1041 | -} | |
| 1042 | - | |
| 1043 | -::v-deep .el-tabs__item:hover { | |
| 1044 | - color: #3f9b6a; | |
| 1045 | - cursor: pointer; | |
| 1046 | - opacity: 1; | |
| 1047 | -} | |
| 1048 | - | |
| 1049 | -/deep/ .el-tabs__active-bar { | |
| 1050 | - background-color: #389865; | |
| 1051 | -} | |
| 1052 | - | |
| 1053 | -/deep/ .el-table_2_column_13 { | |
| 1054 | - font-weight: 100; | |
| 1055 | -} | |
| 1056 | - | |
| 1057 | -::v-deep .el-input__inner:focus { | |
| 1058 | - border: #3f9b6a 1px solid; | |
| 1059 | -} | |
| 1060 | - | |
| 1061 | -::v-deep .el-input__inner:hover { | |
| 1062 | - border: #3f9b6a 1px solid; | |
| 1063 | -} | |
| 1064 | - | |
| 1065 | -::v-deep .el-select .el-input.is-focus .el-input__inner { | |
| 1066 | - border-color: #3f9b6a; | |
| 1067 | -} | |
| 1068 | - | |
| 1069 | - | |
| 1070 | -/* ::v-deep .el-steps .el-step__head.is-wait { | |
| 802 | + | |
| 803 | + .el-col { | |
| 804 | + border-radius: 4px; | |
| 805 | + } | |
| 806 | + | |
| 807 | + .bg-purple-dark { | |
| 808 | + background: #99a9bf; | |
| 809 | + } | |
| 810 | + | |
| 811 | + .bg-purple { | |
| 812 | + /* background: #d3dce6; */ | |
| 813 | + } | |
| 814 | + | |
| 815 | + .bg-purple-light { | |
| 816 | + background: #e5e9f2; | |
| 817 | + } | |
| 818 | + | |
| 819 | + .grid-content { | |
| 820 | + border-radius: 4px; | |
| 821 | + min-height: 36px; | |
| 822 | + } | |
| 823 | + | |
| 824 | + .row-bg { | |
| 825 | + padding: 10px 0; | |
| 826 | + background-color: #f9fafc; | |
| 827 | + } | |
| 828 | + | |
| 829 | + /deep/ .bg-purple[data-v-0e3fe4ec] { | |
| 830 | + background: #fff; | |
| 831 | + height: 50px; | |
| 832 | + } | |
| 833 | + | |
| 834 | + /deep/ .el-form--label-top .el-form-item__label { | |
| 835 | + padding: 0; | |
| 836 | + } | |
| 837 | + | |
| 838 | + .demo-input-suffix { | |
| 839 | + display: flex; | |
| 840 | + margin-right: 20px; | |
| 841 | + } | |
| 842 | + | |
| 843 | + .pagination { | |
| 844 | + text-align: right; | |
| 845 | + line-height: 20px; | |
| 846 | + } | |
| 847 | + | |
| 848 | + .dialog_css { | |
| 849 | + padding: 0px; | |
| 850 | + } | |
| 851 | + | |
| 852 | + .dialog_xin { | |
| 853 | + padding: 0px; | |
| 854 | + } | |
| 855 | + | |
| 856 | + /deep/.el-dialog__body { | |
| 857 | + padding: 0px; | |
| 858 | + } | |
| 859 | + | |
| 860 | + /deep/ .el-dialog__header { | |
| 861 | + background-color: #fff; | |
| 862 | + padding: 0; | |
| 863 | + } | |
| 864 | + | |
| 865 | + | |
| 866 | + .el-row { | |
| 867 | + &:last-child { | |
| 868 | + margin-bottom: 0; | |
| 869 | + } | |
| 870 | + } | |
| 871 | + | |
| 872 | + /deep/ .avatar-uploader .el-upload { | |
| 873 | + border: 1px dashed #d9d9d9; | |
| 874 | + border-radius: 6px; | |
| 875 | + cursor: pointer; | |
| 876 | + position: relative; | |
| 877 | + overflow: hidden; | |
| 878 | + } | |
| 879 | + | |
| 880 | + .avatar-uploader-icon { | |
| 881 | + font-size: 28px; | |
| 882 | + color: #8c939d; | |
| 883 | + width: 108px; | |
| 884 | + height: 108px; | |
| 885 | + line-height: 108px; | |
| 886 | + /*text-align: center;*/ | |
| 887 | + } | |
| 888 | + | |
| 889 | + .avatar { | |
| 890 | + width: 108px; | |
| 891 | + height: 108px; | |
| 892 | + display: block; | |
| 893 | + } | |
| 894 | + | |
| 895 | + ::v-deep .el-tabs__item.is-active { | |
| 896 | + color: #3f9b6a; | |
| 897 | + opacity: 1; | |
| 898 | + } | |
| 899 | + | |
| 900 | + /deep/ .el-tabs__nav-wrap::after { | |
| 901 | + background-color: #fff; | |
| 902 | + } | |
| 903 | + | |
| 904 | + ::v-deep .el-tabs__item:hover { | |
| 905 | + color: #3f9b6a; | |
| 906 | + cursor: pointer; | |
| 907 | + opacity: 1; | |
| 908 | + } | |
| 909 | + | |
| 910 | + /deep/ .el-tabs__active-bar { | |
| 911 | + background-color: #389865; | |
| 912 | + } | |
| 913 | + | |
| 914 | + /deep/ .el-table_2_column_13 { | |
| 915 | + font-weight: 100; | |
| 916 | + } | |
| 917 | + | |
| 918 | + ::v-deep .el-input__inner:focus { | |
| 919 | + border: #3f9b6a 1px solid; | |
| 920 | + } | |
| 921 | + | |
| 922 | + ::v-deep .el-input__inner:hover { | |
| 923 | + border: #3f9b6a 1px solid; | |
| 924 | + } | |
| 925 | + | |
| 926 | + ::v-deep .el-select .el-input.is-focus .el-input__inner { | |
| 927 | + border-color: #3f9b6a; | |
| 928 | + } | |
| 929 | + | |
| 930 | + | |
| 931 | + /* ::v-deep .el-steps .el-step__head.is-wait { | |
| 1071 | 932 | background-color: red; /* 修改为你想要的颜色 */ |
| 1072 | 933 | |
| 1073 | -/* 修改未进行步骤的描述文字颜色 */ | |
| 1074 | -::v-deep .el-steps .el-step__description.is-wait { | |
| 1075 | - color: #999; | |
| 1076 | - /* 修改为你想要的颜色 */ | |
| 1077 | -} | |
| 1078 | - | |
| 1079 | -/* 修改未进行步骤的图标颜色 */ | |
| 1080 | -::v-deep .el-steps .el-step__icon.is-text.is-wait { | |
| 1081 | - color: #999; | |
| 1082 | - /* 修改为你想要的颜色 */ | |
| 1083 | -} | |
| 1084 | - | |
| 1085 | -/* 修改未进行步骤的边框色 */ | |
| 1086 | -::v-deep .el-steps .el-step__line.is-wait { | |
| 1087 | - border-color: #eee; | |
| 1088 | - /* 修改为你想要的颜色 */ | |
| 1089 | -} | |
| 1090 | - | |
| 1091 | -::v-deep .el-steps .is-process .el-step__line { | |
| 1092 | - background-color: #3f9b6a; | |
| 1093 | - /* 修改线的颜色 */ | |
| 1094 | -} | |
| 1095 | - | |
| 1096 | -::v-deep .el-steps .is-process .el-step__title { | |
| 1097 | - color: #fe7b6a; | |
| 1098 | - /* 修改进行中步骤的标题颜色 */ | |
| 1099 | -} | |
| 1100 | - | |
| 1101 | -::v-deep .el-steps .is-process .el-step__icon { | |
| 1102 | - color: #fff; | |
| 1103 | - /* 修改进行中步骤的图标颜色 */ | |
| 1104 | - background: #3f9b6a; | |
| 1105 | - /* 修改进行中步骤图标的边框颜色 */ | |
| 1106 | - border: 0px; | |
| 1107 | -} | |
| 1108 | - | |
| 1109 | -::v-deep .el-step__icon-inner { | |
| 1110 | - line-height: 0; | |
| 1111 | -} | |
| 1112 | - | |
| 1113 | -/* 线条长度 */ | |
| 1114 | -::v-deep .el-step.is-vertical .el-step__line { | |
| 1115 | - top: 30px; | |
| 1116 | - height: 60px; | |
| 1117 | -} | |
| 1118 | - | |
| 1119 | -::v-deep .moren { | |
| 1120 | - .el-input__inner { | |
| 934 | + /* 修改未进行步骤的描述文字颜色 */ | |
| 935 | + ::v-deep .el-steps .el-step__description.is-wait { | |
| 936 | + color: #999; | |
| 937 | + /* 修改为你想要的颜色 */ | |
| 938 | + } | |
| 939 | + | |
| 940 | + /* 修改未进行步骤的图标颜色 */ | |
| 941 | + ::v-deep .el-steps .el-step__icon.is-text.is-wait { | |
| 942 | + color: #999; | |
| 943 | + /* 修改为你想要的颜色 */ | |
| 944 | + } | |
| 945 | + | |
| 946 | + /* 修改未进行步骤的边框色 */ | |
| 947 | + ::v-deep .el-steps .el-step__line.is-wait { | |
| 948 | + border-color: #eee; | |
| 949 | + /* 修改为你想要的颜色 */ | |
| 950 | + } | |
| 951 | + | |
| 952 | + ::v-deep .el-steps .is-process .el-step__line { | |
| 953 | + background-color: #3f9b6a; | |
| 954 | + /* 修改线的颜色 */ | |
| 955 | + } | |
| 956 | + | |
| 957 | + ::v-deep .el-steps .is-process .el-step__title { | |
| 958 | + color: #fe7b6a; | |
| 959 | + /* 修改进行中步骤的标题颜色 */ | |
| 960 | + } | |
| 961 | + | |
| 962 | + ::v-deep .el-steps .is-process .el-step__icon { | |
| 963 | + color: #fff; | |
| 964 | + /* 修改进行中步骤的图标颜色 */ | |
| 965 | + background: #3f9b6a; | |
| 966 | + /* 修改进行中步骤图标的边框颜色 */ | |
| 967 | + border: 0px; | |
| 968 | + } | |
| 969 | + | |
| 970 | + ::v-deep .el-step__icon-inner { | |
| 971 | + line-height: 0; | |
| 972 | + } | |
| 973 | + | |
| 974 | + /* 线条长度 */ | |
| 975 | + ::v-deep .el-step.is-vertical .el-step__line { | |
| 976 | + top: 30px; | |
| 977 | + height: 60px; | |
| 978 | + } | |
| 979 | + | |
| 980 | + ::v-deep .moren { | |
| 981 | + .el-input__inner { | |
| 982 | + margin-top: 5px; | |
| 983 | + padding: 0 20px; | |
| 984 | + } | |
| 985 | + } | |
| 986 | + | |
| 987 | + /deep/ .el-radio-group { | |
| 988 | + margin-top: 11px; | |
| 989 | + } | |
| 990 | + | |
| 991 | + /deep/ .el-radio__input.is-checked .el-radio__inner { | |
| 992 | + border-color: #3f9b6a; | |
| 993 | + background: #3f9b6a; | |
| 994 | + } | |
| 995 | + | |
| 996 | + ::v-deep .el-col { | |
| 997 | + padding: 0 !important; | |
| 998 | + } | |
| 999 | + | |
| 1000 | + /deep/ .el-radio-group { | |
| 1001 | + width: 100%; | |
| 1002 | + } | |
| 1003 | + | |
| 1004 | + .radio-right-side { | |
| 1005 | + width: 100%; | |
| 1006 | + display: flex; | |
| 1007 | + justify-content: space-between; | |
| 1008 | + } | |
| 1009 | + | |
| 1010 | + /deep/ .radio-right-side .el-radio__label { | |
| 1011 | + display: flex; | |
| 1012 | + align-items: center; | |
| 1013 | + } | |
| 1014 | + | |
| 1015 | + /deep/ .radio-right-side .el-radio__inner { | |
| 1016 | + order: 1; | |
| 1017 | + } | |
| 1018 | + | |
| 1019 | + /deep/ .radio-right-side .el-radio__input { | |
| 1020 | + display: flex; | |
| 1021 | + order: 2; | |
| 1022 | + } | |
| 1023 | + | |
| 1024 | + /deep/ .radio-right-side { | |
| 1025 | + &:hover { | |
| 1026 | + color: #000; | |
| 1027 | + } | |
| 1028 | + } | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + ::v-deep .setup { | |
| 1032 | + .el-steps { | |
| 1033 | + justify-content: center; | |
| 1034 | + } | |
| 1035 | + } | |
| 1036 | + | |
| 1037 | + ::v-deep .el-step__head.is-finish { | |
| 1038 | + color: #c0c4cc; | |
| 1039 | + border-color: #c0c4cc; | |
| 1040 | + } | |
| 1041 | + | |
| 1042 | + ::v-deep .el-step__title.is-finish { | |
| 1043 | + color: #c0c4cc; | |
| 1044 | + } | |
| 1045 | + | |
| 1046 | + ::v-deep .el-step__title.is-process { | |
| 1047 | + color: #c0c4cc; | |
| 1048 | + } | |
| 1049 | + | |
| 1050 | + ::v-deep .el-tabs { | |
| 1051 | + width: 100%; | |
| 1052 | + } | |
| 1053 | + | |
| 1054 | + ::v-deep .setup { | |
| 1055 | + .el-step__main { | |
| 1056 | + margin-left: -17px; | |
| 1057 | + } | |
| 1058 | + | |
| 1059 | + .el-step__title.is-process { | |
| 1060 | + color: #3f9b6a; | |
| 1061 | + } | |
| 1062 | + | |
| 1063 | + } | |
| 1064 | + | |
| 1065 | + ::v-deep .el-pagination__jump { | |
| 1121 | 1066 | margin-top: 5px; |
| 1122 | - padding: 0 20px; | |
| 1123 | - } | |
| 1124 | -} | |
| 1125 | - | |
| 1126 | -/deep/ .el-radio-group { | |
| 1127 | - margin-top: 11px; | |
| 1128 | -} | |
| 1129 | - | |
| 1130 | -/deep/ .el-radio__input.is-checked .el-radio__inner { | |
| 1131 | - border-color: #3f9b6a; | |
| 1132 | - background: #3f9b6a; | |
| 1133 | -} | |
| 1134 | - | |
| 1135 | -::v-deep .el-col { | |
| 1136 | - padding: 0 !important; | |
| 1137 | -} | |
| 1138 | - | |
| 1139 | -/deep/ .el-radio-group { | |
| 1140 | - width: 100%; | |
| 1141 | -} | |
| 1142 | - | |
| 1143 | -.radio-right-side { | |
| 1144 | - width: 100%; | |
| 1145 | - display: flex; | |
| 1146 | - justify-content: space-between; | |
| 1147 | -} | |
| 1148 | - | |
| 1149 | -/deep/ .radio-right-side .el-radio__label { | |
| 1150 | - display: flex; | |
| 1151 | - align-items: center; | |
| 1152 | -} | |
| 1153 | - | |
| 1154 | -/deep/ .radio-right-side .el-radio__inner { | |
| 1155 | - order: 1; | |
| 1156 | -} | |
| 1157 | - | |
| 1158 | -/deep/ .radio-right-side .el-radio__input { | |
| 1159 | - display: flex; | |
| 1160 | - order: 2; | |
| 1161 | -} | |
| 1162 | - | |
| 1163 | -/deep/ .radio-right-side { | |
| 1164 | - &:hover { | |
| 1165 | - color: #000; | |
| 1166 | - } | |
| 1167 | -} | |
| 1168 | - | |
| 1169 | - | |
| 1170 | -::v-deep .setup { | |
| 1171 | - .el-steps { | |
| 1172 | - justify-content: center; | |
| 1173 | - } | |
| 1174 | -} | |
| 1175 | - | |
| 1176 | -::v-deep .el-step__head.is-finish { | |
| 1177 | - color: #c0c4cc; | |
| 1178 | - border-color: #c0c4cc; | |
| 1179 | -} | |
| 1180 | - | |
| 1181 | -::v-deep .el-step__title.is-finish { | |
| 1182 | - color: #c0c4cc; | |
| 1183 | -} | |
| 1184 | - | |
| 1185 | -::v-deep .el-step__title.is-process { | |
| 1186 | - color: #c0c4cc; | |
| 1187 | -} | |
| 1188 | - | |
| 1189 | -::v-deep .el-tabs { | |
| 1190 | - width: 100%; | |
| 1191 | -} | |
| 1192 | -::v-deep .setup{ | |
| 1193 | - .el-step__main{ | |
| 1194 | - margin-left: -17px; | |
| 1195 | - } | |
| 1196 | - .el-step__title.is-process{ | |
| 1197 | - color: #3f9b6a; | |
| 1198 | - } | |
| 1199 | - | |
| 1200 | -} | |
| 1201 | -::v-deep .el-pagination__jump{ | |
| 1202 | - margin-top:5px; | |
| 1203 | -} | |
| 1204 | -::v-deep .linClass{ | |
| 1205 | -.el-dialog__header{ | |
| 1206 | -padding: 20px 20px 10px; | |
| 1207 | -font-size: 14px; | |
| 1208 | -} | |
| 1209 | -} | |
| 1067 | + } | |
| 1068 | + | |
| 1069 | + ::v-deep .linClass { | |
| 1070 | + .el-dialog__header { | |
| 1071 | + padding: 20px 20px 10px; | |
| 1072 | + font-size: 14px; | |
| 1073 | + } | |
| 1074 | + } | |
| 1210 | 1075 | </style> |
| 1211 | 1076 | <style lang="scss" scoped> |
| 1212 | 1077 | ::v-deep .bian_css { | ... | ... |
admin-web-master/src/views/customer/rsaReview/index.vue
| ... | ... | @@ -85,7 +85,7 @@ |
| 85 | 85 | <div class="tableBtn greens" @click="handleEditForm(scope.row)"> |
| 86 | 86 | 查看 |
| 87 | 87 | </div> |
| 88 | - <div class="tableBtn greens" @click="addbuss(scope.row)" v-if=" scope.row.auditStatus == '2'|| scope.row.auditStatus == '1'"> | |
| 88 | + <div class="tableBtn greens" @click="addbuss(scope.row)" v-if=" scope.row.auditStatus == '2'"> | |
| 89 | 89 | 审核 |
| 90 | 90 | </div> |
| 91 | 91 | </template> | ... | ... |
admin-web-master/src/views/detect/addziyuan.vue
| ... | ... | @@ -543,7 +543,34 @@ |
| 543 | 543 | this.gongyuanList = gongyaun.data.filter(item => item.superior == value); |
| 544 | 544 | }, |
| 545 | 545 | closeFn() { |
| 546 | - this.$emit('childClose', false); | |
| 546 | + this.fileData = [] | |
| 547 | + this.resourceType = { | |
| 548 | + leixin: '商铺' | |
| 549 | + } | |
| 550 | + this.advue= { | |
| 551 | + type: '线上广告位' | |
| 552 | + } | |
| 553 | + this.leixing=true //广告位类型 | |
| 554 | + this.ruleForm={ | |
| 555 | + shopName: '', | |
| 556 | + venueNumber: '', | |
| 557 | + houseNumber: '', | |
| 558 | + architecturalForm: '', | |
| 559 | + actualUsableArea: '', | |
| 560 | + belongingRegion: '', | |
| 561 | + belongingDepartment: '', | |
| 562 | + head: '', | |
| 563 | + detailedLocation: '', | |
| 564 | + mapPunctuation: '', | |
| 565 | + shopDescription: '', | |
| 566 | + displayMainImage: '', | |
| 567 | + architecturalDrawings: '', | |
| 568 | + displayMainVidio: '', | |
| 569 | + belongingGreenwaySection: '', | |
| 570 | + belongingParkTrail: '', | |
| 571 | + floorSpace: '', | |
| 572 | + } | |
| 573 | + this.$emit('childClose', false) | |
| 547 | 574 | }, |
| 548 | 575 | //获取当前时间 |
| 549 | 576 | updateCurrentTime() { |
| ... | ... | @@ -596,6 +623,33 @@ |
| 596 | 623 | this.ruleForm.otherMedia = this.fileData[0].url |
| 597 | 624 | } |
| 598 | 625 | changadd(this.ruleForm).then(res=>{ |
| 626 | + this.fileData = [] | |
| 627 | + this.resourceType = { | |
| 628 | + leixin: '商铺' | |
| 629 | + } | |
| 630 | + this.advue= { | |
| 631 | + type: '线上广告位' | |
| 632 | + } | |
| 633 | + this.leixing=true //广告位类型 | |
| 634 | + this.ruleForm={ | |
| 635 | + shopName: '', | |
| 636 | + venueNumber: '', | |
| 637 | + houseNumber: '', | |
| 638 | + architecturalForm: '', | |
| 639 | + actualUsableArea: '', | |
| 640 | + belongingRegion: '', | |
| 641 | + belongingDepartment: '', | |
| 642 | + head: '', | |
| 643 | + detailedLocation: '', | |
| 644 | + mapPunctuation: '', | |
| 645 | + shopDescription: '', | |
| 646 | + displayMainImage: '', | |
| 647 | + architecturalDrawings: '', | |
| 648 | + displayMainVidio: '', | |
| 649 | + belongingGreenwaySection: '', | |
| 650 | + belongingParkTrail: '', | |
| 651 | + floorSpace: '', | |
| 652 | + } | |
| 599 | 653 | this.$emit('childClose', false); |
| 600 | 654 | }) |
| 601 | 655 | } | ... | ... |
admin-web-master/src/views/detect/information.vue
| ... | ... | @@ -47,7 +47,7 @@ |
| 47 | 47 | <div> <el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff;padding:8px 15px;">查询 |
| 48 | 48 | </el-button> |
| 49 | 49 | <el-button @click="resetting" class="buttonHover" |
| 50 | - style="color: #000;border: 1px solid #DBDBDB;background-color: #fff;">重置 | |
| 50 | + style="color: #606266;border: 1px solid #DBDBDB;background-color: #fff;">重置 | |
| 51 | 51 | </el-button> |
| 52 | 52 | </div> |
| 53 | 53 | </div> |
| ... | ... | @@ -284,7 +284,7 @@ |
| 284 | 284 | <el-button @click="addpush('ruleForm')" |
| 285 | 285 | style="background-color: #3F9B6A;color: #fff;">确定</el-button> |
| 286 | 286 | <el-button @click="colse(1)" class="buttonHover" |
| 287 | - style="color: #000;border: 1px solid #DBDBDB;background-color: #fff;">取消</el-button> | |
| 287 | + style="color: #606266;border: 1px solid #DBDBDB;background-color: #fff;">取消</el-button> | |
| 288 | 288 | |
| 289 | 289 | </div> |
| 290 | 290 | |
| ... | ... | @@ -474,7 +474,7 @@ |
| 474 | 474 | :on-success="handleUploadSuccess" :file-list="fileData" :auto-upload="true" |
| 475 | 475 | v-if="fileData.length==0" v-else> |
| 476 | 476 | <el-button style="background-color: #fff;color: #3F9B6A;border: 1px solid #dcdfe6;" |
| 477 | - class="buttonHover" v-if="fileData.length==0">+点击上传</el-button> | |
| 477 | + class="buttonHover" v-if="fileData.length==0 && edit==false">+点击上传</el-button> | |
| 478 | 478 | </el-upload> |
| 479 | 479 | </el-form-item> |
| 480 | 480 | </el-col> |
| ... | ... | @@ -515,11 +515,11 @@ |
| 515 | 515 | </el-tabs> |
| 516 | 516 | <el-row :gutter="20"> |
| 517 | 517 | <el-col :span="12"> |
| 518 | - <div style="margin-top: 20px"> | |
| 518 | + <div style="padding-left:160px;"> | |
| 519 | 519 | <el-button @click="editpush()" style="background-color: #3F9B6A;color: #fff;" |
| 520 | 520 | v-if="!edit">确定</el-button> |
| 521 | 521 | <el-button @click="colse(2)" class="buttonHover" |
| 522 | - style="color: #000;border: 1px solid #DBDBDB;background-color: #fff;">取消</el-button> | |
| 522 | + style="color: #606266;border: 1px solid #DBDBDB;background-color: #fff;">取消</el-button> | |
| 523 | 523 | |
| 524 | 524 | </div> |
| 525 | 525 | |
| ... | ... | @@ -1137,7 +1137,7 @@ |
| 1137 | 1137 | font-size: 14px; |
| 1138 | 1138 | |
| 1139 | 1139 | .el-form-item__label { |
| 1140 | - /* color: #AEAEAE; */ | |
| 1140 | + color: #0006; | |
| 1141 | 1141 | } |
| 1142 | 1142 | } |
| 1143 | 1143 | ... | ... |
admin-web-master/src/views/detect/ziyuanList.vue
| ... | ... | @@ -523,6 +523,7 @@ |
| 523 | 523 | listData: { |
| 524 | 524 | immediate: true, // 立即执行handler函数 |
| 525 | 525 | handler(newVal) { |
| 526 | + this.edit = true | |
| 526 | 527 | this.ruleForm = { ...newVal }; // 使用展开运算符创建新对象,以触发响应式更新 |
| 527 | 528 | if(this.ruleForm.advertisingType){ |
| 528 | 529 | this.changeType(this.ruleForm.advertisingType) | ... | ... |
admin-web-master/src/views/rent/audit/index.vue
| ... | ... | @@ -502,8 +502,8 @@ |
| 502 | 502 | <el-button class="buttonHover" |
| 503 | 503 | style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" |
| 504 | 504 | @click="closeFn(1)">取消</el-button> |
| 505 | - <el-button @click="closemsg" | |
| 506 | - style="background-color: #3F9B6A;color: #fff">删除</el-button> | |
| 505 | + <!-- <el-button @click="closemsg" | |
| 506 | + style="background-color: #3F9B6A;color: #fff">删除</el-button> --> | |
| 507 | 507 | |
| 508 | 508 | </div> |
| 509 | 509 | </div> | ... | ... |
admin-web-master/src/views/scheme/planningBz.vue
| ... | ... | @@ -124,9 +124,9 @@ |
| 124 | 124 | <el-table-column label="操作" min-width="250" > |
| 125 | 125 | <template slot-scope="scope"> |
| 126 | 126 | <div @click="handleEditForm(scope.row,1)" class="tableBtn greens">查看</div> |
| 127 | - <div @click="handleEditForm(scope.row,2)" class="tableBtn greens" v-if="scope.row.reviewStatus == '1'">编辑</div> | |
| 127 | + <div @click="handleEditForm(scope.row,2)" class="tableBtn greens" >编辑</div> | |
| 128 | 128 | <!-- <div class="tableBtn greens">撤回</div> --> |
| 129 | - <div @click="handleDelete(scope.row)" class="tableBtn greens" v-if="scope.row.reviewStatus == '1'">删除</div> | |
| 129 | + <div @click="handleDelete(scope.row)" class="tableBtn greens" >删除</div> | |
| 130 | 130 | </template> |
| 131 | 131 | </el-table-column> |
| 132 | 132 | </el-table> | ... | ... |
admin-web-master/src/views/scheme/sam.vue
| ... | ... | @@ -119,7 +119,7 @@ |
| 119 | 119 | </el-form-item> |
| 120 | 120 | <el-form-item label="策略模板" prop="policyTemplate"> |
| 121 | 121 | <el-select v-model="secondData.policyTemplate" style="width: 87%;margin-right: 15px" disabled> |
| 122 | - <el-option :label="item.policyName" :value="item.id" v-for="(item,index) in tableData" /> | |
| 122 | + <el-option :label="item.policyName" :value="item.id" v-for="(item,index) in modelData" /> | |
| 123 | 123 | </el-select> |
| 124 | 124 | </el-form-item> |
| 125 | 125 | <el-row> |
| ... | ... | @@ -262,6 +262,11 @@ import samXin from "./samXin" |
| 262 | 262 | pageSize: 10, |
| 263 | 263 | isTemplate: '1' |
| 264 | 264 | }, |
| 265 | + Modelpageindex: { | |
| 266 | + pageNumber: 1, | |
| 267 | + pageSize: 10, | |
| 268 | + isTemplate: '0' | |
| 269 | + }, | |
| 265 | 270 | fileList: [], |
| 266 | 271 | paymentDate:[], |
| 267 | 272 | leaseDate:[] |
| ... | ... | @@ -280,9 +285,10 @@ this.getAll() |
| 280 | 285 | //查询全数据 |
| 281 | 286 | async getAll() { |
| 282 | 287 | const res = await ceGetAll(this.pageindex) |
| 283 | - console.log(res) | |
| 284 | 288 | this.tableData = res.data.content |
| 285 | 289 | this.total = res.data.content.length |
| 290 | + const ce = await ceGetAll(this.Modelpageindex) | |
| 291 | + this.modelData = ce.data.content | |
| 286 | 292 | }, |
| 287 | 293 | |
| 288 | 294 | //删除记录按钮 |
| ... | ... | @@ -351,6 +357,7 @@ this.getAll() |
| 351 | 357 | this.ggXin = false |
| 352 | 358 | }, |
| 353 | 359 | closexaing(val){ |
| 360 | + | |
| 354 | 361 | this.xiang = false |
| 355 | 362 | }, |
| 356 | 363 | handleClick() { | ... | ... |
admin-web-master/src/views/scheme/samXin.vue
| ... | ... | @@ -508,28 +508,29 @@ this.getAll() |
| 508 | 508 | this.addMing = true |
| 509 | 509 | }, |
| 510 | 510 | closeFn() { |
| 511 | - this.$emit('childClose', false); | |
| 512 | 511 | this.form = { |
| 513 | - policyName: '', //策略名称 | |
| 514 | - applicableResources: '商铺', //适用资源 | |
| 515 | - policyTemplate: null, //策略模板 | |
| 516 | - isRental: '', //是否出租 (0:否,1:是) | |
| 517 | - isSelfOperated: '', //是否白营 (0: 否, 1: 是) | |
| 518 | - businessType: '', //经营类型 | |
| 519 | - rentalPrice: '', //租金价格 | |
| 520 | - leaseTerm: '', //商铺租期 | |
| 521 | - leaseStartDate: '', //租赁开始日期 | |
| 522 | - leaseEndDate: '', //租赁结束日期 | |
| 523 | - rentFreeCondition: '', //免租条件 | |
| 524 | - rentFreePeriod: '', //免租期(单位:天) | |
| 525 | - paymentTerms: '', //付款条件 | |
| 526 | - paymentStartDate: '', //付款开始日期 | |
| 527 | - paymentEndDate: '', //付款结束日期 | |
| 528 | - createDate: '', //创建时间 | |
| 529 | - isTemplate: '1', //是否为模板(0.是 1.否) | |
| 530 | - } | |
| 531 | - this.paymentDate=[] | |
| 532 | - this.leaseDate = [] | |
| 512 | + policyName: '', //策略名称 | |
| 513 | + applicableResources: '商铺', //适用资源 | |
| 514 | + policyTemplate: null, //策略模板 | |
| 515 | + isRental: '', //是否出租 (0:否,1:是) | |
| 516 | + isSelfOperated: '', //是否白营 (0: 否, 1: 是) | |
| 517 | + businessType: '', //经营类型 | |
| 518 | + rentalPrice: '', //租金价格 | |
| 519 | + leaseTerm: '', //商铺租期 | |
| 520 | + leaseStartDate: '', //租赁开始日期 | |
| 521 | + leaseEndDate: '', //租赁结束日期 | |
| 522 | + rentFreeCondition: '', //免租条件 | |
| 523 | + rentFreePeriod: '', //免租期(单位:天) | |
| 524 | + paymentTerms: '', //付款条件 | |
| 525 | + paymentStartDate: '', //付款开始日期 | |
| 526 | + paymentEndDate: '', //付款结束日期 | |
| 527 | + createDate: '', //创建时间 | |
| 528 | + isTemplate: '1', //是否为模板(0.是 1.否) | |
| 529 | + } | |
| 530 | + this.paymentDate=[] | |
| 531 | + this.leaseDate = [] | |
| 532 | + this.$emit('childClose', false); | |
| 533 | + | |
| 533 | 534 | }, |
| 534 | 535 | MingClose(){ |
| 535 | 536 | this.addMing = false |
| ... | ... | @@ -583,6 +584,27 @@ this.getAll() |
| 583 | 584 | }) |
| 584 | 585 | }else{ |
| 585 | 586 | ceEdit(this.formInline).then(res => { |
| 587 | + this.form = { | |
| 588 | + policyName: '', //策略名称 | |
| 589 | + applicableResources: '商铺', //适用资源 | |
| 590 | + policyTemplate: null, //策略模板 | |
| 591 | + isRental: '', //是否出租 (0:否,1:是) | |
| 592 | + isSelfOperated: '', //是否白营 (0: 否, 1: 是) | |
| 593 | + businessType: '', //经营类型 | |
| 594 | + rentalPrice: '', //租金价格 | |
| 595 | + leaseTerm: '', //商铺租期 | |
| 596 | + leaseStartDate: '', //租赁开始日期 | |
| 597 | + leaseEndDate: '', //租赁结束日期 | |
| 598 | + rentFreeCondition: '', //免租条件 | |
| 599 | + rentFreePeriod: '', //免租期(单位:天) | |
| 600 | + paymentTerms: '', //付款条件 | |
| 601 | + paymentStartDate: '', //付款开始日期 | |
| 602 | + paymentEndDate: '', //付款结束日期 | |
| 603 | + createDate: '', //创建时间 | |
| 604 | + isTemplate: '1', //是否为模板(0.是 1.否) | |
| 605 | + } | |
| 606 | + this.paymentDate=[] | |
| 607 | + this.leaseDate = [] | |
| 586 | 608 | this.addMing = false |
| 587 | 609 | this.getAll() |
| 588 | 610 | }) | ... | ... |