Commit 341f183e21a0afd1097acb6f06afbb6414cbe28e

Authored by 杨鑫
1 parent 0822f2ee

'最新'

Showing 36 changed files with 626 additions and 168 deletions
yanshouban/src/api/fangli.js
... ... @@ -34,3 +34,15 @@ export function fangDel(data) {
34 34 data
35 35 })
36 36 }
  37 +
  38 +// 导入管理模板
  39 +export const excelAdd = (data = {}) => {
  40 + return request({
  41 + url: '/cereBusinessPlan/excelAdd',
  42 + method: 'post',
  43 + data,
  44 + headers: {
  45 + 'Content-type': 'multipart/form-data'
  46 + }
  47 + })
  48 +}
... ...
yanshouban/src/api/manage.js
... ... @@ -85,3 +85,23 @@ export function daoqi(data) {
85 85 data
86 86 })
87 87 }
  88 +// 退租决算打印
  89 +
  90 +export function pdfManagementOfFinalAccountsForRentals(data) {
  91 + return request({
  92 + url: '/cereLeasingInformation/pdfManagementOfFinalAccountsForRentals',
  93 + method: 'post',
  94 + data,
  95 + responseType: 'blob'
  96 + })
  97 +}
  98 +// 续租管理打印
  99 +
  100 +export function pdfLeaseRenewalManagement(data) {
  101 + return request({
  102 + url: '/cereLeasingInformation/pdfLeaseRenewalManagement',
  103 + method: 'post',
  104 + data,
  105 + responseType: 'blob'
  106 + })
  107 +}
... ...
yanshouban/src/api/rentalMan.js
... ... @@ -51,3 +51,13 @@ export function excelLeaseRenewalManagement(data) {
51 51 responseType: 'blob'
52 52 })
53 53 }
  54 +
  55 +// PDF打印
  56 +export function pdfRentOutQueryByPage(data) {
  57 + return request({
  58 + url: '/cereLeasingInformation/pdfRentOutQueryByPage',
  59 + method: 'post',
  60 + data,
  61 + responseType: 'blob'
  62 + })
  63 +}
... ...
yanshouban/src/utils/jiami.js
1 1 // 文本加密
2 2 import { sm4 } from 'sm-crypto';
3   -const DEFAULT_KEY ="cda4442f102f6396cca76902e37ad7cb";
4   -const DEFAULT_IV = "8bd8a83221742166c7532b7275a7fe9c";
  3 +const DEFAULT_KEY ="cda4442f102f6396eea76902e37ad7cb";
  4 +const DEFAULT_IV = "8bd8a83221742111c7532b7275a7fe9c";
5 5 export const encrypt = (str) => {
6 6     if(!str) {
7 7         return ''
... ... @@ -11,7 +11,7 @@ export const encrypt = (str) => {
11 11         mode: 'cbc',
12 12         padding: 'pkcs#7'
13 13         })
14   -    return 'ENC(' + encryptStr + ')'
  14 +    return encryptStr
15 15 }
16 16  
17 17 // 文本解密
... ... @@ -19,12 +19,12 @@ export const decrypt = (str) => {
19 19     if(!str) {
20 20         return ''
21 21     }
22   -    if(str.indexOf('ENC(') === -1) {
23   -        return str
24   -    }
25   -    const str_ = str.replace('ENC(', '').replace(')', '')
  22 +//     if(str.indexOf('ENC(') === -1) {
  23 +//         return str
  24 +//     }
  25 +//     const str_ = str.replace('ENC(', '').replace(')', '')
26 26     try {        
27   -        const decryptStr = sm4.decrypt(str_, DEFAULT_KEY, {
  27 +        const decryptStr = sm4.decrypt(str, DEFAULT_KEY, {
28 28             iv: DEFAULT_IV,
29 29             mode: 'cbc',
30 30             padding: 'pkcs#7'
... ...
yanshouban/src/utils/request.js
... ... @@ -11,9 +11,9 @@ import {
11 11 } from '@/utils/auth'
12 12 const host = window.location.host;
13 13 let PREFIX;
14   -if (host == '172.16.61.48' || host == '172.16.61.49 :5173' || host =='172.16.61.123:9003') {
  14 +if (host == '172.16.61.48' || host == '172.16.61.49:5173' || host =='172.16.61.123:9003') {
15 15 // PREFIX = 'https://jdc.scjysm.asia:1443/meserver/admin-server';
16   - PREFIX = 'https://jy.scjysm.asia:18086/meserver/admin-server';
  16 + PREFIX = 'https://jy.scjysm.asia:18086/admin-server';
17 17 // PREFIX = 'http://172.16.61.126:8080/meserver/admin-server';
18 18 // PREFIX = 'http://172.16.61.48/meserver/admin-server';
19 19 }else if( host == 'localhost:9528' || host == '8.130.38.56:8027' || host == 'localhost:9529'){
... ... @@ -21,14 +21,14 @@ if (host == '172.16.61.48' || host == '172.16.61.49 :5173' || host =='172.16.61.
21 21 // PREFIX = 'http://172.16.61.48/meserver/admin-server';
22 22 // PREFIX = 'http://192.168.2.213:9003';
23 23 // PREFIX = 'http://8.130.38.56:8019/admin-server';
24   - PREFIX = 'http://192.168.8.106:9003';
  24 + PREFIX = 'http://192.168.2.7:9003';
25 25 // PREFIX = 'https://wjdc.scjysm.asia:1443/meserver/admin-server';
26 26 // PREFIX = 'https://jy.scjysm.asia:18086/admin-server';
27 27 // PREFIX = 'http://172.16.61.126:8080/meserver/admin-server';
28 28 // PREFIX = 'https://wjdc.scjysm.asia:1443/meserver/admin-server'
29 29  
30 30 }else{
31   - PREFIX = '/admin-server';
  31 + PREFIX = 'https://jy.scjysm.asia:18086/admin-server';
32 32 }
33 33  
34 34  
... ...
yanshouban/src/views/active/couponlist/component/shopList.vue
... ... @@ -116,7 +116,6 @@ export default {
116 116 search () {
117 117  
118 118 },
119   - // businessListGetAll
120 119 // 初始化查询所有数据
121 120 async getAll(formInline) {
122 121 const res = await businessListGetAll(formInline)
... ... @@ -124,7 +123,7 @@ export default {
124 123 this.tableData = res.data.list
125 124 this.tableData.map(res=>{
126 125 res.shopPhone = this.$decrypt(res.shopPhone)
127   - res.shopPassword = this.$decrypt(res.shopPassword)
  126 + // res.shopPassword = this.$decrypt(res.shopPassword)
128 127 res.idCardNum = this.$decrypt(res.idCardNum)
129 128 res.emailAddress = this.$decrypt(res.emailAddress)
130 129 res.shopAdress = this.$decrypt(res.shopAdress)
... ...
yanshouban/src/views/activity/activityBian.vue
... ... @@ -69,6 +69,16 @@
69 69 </el-form-item>
70 70 </el-col>
71 71 </el-row>
  72 + <el-row :gutter="20">
  73 + <el-col :span="12">
  74 + <el-form-item label="范围设置" class="grid-content bg-purple" prop="sponsor">
  75 + <el-select v-model="secondData.rangeSetting" placeholder="请选择" style="width: 100%">
  76 + <el-option label="活动绿道段内" value="活动绿道段内"></el-option>
  77 + <el-option label="活动场地内" value="活动场地内"></el-option>
  78 + </el-select>
  79 + </el-form-item>
  80 + </el-col>
  81 + </el-row>
72 82 <div style="padding: 10px">
73 83 <el-row :gutter="20">
74 84 <el-col :span="12">
... ...
yanshouban/src/views/activity/activityBz.vue
... ... @@ -88,6 +88,16 @@
88 88 </el-form-item>
89 89 </el-col>
90 90 </el-row>
  91 + <el-row :gutter="20">
  92 + <el-col :span="12">
  93 + <el-form-item label="范围设置" class="grid-content bg-purple" prop="sponsor">
  94 + <el-select v-model="ruleForm.rangeSetting" placeholder="请选择" style="width: 100%">
  95 + <el-option label="活动绿道段内" value="活动绿道段内"></el-option>
  96 + <el-option label="活动场地内" value="活动场地内"></el-option>
  97 + </el-select>
  98 + </el-form-item>
  99 + </el-col>
  100 + </el-row>
91 101 <el-row :gutter="20">
92 102 <el-col :span="12">
93 103 <el-form-item label="活动主要目的" prop="mainPurpose" class="grid-content bg-purple">
... ... @@ -297,7 +307,9 @@
297 307 <div style="display: flex;justify-content: flex-end;padding: 10px 20px 10px 0">
298 308 <el-button @click="close" style="background-color: #3F9B6A;color: #fff;">取消
299 309 </el-button>
300   - <el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff;">确定
  310 + <el-button @click="onSubmit(1)" style="background-color: #3F9B6A;color: #fff;">暂存
  311 + </el-button>
  312 + <el-button @click="onSubmit(0)" style="background-color: #3F9B6A;color: #fff;">确定
301 313 </el-button>
302 314 </div>
303 315 </div>
... ... @@ -393,6 +405,7 @@
393 405 eventTheme: '', //活动主题
394 406 sponsor: '', //活动主办方
395 407 participants: '', //活动参与方
  408 + rangeSetting:'',
396 409 mainPurpose: '', //活动主要目的
397 410 coverPoster: '', //封面海报
398 411 internalLaborCostEstimation: '', //内部人工成本预估
... ... @@ -558,7 +571,7 @@
558 571  
559 572 },
560 573 //保存
561   - onSubmit() {
  574 + onSubmit(val) {
562 575 // pdf.save('output.pdf')
563 576 let that = this
564 577 let FlieName = this.ruleForm.planName
... ... @@ -614,6 +627,7 @@
614 627 // }
615 628 this.$refs.jibenFrom.validate((valid) => {
616 629 if (valid) {
  630 + this.ruleForm.isDraft = val
617 631 add(this.ruleForm).then(res => {
618 632 this.$message({
619 633 message: '保存成功',
... ... @@ -735,6 +749,7 @@
735 749 eventTheme: '', //活动主题
736 750 sponsor: '', //活动主办方
737 751 participants: '', //活动参与方
  752 + rangeSetting:'',
738 753 mainPurpose: '', //活动主要目的
739 754 coverPoster: '', //封面海报
740 755 internalLaborCostEstimation: '', //内部人工成本预估
... ...
yanshouban/src/views/activity/activitySp.vue
... ... @@ -664,6 +664,7 @@
664 664 pageNumber: 1,
665 665 pageSize: 10,
666 666 dataOwnership: '1',
  667 + isDraft:0
667 668 },
668 669 multipleSelection: [],
669 670 options: [{
... ...
yanshouban/src/views/activity/index.vue
... ... @@ -548,15 +548,14 @@
548 548  
549 549 </el-row>
550 550 <el-row :gutter="20">
551   - <el-col :span="8">
  551 + <el-col :span="24">
552 552 <el-form-item label="反馈内容" class="grid-content bg-purple" prop="name">
553 553 <el-upload class="upload-demo" ref="upload" :on-remove="handleRemove"
554 554 :action="uploadFileUrl" :on-success="handleUploadSuccess" :file-list="fileData"
555   - :show-file-list="false" v-if="zhixingBian">
556   - <div style="color: #2d8a58;margin-left: 10px;" slot="trigger">
557   - 上传附件
558   - </div>
  555 + :show-file-list="true" v-if="zhixingBian">
  556 + <el-button style="background-color: #fff;color: #3F9B6A;border: 1px solid #dcdfe6;" class="buttonHover" v-if="fileData.length==0">+点击上传</el-button>
559 557 </el-upload>
  558 + <div v-else>{{zhixingList.feedbackContent}}</div>
560 559 </el-form-item>
561 560 </el-col>
562 561  
... ... @@ -1111,9 +1110,8 @@
1111 1110 </el-table-column>
1112 1111 <el-table-column label="操作" width="350">
1113 1112 <template slot-scope="scope">
1114   - <div @click="shiyong(1,scope.row)" class="tableBtn greens">使用</div>
1115   - <div class="tableBtn greens" @click="handleEditForm(scope.row)">执行情况</div>
1116   - <div @click="actBian(scope.row)" class="tableBtn greens" v-if="scope.row.state == ''">修改</div>
  1113 + <div @click="shiyong(scope.row)" class="tableBtn greens">使用</div>
  1114 + <!-- <div @click="actBian(scope.row)" class="tableBtn greens" v-if="scope.row.state == ''">修改</div> -->
1117 1115 <div @click="handleDelete(scope.row)" class="tableBtn greens">删除</div>
1118 1116 </template>
1119 1117 </el-table-column>
... ... @@ -1232,9 +1230,11 @@
1232 1230 text: '活动主要目的',
1233 1231 eventTheme: ''
1234 1232 }, {
1235   - id: '5',
1236   - name: '状态',
1237   - eventTheme: '待审核'
  1233 + id: 0,
  1234 + name: '范围设置',
  1235 + planName: '',
  1236 + text: '状态',
  1237 + eventTheme: ''
1238 1238 }],
1239 1239 internalLaborCostEstimation: '',
1240 1240 externalLaborCostEstimation: '',
... ... @@ -1309,11 +1309,13 @@
1309 1309 expectedDirectBenefits: '', //直接收益
1310 1310 expectedIndirectBenefits: '', //间接收益
1311 1311 createDate: '', //创建时间
  1312 + feedbackContent:''
1312 1313 }, //执行效果列表
1313 1314 pageindex: {
1314 1315 pageNumber: 1,
1315 1316 pageSize: 10,
1316   - dataOwnership: '1'
  1317 + dataOwnership: '1',
  1318 + isDraft:0
1317 1319 },
1318 1320 multipleSelection: [],
1319 1321 options: [],
... ... @@ -1416,7 +1418,8 @@
1416 1418 pageNumber: 1,
1417 1419 pageSize: 10,
1418 1420 dataOwnership: '1',
1419   - classificationCode:data.id
  1421 + classificationCode:data.id,
  1422 + isDraft:0
1420 1423 }
1421 1424 const res = await queryByPage(pageindex)
1422 1425 this.tableData = res.data.content
... ... @@ -1426,7 +1429,8 @@
1426 1429 this.pageindex={
1427 1430 pageNumber: 1,
1428 1431 pageSize: 10,
1429   - dataOwnership: '1'
  1432 + dataOwnership: '1',
  1433 + isDraft:0
1430 1434 }
1431 1435 const res = await queryByPage(this.pageindex)
1432 1436 this.tableData = res.data.content
... ... @@ -1476,6 +1480,7 @@
1476 1480 dataOwnership: '1',
1477 1481 pageNumber: 1,
1478 1482 pageSize: 10,
  1483 + auditTime:0
1479 1484 })
1480 1485 this.tableData = res.data.content
1481 1486 } else if (this.planName == '' && this.eventTheme != '') {
... ... @@ -1484,6 +1489,7 @@
1484 1489 dataOwnership: '1',
1485 1490 pageNumber: 1,
1486 1491 pageSize: 10,
  1492 + auditTime:0
1487 1493 })
1488 1494 this.tableData = res.data.content
1489 1495 } else {
... ... @@ -1493,6 +1499,7 @@
1493 1499 dataOwnership: '1',
1494 1500 pageNumber: 1,
1495 1501 pageSize: 10,
  1502 + auditTime:0
1496 1503 })
1497 1504 this.tableData = res.data.content
1498 1505 }
... ... @@ -1500,6 +1507,7 @@
1500 1507 },
1501 1508 //详情点击
1502 1509 handleEditForm(item) {
  1510 + this.fileData = []
1503 1511 this.zhixingList = {
1504 1512 planTime:[],
1505 1513 planName: '', //活动名称
... ... @@ -1521,6 +1529,7 @@
1521 1529 expectedDirectBenefits: '', //直接收益
1522 1530 expectedIndirectBenefits: '', //间接收益
1523 1531 createDate: '', //创建时间
  1532 + feedbackContent:''
1524 1533 } //执行效果列表
1525 1534 actPage({
1526 1535 detailsId: item.id,
... ... @@ -1585,8 +1594,8 @@
1585 1594 that.tableData1[2].planName = res.data.content[0].sponsor
1586 1595 that.tableData1[3].eventTheme = res.data.content[0].participants
1587 1596 that.tableData1[3].planName = res.data.content[0].mainPurpose
1588   -
1589   - that.tableData1[4].eventTheme = this.getStatus(res.data.content[0].state)
  1597 + that.tableData1[4].planName = this.getStatus(res.data.content[0].state)
  1598 + that.tableData1[4].eventTheme = res.data.content[0].rangeSetting
1590 1599 //活动成本信息
1591 1600 that.internalLaborCostEstimation = res.data.content[0].internalLaborCostEstimation
1592 1601 that.externalLaborCostEstimation = res.data.content[0].externalLaborCostEstimation
... ... @@ -1661,6 +1670,9 @@
1661 1670 },
1662 1671 //执行效果保存
1663 1672 async bianji() {
  1673 + if(this.fileData.length !=0){
  1674 + this.zhixingList.feedbackContent = this.fileData[0].url
  1675 + }
1664 1676 if (this.zhiXing) {
1665 1677 this.zhixingList.eventStartTime = this.zhixingList.planTime[0]
1666 1678 this.zhixingList.eventEndTime = this.zhixingList.planTime[1]
... ... @@ -2115,11 +2127,15 @@
2115 2127  
2116 2128 },
2117 2129 handleUploadSuccess(response, file, fileList) {
2118   - console.log(response, file, fileList)
2119   - // this.fileData.push(file)
  2130 + const fileMsg = {
  2131 + name:file.name,
  2132 + url: file.response.data.url,
  2133 + }
  2134 + // 将文件地址存储在 uploadedFiles 数组中
  2135 + this.fileData.push(fileMsg);
2120 2136 },
2121 2137 handleRemove(){
2122   -
  2138 + this.fileData = []
2123 2139 },
2124 2140 daoru(){
2125 2141  
... ... @@ -2130,7 +2146,8 @@
2130 2146 let pageindex = {
2131 2147 pageNumber: 1,
2132 2148 pageSize: 10,
2133   - dataOwnership: '1'
  2149 + dataOwnership: '1',
  2150 + isDraft:1
2134 2151 }
2135 2152 queryByPage(pageindex).then(res=>{
2136 2153 this.caoList = res.data.content
... ... @@ -2138,7 +2155,7 @@
2138 2155 this.caogaoshow =true
2139 2156  
2140 2157 },
2141   - shiyong(val,item){
  2158 + shiyong(item){
2142 2159  
2143 2160 const h = this.$createElement;
2144 2161 this.$msgbox({
... ... @@ -2153,14 +2170,14 @@
2153 2170 customClass: 'oe-dialog-btn',
2154 2171 beforeClose: (action, instance, done) => {
2155 2172 if (action === 'confirm') {
2156   - // contentEdit({
2157   - // id: item.id,
2158   - // draftStatus:1
2159   - // }).then(res => {
2160   - // this.getAll()
2161   - // this.getcaogao()
2162   - // done();
2163   - // })
  2173 + xiangedit({
  2174 + id:item.id,
  2175 + isDraft:0
  2176 + }).then(res => {
  2177 + this.getAll()
  2178 + this.caogao()
  2179 + done();
  2180 + })
2164 2181 } else {
2165 2182 done();
2166 2183 }
... ...
yanshouban/src/views/ads/fangli/index.vue
... ... @@ -44,11 +44,15 @@
44 44 @click="addbuss"
45 45 >新增</el-button
46 46 >
47   - <!-- <el-button
  47 + <!-- <el-upload class="upload-demo" ref="upload"
  48 + :action="action" :on-success="daoru" :file-list="fileData"
  49 + :auto-upload="true">
  50 + <el-button style="background-color: #fff;color: #3F9B6A;border: 1px solid #dcdfe6;" class="buttonHover">导入</el-button>
  51 + </el-upload> -->
  52 + <!-- <el-button
48 53 style="background-color: #3F9B6A;color: #fff;padding:8px 15px;"
49 54 @click="daoru"
50   - >导入</el-button
51   - > -->
  55 + >导入</el-button> -->
52 56 </div>
53 57 <!-- 表格 -->
54 58 <el-table
... ... @@ -171,10 +175,10 @@
171 175 <div class="tableBtn greens" v-if="scope.row.auditStatus =='1'" @click="peizhi(scope.row)">
172 176 审核流程配置
173 177 </div>
174   - <div class="tableBtn greens" v-if="scope.row.enableStatus== 1 &&scope.row.auditStatus =='2'" @click="qiyong(scope.row,0)">
  178 + <div class="tableBtn greens" v-if="scope.row.enableStatus== 1 || scope.row.enableStatus == null &&scope.row.auditStatus =='2'" @click="qiyong(scope.row,0)">
175 179 启用
176 180 </div>
177   - <div class="tableBtn greens" v-if="scope.row.enableStatus == 0 &&scope.row.auditStatus =='2' " @click="qiyong(scope.row,1)">
  181 + <div class="tableBtn greens" v-if="scope.row.enableStatus == 0 &&scope.row.auditStatus =='2' " @click="qiyong(scope.row,1)">
178 182 禁用
179 183 </div>
180 184 <div class="tableBtn greens" @click="delGuan(scope.row)" >
... ... @@ -199,22 +203,22 @@
199 203 </div>
200 204 </div>
201 205 </div>
202   - <el-dialog :visible.sync="peiShow" custom-class='bian_css' style="padding: 0;" width="75%"
  206 + <el-dialog :visible.sync="peiShow" custom-class='bian_css' style="padding: 0;" width="45%"
203 207 :close-on-press-escape="false" center :close-on-click-modal="false" class="dialog_css_Xq" :show-close="false">
204 208 <div style="padding:20px;">
205   - <el-form label-position="right" ref="jibenFrom" :model="peiForm" :rules="peiFormRules" label-width="140px"
  209 + <div style="font-size: 14px;padding-bottom: 20px;color: #000;">审核流程配置</div>
  210 + <el-form label-position="right" ref="jibenFrom" :model="peiForm" label-width="140px"
206 211 style="position: relative">
207 212 <el-form-item label="审核提醒时间" class="grid-content bg-purple device-from" prop="planName">
208   - <el-date-picker style="width:160px;margin-right:5px" v-model="peiForm.auditTime"
209   - value-format="yyyy-M-d" type="daterange" range-separator="-" start-placeholder=""
210   - end-placeholder="" prefix-icon="none" >
  213 + <el-date-picker style="width:240px;margin-right:5px" v-model="peiForm.auditTime"
  214 + value-format="yyyy-MM-dd HH:mm:ss" type="datetime" prefix-icon="none" >
211 215 </el-date-picker>
212 216 </el-form-item>
213 217 </el-form>
214 218 <div style="padding-top:20px;display:flex;justify-content: flex-end;">
215   - <el-button class="buttonHover" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;"
  219 + <el-button style="background-color: #3F9B6A;color: #fff"
216 220 @click="peiCheck">确定</el-button>
217   - <el-button @click="peiShow = false" style="background-color: #3F9B6A;color: #fff">取消</el-button>
  221 + <el-button @click="peiShow = false" style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" class="buttonHover">取消</el-button>
218 222  
219 223 </div>
220 224  
... ... @@ -247,8 +251,8 @@ import {
247 251 fangAdd,
248 252 fangEdit,
249 253 fangDel,
  254 + excelAdd
250 255 }from '../../../api/fangli'
251   -
252 256 import upimg from "@/components/ImageUpload/index"
253 257 import addxin from "./addform"
254 258 import xiang from "./bianform"
... ... @@ -256,6 +260,7 @@ export default {
256 260 components: {upimg,addxin,xiang},
257 261 data() {
258 262 return {
  263 + fileData:[],
259 264 detbox: false, // 详情
260 265 edit: true, // 编辑
261 266 formInline: {
... ... @@ -550,6 +555,12 @@ export default {
550 555 this.peiShow = true
551 556 this.peiId = item.id
552 557 },
  558 + daoru(file){
  559 + // const fileMsg = {
  560 + // name:file.name,
  561 + // url: file.response.data.url,
  562 + // }
  563 + },
553 564 }
554 565 }
555 566 </script>
... ...
yanshouban/src/views/advertisement/advertisingReview/advertisingReview.vue
... ... @@ -943,7 +943,15 @@ this.pageindex.advertisingSpaceType =&#39;实体广告位&#39;
943 943 this.tableData = res.data.content
944 944 this.total = res.data.content.length
945 945 this.xxNum = res.data.content.length
946   -
  946 + this.tableData.map(res=>{
  947 + res.lesseeName = this.$decrypt(res.lesseeName)
  948 + res.contactPhone = this.$decrypt(res.contactPhone)
  949 + res.idCardNumber = this.$decrypt(res.idCardNumber)
  950 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  951 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  952 + res.address = this.$decrypt(res.address)
  953 + res.emailAddress = this.$decrypt(res.emailAddress)
  954 + })
947 955 const stList = await AdvertiserInfoGetAll(pageindex)
948 956 this.stNum = stList.data.content.length
949 957  
... ... @@ -957,7 +965,15 @@ this.pageindex.advertisingSpaceType =&#39;实体广告位&#39;
957 965 this.tableData = res.data.content
958 966 this.total = res.data.content.length
959 967 this.stNum = res.data.content.length
960   -
  968 + this.tableData.map(res=>{
  969 + res.lesseeName = this.$decrypt(res.lesseeName)
  970 + res.contactPhone = this.$decrypt(res.contactPhone)
  971 + res.idCardNumber = this.$decrypt(res.idCardNumber)
  972 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  973 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  974 + res.address = this.$decrypt(res.address)
  975 + res.emailAddress = this.$decrypt(res.emailAddress)
  976 + })
961 977 const stList = await AdvertiserInfoGetAll(pageindex)
962 978 this.xxNum = stList.data.content.length
963 979 }
... ... @@ -1008,6 +1024,15 @@ this.pageindex.advertisingSpaceType =&#39;实体广告位&#39;
1008 1024 this.tableData = res.data.content
1009 1025 this.total = res.data.content.length
1010 1026 this.xxNum = res.data.content.length
  1027 + this.tableData.map(res=>{
  1028 + res.lesseeName = this.$decrypt(res.lesseeName)
  1029 + res.contactPhone = this.$decrypt(res.contactPhone)
  1030 + res.idCardNumber = this.$decrypt(res.idCardNumber)
  1031 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  1032 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  1033 + res.address = this.$decrypt(res.address)
  1034 + res.emailAddress = this.$decrypt(res.emailAddress)
  1035 + })
1011 1036 let pageindex={
1012 1037 pageNumber: 1,
1013 1038 pageSize: 10,
... ... @@ -1023,6 +1048,15 @@ this.pageindex.advertisingSpaceType =&#39;实体广告位&#39;
1023 1048 this.tableData = res.data.content
1024 1049 this.total = res.data.content.length
1025 1050 this.stNum = res.data.content.length
  1051 + this.tableData.map(res=>{
  1052 + res.lesseeName = this.$decrypt(res.lesseeName)
  1053 + res.contactPhone = this.$decrypt(res.contactPhone)
  1054 + res.idCardNumber = this.$decrypt(res.idCardNumber)
  1055 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  1056 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  1057 + res.address = this.$decrypt(res.address)
  1058 + res.emailAddress = this.$decrypt(res.emailAddress)
  1059 + })
1026 1060 let pageindex={
1027 1061 pageNumber: 1,
1028 1062 pageSize: 10,
... ...
yanshouban/src/views/atmosphere/atmosphereBian.vue
... ... @@ -66,6 +66,17 @@
66 66 </el-form-item>
67 67 </el-col>
68 68 </el-row>
  69 + <el-row :gutter="20">
  70 + <el-col :span="8">
  71 + <el-form-item label="范围设置" class="grid-content bg-purple" prop="sponsor">
  72 + <el-select v-model="secondData.rangeSetting" placeholder="请选择" style="width: 100%">
  73 + <el-option label="活动绿道段内" value="活动绿道段内"></el-option>
  74 + <el-option label="活动场地内" value="活动场地内"></el-option>
  75 + </el-select>
  76 + </el-form-item>
  77 + </el-col>
  78 +
  79 + </el-row>
69 80 <div style="padding: 10px">
70 81 <el-row :gutter="20">
71 82 <el-form-item label="活动封面海报" prop="cover_poster" class="grid-content bg-purple">
... ...
yanshouban/src/views/atmosphere/atmosphereBz.vue
... ... @@ -91,7 +91,16 @@
91 91 </el-form-item>
92 92 </el-col>
93 93 </el-row>
94   -
  94 +<el-row :gutter="20">
  95 + <el-col :span="12">
  96 + <el-form-item label="范围设置" class="grid-content bg-purple" prop="sponsor">
  97 + <el-select v-model="ruleForm.rangeSetting" placeholder="请选择" style="width: 100%">
  98 + <el-option label="活动绿道段内" value="活动绿道段内"></el-option>
  99 + <el-option label="活动场地内" value="活动场地内"></el-option>
  100 + </el-select>
  101 + </el-form-item>
  102 + </el-col>
  103 + </el-row>
95 104 <el-row :gutter="20">
96 105 <el-col :span="12">
97 106 <el-form-item label="活动封面海报" prop="cover_poster" class="grid-content bg-purple">
... ... @@ -297,12 +306,14 @@
297 306 </el-tab-pane>
298 307 </el-tabs>
299 308 <div style="display: flex;justify-content: flex-end;padding: 10px 20px 10px 0">
300   - <el-button plain @click="onSubmit" size="mini" style="background-color: #3F9B6A;color: #fff;">保存
301   - </el-button>
302   - <!-- <el-button plain @click="zancun" size="mini" style="background-color: #3F9B6A;color: #fff;">暂存
303   - </el-button> -->
304   - <el-button plain @click="close" size="mini" style="background-color: #3F9B6A;color: #fff;">取消
  309 + <el-button plain @click="close" size="mini" style="background-color: #3F9B6A;color: #fff;">取消
  310 + </el-button>
  311 + <el-button @click="onSubmit(1)" style="background-color: #3F9B6A;color: #fff;">暂存
  312 + </el-button>
  313 + <el-button plain @click="onSubmit(0)" size="mini" style="background-color: #3F9B6A;color: #fff;">保存
305 314 </el-button>
  315 +
  316 +
306 317 </div>
307 318 </div>
308 319  
... ... @@ -393,6 +404,7 @@ uploadFileUrl: uploadUrl, // 请求地址
393 404 eventTheme:'',//活动主题
394 405 sponsor:'',//活动主办方
395 406 participants:'',//活动参与方
  407 + rangeSetting:'',
396 408 mainPurpose:'',//活动主要目的
397 409 coverPoster:'',//封面海报
398 410 internalLaborCostEstimation:'',//内部人工成本预估
... ... @@ -504,7 +516,7 @@ uploadFileUrl: uploadUrl, // 请求地址
504 516 // }
505 517 },
506 518 //保存
507   - onSubmit(){
  519 + onSubmit(val){
508 520 this.updateCurrentTime();
509 521 let that = this
510 522 let FlieName = this.ruleForm.planName
... ... @@ -559,6 +571,7 @@ uploadFileUrl: uploadUrl, // 请求地址
559 571 // }
560 572 this.$refs.jibenFrom.validate((valid) => {
561 573 if (valid) {
  574 + this.ruleForm.isDraft = val
562 575 add(this.ruleForm).then(res=>{
563 576 this.$message({
564 577 message: '保存成功',
... ... @@ -681,6 +694,7 @@ this.tuxiangData = {
681 694 eventTheme: '', //活动主题
682 695 sponsor: '', //活动主办方
683 696 participants: '', //活动参与方
  697 + rangeSetting:'',
684 698 mainPurpose: '', //活动主要目的
685 699 coverPoster: '', //封面海报
686 700 internalLaborCostEstimation: '', //内部人工成本预估
... ...
yanshouban/src/views/atmosphere/atmosphereGl.vue
... ... @@ -541,15 +541,14 @@
541 541  
542 542 </el-row>
543 543 <el-row :gutter="20">
544   - <el-col :span="8">
  544 + <el-col :span="24">
545 545 <el-form-item label="反馈内容" class="grid-content bg-purple" prop="name">
546 546 <el-upload class="upload-demo" ref="upload" :on-remove="handleRemove"
547 547 :action="uploadFileUrl" :on-success="handleUploadSuccess" :file-list="fileData"
548   - :show-file-list="false" v-if="zhixingBian">
549   - <div style="color: #2d8a58;margin-left: 10px;" slot="trigger">
550   - 上传附件
551   - </div>
  548 + :show-file-list="true" v-if="zhixingBian">
  549 + <el-button style="background-color: #fff;color: #3F9B6A;border: 1px solid #dcdfe6;" class="buttonHover" v-if="fileData.length==0">+点击上传</el-button>
552 550 </el-upload>
  551 + <div v-else>{{zhixingList.feedbackContent}}</div>
553 552 </el-form-item>
554 553 </el-col>
555 554  
... ... @@ -1106,9 +1105,8 @@
1106 1105 </el-table-column>
1107 1106 <el-table-column label="操作" width="350">
1108 1107 <template slot-scope="scope">
1109   - <div @click="shiyong(1,scope.row)" class="tableBtn greens">使用</div>
1110   - <div class="tableBtn greens" @click="handleEditForm(scope.row)">执行情况</div>
1111   - <div @click="actBian(scope.row)" class="tableBtn greens" v-if="scope.row.state == ''">修改</div>
  1108 + <div @click="shiyong(scope.row)" class="tableBtn greens">使用</div>
  1109 + <!-- <div @click="actBian(scope.row)" class="tableBtn greens" v-if="scope.row.state == ''">修改</div> -->
1112 1110 <div @click="handleDelete(scope.row)" class="tableBtn greens">删除</div>
1113 1111 </template>
1114 1112 </el-table-column>
... ... @@ -1222,9 +1220,11 @@ components: { addAct,atmbians},
1222 1220 text: '活动主要目的',
1223 1221 eventTheme: ''
1224 1222 },{
1225   - id: '5',
1226   - name: '状态',
1227   - eventTheme: '待审核'
  1223 + id:0,
  1224 + name: '范围设置',
  1225 + planName: '',
  1226 + text: '状态',
  1227 + eventTheme: ''
1228 1228 }],
1229 1229 internalLaborCostEstimation:'',
1230 1230 externalLaborCostEstimation:'',
... ... @@ -1304,7 +1304,8 @@ components: { addAct,atmbians},
1304 1304 pageindex: {
1305 1305 pageNumber: 1,
1306 1306 pageSize: 10,
1307   - dataOwnership:'2'
  1307 + dataOwnership:'2',
  1308 + isDraft:0
1308 1309 },
1309 1310 multipleSelection:[],//选择的数据
1310 1311 options: [],
... ... @@ -1377,7 +1378,7 @@ components: { addAct,atmbians},
1377 1378 //查询全数据
1378 1379 async getAll() {
1379 1380 const res = await queryByPage((this.pageindex))
1380   - console.log(res.data)
  1381 +
1381 1382 this.tableData = res.data.content
1382 1383 this.total = res.data.content.length
1383 1384 let page = {
... ... @@ -1407,12 +1408,13 @@ components: { addAct,atmbians},
1407 1408 }));
1408 1409 },
1409 1410 async handleNodeClick(data){
1410   - console.log('Node clicked:', data);
  1411 +
1411 1412 let pageindex= {
1412 1413 pageNumber: 1,
1413 1414 pageSize: 10,
1414 1415 dataOwnership: '2',
1415   - classificationCode:data.id
  1416 + classificationCode:data.id,
  1417 + isDraft:0
1416 1418 }
1417 1419 const res = await queryByPage(pageindex)
1418 1420 this.tableData = res.data.content
... ... @@ -1422,7 +1424,8 @@ components: { addAct,atmbians},
1422 1424 this.pageindex={
1423 1425 pageNumber: 1,
1424 1426 pageSize: 10,
1425   - dataOwnership: '2'
  1427 + dataOwnership: '2',
  1428 + isDraft:0
1426 1429 }
1427 1430 const res = await queryByPage(this.pageindex)
1428 1431 this.tableData = res.data.content
... ... @@ -1497,7 +1500,9 @@ components: { addAct,atmbians},
1497 1500 },
1498 1501 //执行效果保存
1499 1502 async bianji() {
1500   - console.log(this.zhiXing)
  1503 + if(this.fileData.length !=0){
  1504 + this.zhixingList.feedbackContent = this.fileData[0].url
  1505 + }
1501 1506 if(this.zhiXing){
1502 1507 this.zhixingList.eventStartTime = this.zhixingList.planTime[0]
1503 1508 this.zhixingList.eventEndTime=this.zhixingList.planTime[1]
... ... @@ -1519,6 +1524,7 @@ components: { addAct,atmbians},
1519 1524 },
1520 1525 //详情点击
1521 1526 handleEditForm(item) {
  1527 + this.fileData = []
1522 1528 this.zhixingList={
1523 1529 planTime: [],
1524 1530 planName: '', //活动名称
... ... @@ -1600,8 +1606,8 @@ components: { addAct,atmbians},
1600 1606 that.tableData1[2].planName = res.data.content[0].sponsor
1601 1607 that.tableData1[3].eventTheme = res.data.content[0].participants
1602 1608 that.tableData1[3].planName = res.data.content[0].mainPurpose
1603   - // that.tableData1[4].eventTheme = res.data.content[0].state
1604   - that.tableData1[4].eventTheme = this.getStatus(res.data.content[0].state)
  1609 + that.tableData1[4].planName = this.getStatus(res.data.content[0].state)
  1610 + that.tableData1[4].eventTheme = res.data.content[0].rangeSetting
1605 1611 //活动成本信息
1606 1612 that.internalLaborCostEstimation=res.data.content[0].internalLaborCostEstimation
1607 1613 that.externalLaborCostEstimation=res.data.content[0].externalLaborCostEstimation
... ... @@ -2079,11 +2085,15 @@ that.expectedAttractTraffic=res.data.content[0].expectedAttractTraffic
2079 2085  
2080 2086 },
2081 2087 handleUploadSuccess(response, file, fileList) {
2082   - console.log(response, file, fileList)
2083   - // this.fileData.push(file)
  2088 + const fileMsg = {
  2089 + name:file.name,
  2090 + url: file.response.data.url,
  2091 + }
  2092 + // 将文件地址存储在 uploadedFiles 数组中
  2093 + this.fileData.push(fileMsg);
2084 2094 },
2085 2095 handleRemove(){
2086   -
  2096 +this.fileData=[]
2087 2097 },
2088 2098 daoru(){
2089 2099  
... ... @@ -2092,7 +2102,8 @@ that.expectedAttractTraffic=res.data.content[0].expectedAttractTraffic
2092 2102 let pageindex = {
2093 2103 pageNumber: 1,
2094 2104 pageSize: 10,
2095   - dataOwnership: '2'
  2105 + dataOwnership: '2',
  2106 + isDraft:1
2096 2107 }
2097 2108 queryByPage(pageindex).then(res=>{
2098 2109 this.caoList = res.data.content
... ... @@ -2100,7 +2111,7 @@ that.expectedAttractTraffic=res.data.content[0].expectedAttractTraffic
2100 2111 this.caogaoshow =true
2101 2112  
2102 2113 },
2103   - shiyong(val,item){
  2114 + shiyong(item){
2104 2115  
2105 2116 const h = this.$createElement;
2106 2117 this.$msgbox({
... ... @@ -2115,14 +2126,15 @@ that.expectedAttractTraffic=res.data.content[0].expectedAttractTraffic
2115 2126 customClass: 'oe-dialog-btn',
2116 2127 beforeClose: (action, instance, done) => {
2117 2128 if (action === 'confirm') {
2118   - // contentEdit({
2119   - // id: item.id,
2120   - // draftStatus:1
2121   - // }).then(res => {
2122   - // this.getAll()
2123   - // this.getcaogao()
2124   - // done();
2125   - // })
  2129 + xiangedit({
  2130 + id: item.id,
  2131 + draftStatus:1,
  2132 + isDraft:0
  2133 + }).then(res => {
  2134 + this.getAll()
  2135 + this.caogao()
  2136 + done();
  2137 + })
2126 2138 } else {
2127 2139 done();
2128 2140 }
... ...
yanshouban/src/views/atmosphere/atmosphereSp.vue
... ... @@ -912,7 +912,8 @@
912 912 pageindex: {
913 913 pageNumber: 1,
914 914 pageSize: 10,
915   - dataOwnership: '2'
  915 + dataOwnership: '2',
  916 + isDraft:0
916 917 },
917 918 multipleSelection: [],
918 919 options: [{
... ...
yanshouban/src/views/business/autd/index.vue
... ... @@ -450,7 +450,7 @@ export default {
450 450 this.total = res.data.total
451 451 this.tableData.map(res=>{
452 452 res.shopPhone = this.$decrypt(res.shopPhone)
453   - res.shopPassword = this.$decrypt(res.shopPassword)
  453 + // res.shopPassword = this.$decrypt(res.shopPassword)
454 454 res.emailAddress = this.$decrypt(res.emailAddress)
455 455 res.idCardNum = this.$decrypt(res.idCardNum)
456 456 })
... ...
yanshouban/src/views/business/businessList/index.vue
... ... @@ -899,8 +899,7 @@ export default {
899 899 addCheck (ruleForm) {
900 900 this.$refs[ruleForm].validate(valid => {
901 901 if (valid) {
902   - console.log(this.userState)
903   - console.log(this.ruleForm)
  902 +
904 903 // if (this.personPhone !== '') {
905 904 // this.ruleForm.chargePersonPhone = this.personPhone
906 905 // }
... ... @@ -1052,21 +1051,25 @@ export default {
1052 1051  
1053 1052 })
1054 1053 },
1055   - // businessListGetAll
  1054 +
1056 1055 // 初始化查询所有数据
1057   - async getAll (formInline) {
  1056 + async getAll(formInline) {
1058 1057 const res = await businessListGetAll(formInline)
1059 1058 this.total = res.data.total
1060 1059 this.tableData = res.data.list
1061   - this.tableData.map(res=>{
1062   - res.shopPhone = this.$decrypt(res.shopPhone)
1063   - res.shopPassword = this.$decrypt(res.shopPassword)
1064   - res.idCardNum = this.$decrypt(res.idCardNum)
1065   - res.emailAddress = this.$decrypt(res.emailAddress)
1066   - res.shopAdress = this.$decrypt(res.shopAdress)
1067   - res.legalRepresentative = this.$decrypt(res.legalRepresentative)
1068   - res.chargePersonPhone = this.$decrypt(res.chargePersonPhone)
  1060 +
  1061 + this.tableData.map(item=>{
  1062 +
  1063 + item.shopPhone = this.$decrypt(item.shopPhone)
  1064 + item.shopPassword = this.$decrypt(item.shopPassword)
  1065 + item.idCardNum = this.$decrypt(item.idCardNum)
  1066 + item.emailAddress = this.$decrypt(item.emailAddress)
  1067 + item.shopAdress = this.$decrypt(item.shopAdress)
  1068 + item.legalRepresentative = this.$decrypt(item.legalRepresentative)
  1069 + item.chargePersonPhone = this.$decrypt(item.chargePersonPhone)
  1070 +
1069 1071 })
  1072 +
1070 1073 },
1071 1074 // 编辑号码
1072 1075 inputPhone () {
... ...
yanshouban/src/views/couponmanagement/coupon.vue
... ... @@ -226,7 +226,7 @@
226 226 this.shopList = res1.data.list
227 227 this.shopList.map(res=>{
228 228 res.shopPhone = this.$decrypt(res.shopPhone)
229   - res.shopPassword = this.$decrypt(res.shopPassword)
  229 + // res.shopPassword = this.$decrypt(res.shopPassword)
230 230 res.idCardNum = this.$decrypt(res.idCardNum)
231 231 res.emailAddress = this.$decrypt(res.emailAddress)
232 232 res.shopAdress = this.$decrypt(res.shopAdress)
... ...
yanshouban/src/views/customer/icManagement/index.vue
... ... @@ -507,6 +507,14 @@
507 507 const res = await icManAll(this.pageindex);
508 508 this.tableData = res.data.content
509 509 this.total = res.data.content.length
  510 + this.tableData.map(res=>{
  511 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  512 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  513 + res.address = this.$decrypt(res.address)
  514 + res.emailAddress = this.$decrypt(res.emailAddress)
  515 + res.contactName = this.$decrypt(res.contactName)
  516 + res.contactPhone = this.$decrypt(res.contactPhone)
  517 + })
510 518 },
511 519 // 编辑确认
512 520 async msgeditS() {
... ... @@ -610,6 +618,14 @@
610 618 const res = await icManAll(this.formSel)
611 619 this.tableData = res.data.content
612 620 this.total = res.data.content.length
  621 + this.tableData.map(res=>{
  622 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  623 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  624 + res.address = this.$decrypt(res.address)
  625 + res.emailAddress = this.$decrypt(res.emailAddress)
  626 + res.contactName = this.$decrypt(res.contactName)
  627 + res.contactPhone = this.$decrypt(res.contactPhone)
  628 + })
613 629 },
614 630  
615 631 // 详情点击
... ...
yanshouban/src/views/customer/icReview/index.vue
... ... @@ -821,6 +821,14 @@ export default {
821 821 const res = await icManAll(this.pageindex)
822 822 this.tableData = res.data.content
823 823 this.total = res.data.content.length
  824 + this.tableData.map(res=>{
  825 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  826 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  827 + res.address = this.$decrypt(res.address)
  828 + res.emailAddress = this.$decrypt(res.emailAddress)
  829 + res.contactName = this.$decrypt(res.contactName)
  830 + res.contactPhone = this.$decrypt(res.contactPhone)
  831 + })
824 832 },
825 833  
826 834 bianjilist(item) {
... ... @@ -835,7 +843,16 @@ export default {
835 843 const res = await icManAll(this.formSel)
836 844 this.tableData = res.data.content
837 845 this.total = res.data.content.length
  846 + this.tableData.map(res=>{
  847 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  848 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  849 + res.address = this.$decrypt(res.address)
  850 + res.emailAddress = this.$decrypt(res.emailAddress)
  851 + res.contactName = this.$decrypt(res.contactName)
  852 + res.contactPhone = this.$decrypt(res.contactPhone)
  853 + })
838 854 },
  855 +
839 856 // 详情点击
840 857 async handleEditForm(item) {
841 858 this.secondData = item;
... ...
yanshouban/src/views/customer/rUser/index.vue
... ... @@ -335,7 +335,6 @@
335 335 } from '@/utils/request'
336 336  
337 337 import {
338   - businessListGetAll,
339 338 businessListSave,
340 339 businessListGetById,
341 340 businessListUpdate,
... ...
yanshouban/src/views/customer/rsaManagement/index.vue
... ... @@ -803,6 +803,14 @@
803 803 const res = await rsaManAll(this.pageindex);
804 804 this.tableData = res.data.content;
805 805 this.total = res.data.content.length
  806 + this.tableData.map(res=>{
  807 + res.contactPhone = this.$decrypt(res.contactPhone)
  808 + res.idCardNumber = this.$decrypt(res.idCardNumber)
  809 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  810 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  811 + res.address = this.$decrypt(res.address)
  812 + res.emailAddress = this.$decrypt(res.emailAddress)
  813 + })
806 814 const ziyuan = await getAlls(this.pageindex)
807 815 const ggw = await map1(this.pageindex)
808 816 this.ziyuanData = [...ziyuan.data.content,...ggw.data.content]
... ... @@ -1010,6 +1018,14 @@ async getshen(item){
1010 1018 const res = await rsaManAll(this.formSel)
1011 1019 this.tableData = res.data.content
1012 1020 this.total = res.data.content.length
  1021 + this.tableData.map(res=>{
  1022 + res.contactPhone = this.$decrypt(res.contactPhone)
  1023 + res.idCardNumber = this.$decrypt(res.idCardNumber)
  1024 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  1025 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  1026 + res.address = this.$decrypt(res.address)
  1027 + res.emailAddress = this.$decrypt(res.emailAddress)
  1028 + })
1013 1029 },
1014 1030 mingClose(){
1015 1031 this.multipleSelection =[]
... ...
yanshouban/src/views/customer/rsaReview/index.vue
... ... @@ -929,6 +929,14 @@ export default {
929 929 const res = await rsaManAll(this.pageindex);
930 930 this.tableData = res.data.content;
931 931 this.total = res.data.content.length
  932 + this.tableData.map(res=>{
  933 + res.contactPhone = this.$decrypt(res.contactPhone)
  934 + res.idCardNumber = this.$decrypt(res.idCardNumber)
  935 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  936 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  937 + res.address = this.$decrypt(res.address)
  938 + res.emailAddress = this.$decrypt(res.emailAddress)
  939 + })
932 940 },
933 941 // 查询
934 942 async onSubmit() {
... ... @@ -936,6 +944,14 @@ export default {
936 944 const res = await rsaManAll(this.formSel)
937 945 this.tableData = res.data.content
938 946 this.total = res.data.content.length
  947 + this.tableData.map(res=>{
  948 + res.contactPhone = this.$decrypt(res.contactPhone)
  949 + res.idCardNumber = this.$decrypt(res.idCardNumber)
  950 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  951 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  952 + res.address = this.$decrypt(res.address)
  953 + res.emailAddress = this.$decrypt(res.emailAddress)
  954 + })
939 955  
940 956 },
941 957  
... ...
yanshouban/src/views/ipm/followup/index.vue
... ... @@ -658,11 +658,27 @@
658 658 const res = await genGetAll(this.pageindex)
659 659 this.tableData = res.data.content
660 660 this.total = res.data.content.length
  661 + this.tableData.map(res=>{
  662 + res.contactPhone = this.$decrypt(res.contactPhone)
  663 + res.idCardNumber = this.$decrypt(res.idCardNumber)
  664 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  665 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  666 + res.address = this.$decrypt(res.address)
  667 + res.emailAddress = this.$decrypt(res.emailAddress)
  668 + })
661 669 const ziyuan = await getAlls(this.pageindex)
662 670 const ggw = await map1(this.pageindex)
663 671 this.ziyuanData = [...ziyuan.data.content,...ggw.data.content]
664 672 const kehu = await icManAll(this.pageindex);
665 673 this.kehuData = kehu.data.content
  674 + this.kehuData.map(res=>{
  675 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  676 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  677 + res.address = this.$decrypt(res.address)
  678 + res.emailAddress = this.$decrypt(res.emailAddress)
  679 + res.contactName = this.$decrypt(res.contactName)
  680 + res.contactPhone = this.$decrypt(res.contactPhone)
  681 + })
666 682 },
667 683  
668 684 // 新增确定按钮
... ... @@ -796,7 +812,14 @@
796 812 const res = await genGetAll(this.formSel)
797 813 this.tableData = res.data.content
798 814 this.total = res.data.content.length
799   -
  815 + this.tableData.map(res=>{
  816 + res.contactPhone = this.$decrypt(res.contactPhone)
  817 + res.idCardNumber = this.$decrypt(res.idCardNumber)
  818 + res.unifiedSocialCreditCode = this.$decrypt(res.unifiedSocialCreditCode)
  819 + res.legalRepresentative = this.$decrypt(res.legalRepresentative)
  820 + res.address = this.$decrypt(res.address)
  821 + res.emailAddress = this.$decrypt(res.emailAddress)
  822 + })
800 823 },
801 824 //重置按钮
802 825 resetting() {
... ...
yanshouban/src/views/media/mediaMana.vue
... ... @@ -120,7 +120,7 @@
120 120 <!-- 详情活动方案 -->
121 121 <el-dialog :title="wangShow==false?'修改页 ':'详情页'" :visible.sync="ggXin" custom-class='bian_css' style="padding: 0;" width="65s%"
122 122 center :close-on-click-modal="false" :close-on-press-escape="false" :show-close='false'>
123   - <div style="padding: 10px 20px;">
  123 + <div style="padding: 10px 20px;" ref="contentToConvert">
124 124 <el-form ref="ruleFormInfo" :model="secondData" label-width="120px"
125 125 style="position: relative">
126 126 <el-form-item label="方案标题" class="grid-content bg-purple device-from" prop="name">
... ... @@ -145,6 +145,9 @@
145 145 <el-button @click="ggXin=false"
146 146 style="color: #000;border: 1px solid #DBDBDB;background-color: #fff;" class="buttonHover">返回
147 147 </el-button>
  148 + <el-button @click="daochu" v-if="wangShow"
  149 + style="color: #fff;background-color: #3F9B6A;">生成PDF
  150 + </el-button>
148 151 <el-button @click="TuiEdit" v-if="!wangShow"
149 152 style="color: #fff;background-color: #3F9B6A;">确定
150 153 </el-button>
... ... @@ -523,6 +526,8 @@
523 526 import addAct from "./mediaMannaAdd"
524 527 import wangEditor from "@/components/editor/index";
525 528 import upimg from "@/components/ImageUpload/index"
  529 + import html2canvas from 'html2canvas'
  530 + import jsPDF from 'jspdf'
526 531 export default {
527 532 components: { addAct,wangEditor,upimg},
528 533 data() {
... ... @@ -604,6 +609,29 @@ components: { addAct,wangEditor,upimg},
604 609  
605 610 },
606 611 methods: {
  612 + async daochu(){
  613 +
  614 + const content = this.$refs.contentToConvert;
  615 +
  616 + // 使用 html2canvas 将 div 渲染为画布
  617 + const canvas = await html2canvas(content);
  618 +
  619 + // 获取画布的图像数据
  620 + const imgData = canvas.toDataURL('image/png');
  621 +
  622 + // 创建一个新的 PDF 文档
  623 + const pdf = new jsPDF('p', 'mm', 'a4');
  624 +
  625 + // 添加图像到 PDF,第二个参数是图像格式,第三个参数是缩放比例
  626 + const imgWidth = 190; // 图像的宽度(mm)
  627 + const imgHeight = (canvas.height * imgWidth) / canvas.width; // 保持图像的宽高比
  628 +
  629 + pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight); // 10, 10 是图像在 PDF 中的位置(mm)
  630 +
  631 + // 保存 PDF 文件
  632 + pdf.save('媒体推广.pdf');
  633 +
  634 + },
607 635 //查询全数据
608 636 async getAll() {
609 637 const res = await tuiGetAll(this.pageindex)
... ...
yanshouban/src/views/online/QRCode/index.vue
... ... @@ -177,7 +177,7 @@ export default {
177 177 this.tableData = res.data.list
178 178 this.tableData.map(res=>{
179 179 res.shopPhone = this.$decrypt(res.shopPhone)
180   - res.shopPassword = this.$decrypt(res.shopPassword)
  180 + // res.shopPassword = this.$decrypt(res.shopPassword)
181 181 res.idCardNum = this.$decrypt(res.idCardNum)
182 182 res.emailAddress = this.$decrypt(res.emailAddress)
183 183 res.shopAdress = this.$decrypt(res.shopAdress)
... ...
yanshouban/src/views/online/QRFunds/index.vue
... ... @@ -177,7 +177,7 @@ export default {
177 177 this.tableData = res.data.list
178 178 this.tableData.map(res=>{
179 179 res.shopPhone = this.$decrypt(res.shopPhone)
180   - res.shopPassword = this.$decrypt(res.shopPassword)
  180 + // res.shopPassword = this.$decrypt(res.shopPassword)
181 181 res.idCardNum = this.$decrypt(res.idCardNum)
182 182 res.emailAddress = this.$decrypt(res.emailAddress)
183 183 res.shopAdress = this.$decrypt(res.shopAdress)
... ...
yanshouban/src/views/serve/MarkActivity/index.vue
... ... @@ -684,6 +684,10 @@
684 684 const res = await Registration(page)
685 685 this.mingList = res.data
686 686 this.baoming = true
  687 + this.mingList.map(res=>{
  688 + res.userName = this.$decrypt(res.userName)
  689 + res.userPhone = this.$decrypt(res.userPhone)
  690 + })
687 691 }
688 692  
689 693 }
... ...
yanshouban/src/views/shopRental/renewalMan/index.vue
... ... @@ -39,6 +39,7 @@
39 39 <div>
40 40 <el-button
41 41 style="background-color: #3F9B6A;color: #fff;padding:8px 15px;" @click="daochu">导出</el-button>
  42 + <el-button @click="dayin" style="background-color: #3F9B6A;color: #fff">打印</el-button>
42 43 </div>
43 44  
44 45 </div>
... ... @@ -793,7 +794,7 @@
793 794  
794 795 <div style="justify-content:flex-end;margin:20px 20px 0 0;display:flex;">
795 796 <el-button @click="downloadPdf" style="background-color: #3F9B6A;color: #fff">下载</el-button>
796   - <!-- <el-button style="background-color: #3F9B6A;color: #fff">打印</el-button> -->
  797 +
797 798 <!-- <el-button style="background-color: #3F9B6A;color: #fff">发送</el-button> -->
798 799  
799 800 </div>
... ... @@ -817,7 +818,8 @@
817 818 updateList,
818 819 queryById,
819 820 cereLeasingById,
820   - cereLeasingEdit
  821 + cereLeasingEdit,
  822 + pdfLeaseRenewalManagement
821 823 } from '../../../api/manage.js'
822 824 import {
823 825 rentalGetAll,
... ... @@ -932,6 +934,30 @@
932 934  
933 935 },
934 936 methods: {
  937 + async dayin(){
  938 + let res = await pdfLeaseRenewalManagement(this.pageindex)
  939 + if(!res){
  940 + return
  941 + }
  942 + const blob = new Blob([res], { type: 'application/pdf' })
  943 + const fileName = '续租管理.pdf'
  944 + if ('download' in document.createElement('a')) {
  945 + // 非IE下载
  946 + const elink = document.createElement('a')
  947 + elink.download = fileName
  948 + elink.style.display = 'none'
  949 + elink.href = URL.createObjectURL(blob)
  950 + document.body.appendChild(elink)
  951 + elink.click()
  952 + URL.revokeObjectURL(elink.href) // 释放URL 对象
  953 + document.body.removeChild(elink)
  954 + } else {
  955 + // IE10+下载
  956 + navigator.msSaveBlob(blob, fileName)
  957 + }
  958 +
  959 +
  960 + },
935 961 chenge(val){
936 962 this.formSel={
937 963 affiliation: '',
... ...
yanshouban/src/views/shopRental/rentTermination/index.vue
... ... @@ -41,6 +41,8 @@
41 41 </el-button>
42 42 <el-button @click="daochu" style="background-color: #3F9B6A;color: #fff">导出
43 43 </el-button>
  44 + <el-button @click="dayin" style="background-color: #3F9B6A;color: #fff">打印</el-button>
  45 +
44 46 </div>
45 47 <!-- 表格 -->
46 48  
... ... @@ -640,8 +642,7 @@
640 642 </div>
641 643 <div style="justify-content:flex-end;margin:20px 20px 0 0;display:flex;">
642 644 <el-button @click="downloadPdf" style="background-color: #3F9B6A;color: #fff">下载</el-button>
643   - <!-- <el-button style="background-color: #3F9B6A;color: #fff">打印</el-button>
644   - <el-button style="background-color: #3F9B6A;color: #fff">发送</el-button> -->
  645 +
645 646  
646 647 </div>
647 648 </div>
... ... @@ -662,7 +663,7 @@
662 663 contractDel,
663 664 updateList,
664 665 queryById,
665   -
  666 + pdfManagementOfFinalAccountsForRentals,
666 667 cereLeasingEdit
667 668 } from '../../../api/manage.js'
668 669 import {
... ... @@ -794,7 +795,30 @@
794 795 this.total = res.data.numberOfElements
795 796 this.tableData = res.data.content
796 797 },
  798 + async dayin(){
  799 + let res = await pdfManagementOfFinalAccountsForRentals(this.pageindex)
  800 + if(!res){
  801 + return
  802 + }
  803 + const blob = new Blob([res], { type: 'application/pdf' })
  804 + const fileName = '退租决算管理.pdf'
  805 + if ('download' in document.createElement('a')) {
  806 + // 非IE下载
  807 + const elink = document.createElement('a')
  808 + elink.download = fileName
  809 + elink.style.display = 'none'
  810 + elink.href = URL.createObjectURL(blob)
  811 + document.body.appendChild(elink)
  812 + elink.click()
  813 + URL.revokeObjectURL(elink.href) // 释放URL 对象
  814 + document.body.removeChild(elink)
  815 + } else {
  816 + // IE10+下载
  817 + navigator.msSaveBlob(blob, fileName)
  818 + }
797 819  
  820 +
  821 + },
798 822 // 退租确定按钮
799 823 addCheck(val) {
800 824 this.ggXin = false
... ...
yanshouban/src/views/shopRental/rentalMan/index.vue
... ... @@ -39,6 +39,7 @@
39 39 style="background-color: #3F9B6A;color: #fff;padding:8px 15px;">批量导出</el-button> -->
40 40 <el-button
41 41 style="background-color: #3F9B6A;color: #fff;padding:8px 15px;" @click="daochu">导出</el-button>
  42 + <el-button @click="dayin" style="background-color: #3F9B6A;color: #fff">打印</el-button>
42 43 </div>
43 44 </div>
44 45 <!-- 表格 -->
... ... @@ -965,7 +966,7 @@
965 966  
966 967 <div style="justify-content:flex-end;margin:20px 20px 0 0;display:flex;">
967 968 <el-button @click="downloadPdf" style="background-color: #3F9B6A;color: #fff">下载</el-button>
968   - <!-- <el-button style="background-color: #3F9B6A;color: #fff">打印</el-button> -->
  969 +
969 970 <!-- <el-button style="background-color: #3F9B6A;color: #fff">发送</el-button> -->
970 971  
971 972 </div>
... ... @@ -987,10 +988,10 @@
987 988 rentalGetAll,
988 989 rentalDel,
989 990 rentalAdd,
990   - excelRentOutQueryByPage
  991 + excelRentOutQueryByPage,
  992 + pdfRentOutQueryByPage
991 993 } from '../../../api/rentalMan.js'
992 994 import {
993   - businessListGetAll,
994 995 businessListSave,
995 996 businessListGetById,
996 997 businessListUpdate,
... ... @@ -1227,7 +1228,7 @@ import {
1227 1228 pdf.addImage(imgData, 'PNG', 10, 10, imgWidth, imgHeight); // 10, 10 是图像在 PDF 中的位置(mm)
1228 1229  
1229 1230 // 保存 PDF 文件
1230   - pdf.save('downloaded.pdf');
  1231 + pdf.save('入住单.pdf');
1231 1232 },
1232 1233 // 出租单查看
1233 1234 outlook(item){
... ... @@ -1236,7 +1237,6 @@ import {
1236 1237 this.outdan = true
1237 1238 },
1238 1239 delList(){
1239   -
1240 1240 const h = this.$createElement;
1241 1241 this.$msgbox({
1242 1242 title: '消息',
... ... @@ -1286,6 +1286,30 @@ import {
1286 1286 })
1287 1287  
1288 1288 },
  1289 + async dayin(){
  1290 + let res = await pdfRentOutQueryByPage(this.pageindex)
  1291 + if(!res){
  1292 + return
  1293 + }
  1294 + const blob = new Blob([res], { type: 'application/pdf' })
  1295 + const fileName = '出租管理.pdf'
  1296 + if ('download' in document.createElement('a')) {
  1297 + // 非IE下载
  1298 + const elink = document.createElement('a')
  1299 + elink.download = fileName
  1300 + elink.style.display = 'none'
  1301 + elink.href = URL.createObjectURL(blob)
  1302 + document.body.appendChild(elink)
  1303 + elink.click()
  1304 + URL.revokeObjectURL(elink.href) // 释放URL 对象
  1305 + document.body.removeChild(elink)
  1306 + } else {
  1307 + // IE10+下载
  1308 + navigator.msSaveBlob(blob, fileName)
  1309 + }
  1310 +
  1311 + },
  1312 +
1289 1313 }
1290 1314 }
1291 1315 </script>
... ...
yanshouban/src/views/shopRental/warning/index.vue
... ... @@ -115,27 +115,18 @@
115 115 <div >
116 116 <div style="margin-bottom: 20px;">
117 117 <el-form ref="form" :model="zhong" label-width="80px">
118   - <el-form-item label="甲方">
  118 + <el-form-item label="甲方" v-if="index != 2">
119 119 <el-input v-model="zhong.lessorName" disabled></el-input>
120 120 </el-form-item>
121   - <el-form-item label="乙方">
  121 + <el-form-item label="乙方" v-if="index != 2">
122 122 <el-input v-model="zhong.tenantName" disabled></el-input>
123 123 </el-form-item>
124   - <el-form-item label="合同编号">
  124 + <el-form-item label="合同编号" v-if="index != 2">
125 125 <el-input v-model="zhong.contractNumber" disabled></el-input>
126 126 </el-form-item>
127   - <el-form-item label="起止时间">
  127 + <el-form-item label="起止时间" v-if="index != 2">
128 128 <el-input v-model="zhong.leaseStartDate" disabled></el-input>
129 129 </el-form-item>
130   - <el-form-item label="月租金" v-if="index ==2">
131   - <el-input v-model="zhong.contractAmount" disabled ></el-input>
132   - </el-form-item>
133   - <el-form-item label="缴费日期" v-if="index ==2">
134   - <el-input v-model="zhong.contractAmount" disabled ></el-input>
135   - </el-form-item>
136   - <el-form-item label="逾期" v-if="index ==2">
137   - <el-input v-model="zhong.name" disabled ></el-input>
138   - </el-form-item>
139 130 <el-form-item label="申请人" v-if="index !=2">
140 131 <el-input v-model="zhong.application" ></el-input>
141 132 </el-form-item>
... ... @@ -728,6 +719,9 @@
728 719 cereLeasingByPage,
729 720 daoqi
730 721 } from '../../../api/manage.js'
  722 + import {
  723 + ManaAdd
  724 + } from '../../../api/PerWorkstation.js'
731 725 export default {
732 726 data() {
733 727 return {
... ... @@ -827,9 +821,36 @@
827 821 },
828 822 // 新增确定按钮
829 823 async addCheck(val) {
830   - this.ggXin = false
831 824  
  825 + if(this.index == 2){
  826 + let pageMsg = {
  827 + content:this.zhong.reasonApplication,
  828 + createdAt:this.nowTime(),
  829 + postType:'立即发布',
  830 + receiverMerchant:'电商商家',
  831 + status:'1',
  832 + title:'到期提醒'
  833 + }
  834 + await ManaAdd(pageMsg)
  835 + this.$message({
  836 + message: '发送成功',
  837 + type: 'success'
  838 + })
  839 + }
  840 + this.ggXin = false
832 841 },
  842 +
  843 + nowTime(){
  844 + const now = new Date();
  845 + const year = now.getFullYear();
  846 + const month = (now.getMonth() + 1).toString().padStart(2, '0');
  847 + const day = now.getDate().toString().padStart(2, '0');
  848 + const hours = now.getHours().toString().padStart(2, '0');
  849 + const minutes = now.getMinutes().toString().padStart(2, '0');
  850 + const seconds = now.getSeconds().toString().padStart(2, '0');
  851 +
  852 + return `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
  853 + },
833 854 // 获取时间
834 855 currentTime(){
835 856 let date = new Date();
... ...
yanshouban/src/views/stockControl/inventory/index.vue
1 1 <!-- -->
2 2 <template>
3   - <div>
  3 + <div style="background-color:#f7f7f7;padding:10px 10px;">
4 4 <div class="pending">
  5 + <div style="height:58px;line-height:58px;">
  6 + <div style="color:#0006"> <span>库存管理</span> <span style="padding:0 5px;">></span> <span style="color:#000000e6">商铺库存</span></div>
  7 + </div>
5 8 <!-- 搜索 -->
6 9 <div class="formSearch">
7 10 <el-form :inline="true" :model="formInline" class="demo-form-inline">
... ... @@ -37,9 +40,10 @@
37 40 />
38 41 </el-form-item>
39 42 <el-form-item>
40   - <el-button type="primary" plain @click="search">查询</el-button>
41   - <el-button plain @click="clear">重置</el-button>
42   - <el-button type="success" plain @click="productDataExport">导出商品</el-button>
  43 + <el-button style="background-color: #3F9B6A;color: #fff" @click="search">查询</el-button>
  44 + <el-button class="buttonHover"
  45 + style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" @click="clear">重置</el-button>
  46 + <el-button style="background-color: #3F9B6A;color: #fff" @click="productDataExport">导出商品</el-button>
43 47 <!-- <span
44 48 v-for="(item, index) in btnList"
45 49 :key="index"
... ... @@ -58,8 +62,7 @@
58 62 ref="multipleTable"
59 63 v-loading="loading"
60 64 :data="tableData"
61   - border
62   - :header-cell-style="{ background: '#EEF3FF', color: '#333333' }"
  65 + :header-cell-style="{fontSize: '14px',color:'#0009',fontWeight: 'normal',backgroundColor:'#F2F3F5'}"
63 66 tooltip-effect="dark"
64 67 style="width: 100%"
65 68 >
... ... @@ -116,7 +119,32 @@
116 119 </el-table-column>
117 120 <el-table-column label="操作" width="200">
118 121 <template slot-scope="scope">
119   - <div class="btnList">
  122 + <div class="tableBtn greens"
  123 + v-if="scope.row.shelveState == 1"
  124 + slot="reference"
  125 + style="margin-right: 10px"
  126 + type="text"
  127 + @click="OutForced(scope.row)" >
  128 + 强制下架
  129 + </div>
  130 + <div class="tableBtn greens"
  131 + v-if="scope.row.shelveState == 1"
  132 + type="text"
  133 + @click="setFictitious(scope.row)">
  134 + 虚拟销量
  135 + </div>
  136 + <div class="tableBtn greens"
  137 + v-if="scope.row.shelveState == 2"
  138 + type="text"
  139 + @click="examineShow(scope.row)" >
  140 + 审核
  141 + </div>
  142 + <div class="tableBtn greens"
  143 + type="text"
  144 + @click="Godetails(scope.row)" >
  145 + 查看详情
  146 + </div>
  147 + <!-- <div class="btnList">
120 148 <el-button
121 149 v-if="scope.row.shelveState == 1"
122 150 slot="reference"
... ... @@ -138,7 +166,7 @@
138 166 type="text"
139 167 @click="Godetails(scope.row)"
140 168 >查看详情</el-button>
141   - </div>
  169 + </div> -->
142 170 </template>
143 171 </el-table-column>
144 172 </el-table>
... ... @@ -177,8 +205,9 @@
177 205 </el-form-item>
178 206 </el-form>
179 207 <span slot="footer" class="dialog-footer">
180   - <el-button @click="examineVisible = false">取 消</el-button>
181   - <el-button type="primary" @click="submintUs">确 定</el-button>
  208 + <el-button class="buttonHover"
  209 + style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" @click="examineVisible = false">取 消</el-button>
  210 + <el-button style="background-color: #3F9B6A;color: #fff" @click="submintUs">确 定</el-button>
182 211 </span>
183 212 </el-dialog>
184 213 <!-- 设置虚拟销量 -->
... ... @@ -199,8 +228,9 @@
199 228 </el-form-item>
200 229 </el-form>
201 230 <span slot="footer" class="dialog-footer">
202   - <el-button @click="FictitiousVisible = false">取 消</el-button>
203   - <el-button type="primary" @click="FicSubmintUs">确 定</el-button>
  231 + <el-button class="buttonHover"
  232 + style="color: #606266;border: 1px solid #dddfe5;background-color: #fff;" @click="FictitiousVisible = false">取 消</el-button>
  233 + <el-button style="background-color: #3F9B6A;color: #fff" @click="FicSubmintUs">确 定</el-button>
204 234 </span>
205 235 </el-dialog>
206 236 <add-commodity ref="addCommodity" :examine-show="examineShow" @reset="reset" />
... ... @@ -402,7 +432,9 @@ export default {
402 432 //@import url(); 引入公共css类
403 433 @import url("../../../styles/elDialog.scss");
404 434 .pending {
405   - padding: 30px;
  435 + padding: 0 20px 20px 20px;
  436 + min-height: calc(100vh - 50px - 20px);
  437 + background-color: #Fff;
406 438 }
407 439 .fenye {
408 440 margin-top: 20px;
... ... @@ -445,4 +477,18 @@ export default {
445 477 }
446 478 }
447 479 }
  480 + .tableBtn {
  481 + display: inline-block;
  482 + margin-right: 10px;
  483 + }
  484 +
  485 + .greens {
  486 + color: #3F9B6A ;
  487 + }
  488 + ::v-deep .buttonHover:hover{
  489 + color:#3f9b6a !important;
  490 + border-color: #c5e1d2 !important;
  491 + background-color: #ecf5f0 !important;
  492 + outline: none;
  493 + }
448 494 </style>
... ...
yanshouban/src/views/stockControl/stocksForewarn/index.vue
... ... @@ -19,17 +19,24 @@
19 19 <div :class="fut?'formSearch':'collapsed'" ref="formSearch">
20 20 <el-form :inline="true" :model="formSel" label-width="auto">
21 21 <el-form-item label="商品名称">
22   - <el-input v-model="formSel.shopname" placeholder="请输入方案编号" size="mini" style="width: 178px;margin-right: 5px;"/>
  22 + <el-input v-model="formSel.productName" placeholder="请输入方案编号" size="mini" style="width: 178px;margin-right: 5px;"/>
23 23 </el-form-item>
24   - <el-form-item label="入库人">
  24 + <!-- <el-form-item label="入库人">
25 25 <el-input v-model="formSel.rkr" placeholder="请输入方案编号" size="mini" style="width: 178px;margin-right: 5px;"/>
26   - </el-form-item>
  26 + </el-form-item> -->
27 27 <el-form-item label="上架时间">
28   - <el-input v-model="formSel.stime" placeholder="请输入方案编号" size="mini" style="width: 178px;margin-right: 5px;"/>
  28 + <el-date-picker
  29 + v-model="formSel.createTime"
  30 + type="datetime"
  31 + value-format="yyyy-MM-dd HH:mm:ss"
  32 + prefix-icon="none"
  33 + style="width: 178px;margin-right: 5px;"
  34 + placeholder="选择日期时间">
  35 + </el-date-picker>
29 36 </el-form-item>
30   - <el-form-item label="入库时间">
  37 + <!-- <el-form-item label="入库时间">
31 38 <el-input v-model="formSel.rtime" placeholder="请输入方案编号" size="mini" style="width: 178px;margin-right: 5px;"/>
32   - </el-form-item>
  39 + </el-form-item> -->
33 40 </el-form>
34 41 </div>
35 42 </div>
... ... @@ -161,10 +168,10 @@ export default {
161 168 anNum:'',
162 169 },
163 170 formSel:{
164   - shopname:'',
165   - rkr:'',
166   - sTime:'',
167   - rTime:''
  171 + productName:'',
  172 + createTime:'',
  173 + page: 1,
  174 + pageSize: 10
168 175 },
169 176 formInline: {
170 177 searchType: '1',
... ... @@ -202,7 +209,28 @@ export default {
202 209 },
203 210 // 查询
204 211 search () {
205   -
  212 + this.total = 1;
  213 + this.formSel.page = 1;
  214 + this.getAll(this.formSel);
  215 + },
  216 + resetting(){
  217 + this.formSel = {
  218 + productName:'',
  219 + createTime:'',
  220 + page: 1,
  221 + pageSize: 10
  222 + }
  223 + this.formInline = {
  224 + searchType: '1',
  225 + search: '', // 搜索字段
  226 + state: '',
  227 + // afterState: '', // 售后状态 0-无售后 1-售后中 2-售后成功 3-售后关闭
  228 + dates: [], // 下单时间数组
  229 + page: 1,
  230 + shopName: '',
  231 + pageSize: 10
  232 + }
  233 + this.getAll(this.formInline)
206 234 },
207 235 async kucunSet(){
208 236 const yuzhi={
... ...
yanshouban/vue.config.js
... ... @@ -67,7 +67,7 @@ module.exports = {
67 67 // changeOrigin: true,
68 68 // },
69 69 '/meserver/admin-server/':{
70   - target: 'https://jy.scjysm.asia:18086/meserver/admin-server/', // 测试
  70 + target: 'https://jy.scjysm.asia:18086/admin-server/', // 测试
71 71 // target: 'http://172.16.61.123:8080/meserver/admin-server/', // 测试
72 72 // https://jy.scjysm.asia:18086/admin-server http://172.16.61.123:8080/meserver/admin-server/ https://wjdc.scjysm.asia1443/cdwlMall/admin-server
73 73 // target: 'http://localhost:9003/', // 平台端
... ...