Commit c3f8e431a57081cf12813c18bab2fce959c7a657

Authored by wesley88
1 parent c7a00a3c

1

admin-web-master/src/api/newly.js
1 import request from '@/utils/request' 1 import request from '@/utils/request'
2 // import request from '@/utils/request2' 2 // import request from '@/utils/request2'
  3 +// oa
  4 +export function general(data) {
  5 + return request({
  6 + url: '/oaInterconnection/general',
  7 + method: 'post',
  8 + data,
  9 + // headers: {
  10 + // 'Content-Type': 'Multipart/form-data'
  11 + // }
  12 + })
  13 +}
3 // 生成合同附件 14 // 生成合同附件
4 export function dataInprotDocument(data) { 15 export function dataInprotDocument(data) {
5 return request({ 16 return request({
6 - url: '/cereContractTemplate/dataInprotDocument ', 17 + url: '/cereContractTemplate/dataInprotDocument',
7 method: 'post', 18 method: 'post',
8 data 19 data
9 }) 20 })
admin-web-master/src/components/ImageUpload/index.vue
@@ -212,7 +212,7 @@ @@ -212,7 +212,7 @@
212 212
213 // 更新当前文件的上传状态 213 // 更新当前文件的上传状态
214 this.reactiveData.filesIng[i].status = 'uploading'; 214 this.reactiveData.filesIng[i].status = 'uploading';
215 - 215 + console.error(fd)
216 // 调用 miniioupload 方法并等待响应 216 // 调用 miniioupload 方法并等待响应
217 const res = await miniioupload(fd); 217 const res = await miniioupload(fd);
218 list.push(res.data) 218 list.push(res.data)
admin-web-master/src/components/add/addcd.vue
@@ -65,7 +65,7 @@ @@ -65,7 +65,7 @@
65 <el-input v-model="ruleForm.detailedLocation" placeholder="请输入" maxlength="100"> 65 <el-input v-model="ruleForm.detailedLocation" placeholder="请输入" maxlength="100">
66 </el-input> 66 </el-input>
67 </el-form-item> --> 67 </el-form-item> -->
68 - <el-form-item label="地图标点" prop="mapMarker"> 68 + <el-form-item label="地图标点" prop="detailedLocation">
69 <div style="width: 100%;height: 300px;"> 69 <div style="width: 100%;height: 300px;">
70 <newmap :isonloed="info.id?true:false" :lat="lat" :lng="lng" @updatecenter="updatecenter"></newmap> 70 <newmap :isonloed="info.id?true:false" :lat="lat" :lng="lng" @updatecenter="updatecenter"></newmap>
71 </div> 71 </div>
@@ -192,7 +192,7 @@ @@ -192,7 +192,7 @@
192 }], 192 }],
193 detailedLocation: [{ 193 detailedLocation: [{
194 required: true, 194 required: true,
195 - message: '请输入详细位置', 195 + message: '请地图标点选择位置',
196 trigger: 'blur' 196 trigger: 'blur'
197 }, ], 197 }, ],
198 mapMarker: [{ 198 mapMarker: [{
admin-web-master/src/components/add/addht.vue
@@ -229,6 +229,8 @@ import { @@ -229,6 +229,8 @@ import {
229 tenantTelephone: this.info.tenantTelephone, 229 tenantTelephone: this.info.tenantTelephone,
230 shopNumber: this.info.shopNumber, 230 shopNumber: this.info.shopNumber,
231 templateInformationUrl:this.templateAttachment, 231 templateInformationUrl:this.templateAttachment,
  232 + createDate:this.updateCurrentTime(),
  233 + createUser: localStorage.getItem('roleName'),
232 } 234 }
233 console.error(from) 235 console.error(from)
234 let info = await this.culfj() 236 let info = await this.culfj()
@@ -354,31 +356,31 @@ import { @@ -354,31 +356,31 @@ import {
354 }).then(res => { 356 }).then(res => {
355 console.error(res) 357 console.error(res)
356 }) 358 })
357 - // if(this.info.id) {  
358 - // if(this.info.cereBasicInformationShop && this.info.cereBasicInformationShop.id) {  
359 - // msgedit({  
360 - // auditStatus: '4',  
361 - // id: this.info.id,  
362 - // contractNumber: this.formInline.contractNumber  
363 - // })  
364 - // }  
365 - // if(this.info.cereAdvertisingInformation && this.info.cereAdvertisingInformation.id) {  
366 - // AdvertiserInfoEdit({  
367 - // auditStatus: '4',  
368 - // id: this.info.id,  
369 - // contractId: this.formInline.contractNumber  
370 - // }).then(item => {  
371 - // this.getAll()  
372 - // })  
373 - // }  
374 - // if(this.info.cereBasicInformationVenue && this.info.cereBasicInformationVenue.id) {  
375 - // msgedit({  
376 - // auditStatus: '4',  
377 - // id: this.info.id,  
378 - // contractNumber: this.formInline.contractNumber  
379 - // })  
380 - // }  
381 - // } 359 + if(this.info.id) {
  360 + if(this.info.cereBasicInformationShop && this.info.cereBasicInformationShop.id) {
  361 + msgedit({
  362 + auditStatus: '4',
  363 + id: this.info.id,
  364 + contractNumber: this.formInline.contractNumber
  365 + })
  366 + }
  367 + if(this.info.cereAdvertisingInformation && this.info.cereAdvertisingInformation.id) {
  368 + AdvertiserInfoEdit({
  369 + auditStatus: '4',
  370 + id: this.info.id,
  371 + contractId: this.formInline.contractNumber
  372 + }).then(item => {
  373 + this.getAll()
  374 + })
  375 + }
  376 + if(this.info.cereBasicInformationVenue && this.info.cereBasicInformationVenue.id) {
  377 + msgedit({
  378 + auditStatus: '4',
  379 + id: this.info.id,
  380 + contractNumber: this.formInline.contractNumber
  381 + })
  382 + }
  383 + }
382 this.$emit('removeonaction', '1') 384 this.$emit('removeonaction', '1')
383 } else { 385 } else {
384 this.$message({ 386 this.$message({
admin-web-master/src/components/add/addinformation.vue
@@ -50,7 +50,23 @@ @@ -50,7 +50,23 @@
50 </el-form-item> 50 </el-form-item>
51 </el-col> 51 </el-col>
52 </el-row> 52 </el-row>
53 - 53 + <el-row :gutter="20">
  54 + <el-col :span="12">
  55 + <el-form-item label="所属绿道段" prop="belongingGreenwaySection">
  56 + <el-select v-model="ruleForm.belongingGreenwaySection" placeholder="请选择"
  57 + style="margin-top:5px;width: 100%;" @change="lvdaoSel">
  58 + <el-option :label="item.name" :value="item.code" v-for="(item,index) in lvdaoList"
  59 + :key="index"></el-option>
  60 + </el-select>
  61 + </el-form-item>
  62 + </el-col>
  63 + <el-col :span="12">
  64 + <el-form-item label="门牌号" prop="houseNumber">
  65 + <el-input v-model="ruleForm.houseNumber" placeholder="请输入"
  66 + maxlength="20"></el-input>
  67 + </el-form-item>
  68 + </el-col>
  69 + </el-row>
54 70
55 <el-row :gutter="20"> 71 <el-row :gutter="20">
56 <el-col :span="12"> 72 <el-col :span="12">
@@ -81,13 +97,8 @@ @@ -81,13 +97,8 @@
81 </el-form-item> 97 </el-form-item>
82 </el-col> 98 </el-col>
83 </el-row> 99 </el-row>
84 -  
85 - <el-form-item label="门牌号" prop="houseNumber">  
86 - <el-input v-model="ruleForm.houseNumber" placeholder="请输入"  
87 - maxlength="20"></el-input>  
88 - </el-form-item>  
89 <el-form-item label="详细位置" prop="detailedLocation"> 100 <el-form-item label="详细位置" prop="detailedLocation">
90 - <el-input v-model="ruleForm.detailedLocation" placeholder="请输入" maxlength="100"> 101 + <el-input :disabled="true" v-model="ruleForm.detailedLocation" placeholder="请地图标点选择位置" maxlength="100">
91 </el-input> 102 </el-input>
92 </el-form-item> 103 </el-form-item>
93 <el-form-item label="地图标点" prop="mapPunctuation"> 104 <el-form-item label="地图标点" prop="mapPunctuation">
@@ -205,6 +216,11 @@ @@ -205,6 +216,11 @@
205 message: '请选择商铺类型', 216 message: '请选择商铺类型',
206 trigger: 'blur' 217 trigger: 'blur'
207 }, ], 218 }, ],
  219 + belongingGreenwaySection: [{
  220 + required: true,
  221 + message: '请填写所属绿道段',
  222 + trigger: 'blur'
  223 + }, ],
208 belongingRegion: [{ 224 belongingRegion: [{
209 required: true, 225 required: true,
210 message: '请选择所属区域', 226 message: '请选择所属区域',
@@ -212,7 +228,7 @@ @@ -212,7 +228,7 @@
212 }], 228 }],
213 detailedLocation: [{ 229 detailedLocation: [{
214 required: true, 230 required: true,
215 - message: '请输入详细位置', 231 + message: '请地图标点选择位置',
216 trigger: 'blur' 232 trigger: 'blur'
217 }, ], 233 }, ],
218 mapPunctuation: [{ 234 mapPunctuation: [{
admin-web-master/src/components/add/addmap.vue
@@ -67,7 +67,7 @@ @@ -67,7 +67,7 @@
67 <el-input v-model="formInline.advertisingName" placeholder="请输入" maxlength="30"></el-input> 67 <el-input v-model="formInline.advertisingName" placeholder="请输入" maxlength="30"></el-input>
68 </el-form-item> 68 </el-form-item>
69 <el-form-item label="详细位置" prop="detailedLocation"> 69 <el-form-item label="详细位置" prop="detailedLocation">
70 - <el-input v-model="formInline.detailedLocation" placeholder="请输入" maxlength="50"></el-input> 70 + <el-input v-model="formInline.detailedLocation" :disabled="true" placeholder="请地图标点选择位置" maxlength="100"></el-input>
71 </el-form-item> 71 </el-form-item>
72 <el-form-item label="地图标点" prop="mapPunctuation" > 72 <el-form-item label="地图标点" prop="mapPunctuation" >
73 <!-- <div style="width: 100%;height: 300px;"> 73 <!-- <div style="width: 100%;height: 300px;">
@@ -228,7 +228,7 @@ @@ -228,7 +228,7 @@
228 }], 228 }],
229 detailedLocation: [{ 229 detailedLocation: [{
230 required: true, 230 required: true,
231 - message: '请输入详细位置', 231 + message: '请地图标点选择位置',
232 trigger: ['change'] 232 trigger: ['change']
233 }], 233 }],
234 mapPunctuation: [{ 234 mapPunctuation: [{
admin-web-master/src/components/add/addsam.vue
@@ -487,6 +487,10 @@ @@ -487,6 +487,10 @@
487 ceDel({ 487 ceDel({
488 id: ids 488 id: ids
489 }).then(res => { 489 }).then(res => {
  490 + this.$message({
  491 + message: '删除成功',
  492 + type: 'success'
  493 + })
490 this.getmb() 494 this.getmb()
491 done(); 495 done();
492 }) 496 })
admin-web-master/src/components/buscha/busCha.vue
@@ -97,7 +97,7 @@ @@ -97,7 +97,7 @@
97 <div class="duiqi greens" @click ="item.value?openfile(item.value):''">{{item.value?'查看详情':'暂无文件'}}</div> 97 <div class="duiqi greens" @click ="item.value?openfile(item.value):''">{{item.value?'查看详情':'暂无文件'}}</div>
98 </el-form-item> 98 </el-form-item>
99 <el-form-item :label="item.name" prop="paymentDay" v-else-if="item.type != '资源' && item.type != '商家'"> 99 <el-form-item :label="item.name" prop="paymentDay" v-else-if="item.type != '资源' && item.type != '商家'">
100 - <div class="duiqi">{{item.value}}</div> 100 + <div class="duiqi">{{item.value}}<span v-if="item.key == 'earnestMoney' || item.key == 'contractAmount'"> 元</span></div>
101 </el-form-item> 101 </el-form-item>
102 </el-col> 102 </el-col>
103 </el-row> 103 </el-row>
admin-web-master/src/components/chakan/ggsh.vue
@@ -239,17 +239,20 @@ @@ -239,17 +239,20 @@
239 </el-tab-pane> 239 </el-tab-pane>
240 </el-tabs> 240 </el-tabs>
241 </div> 241 </div>
242 - <div v-if="info.auditStatus == 1 && issp == '2'" style="border-top: 2px solid #eee;">  
243 - <div style="padding-left: 130px;margin: 25px 0;">  
244 - <el-radio v-model="radio" label="2">同意</el-radio>  
245 - <el-radio v-model="radio" label="3">拒绝</el-radio> 242 + <div v-if="info.auditStatus == 1 && issp == '2'" >
  243 + <TitleWithCircle title="审核情况"/>
  244 + <div style="padding: 20px;">
  245 + <el-form :model="info" label-width="130px" class="demo-ruleForm">
  246 + <el-form-item label="状态">
  247 + <el-radio v-model="radio" label="2">同意</el-radio>
  248 + <el-radio v-model="radio" label="3">拒绝</el-radio>
  249 + </el-form-item>
  250 + <el-form-item label="审核意见">
  251 + <el-input maxlength="200" show-word-limit rows="4" v-model="auditComments" placeholder="请输入审核意见"
  252 + type="textarea" />
  253 + </el-form-item>
  254 + </el-form>
246 </div> 255 </div>
247 - <el-form :model="info" label-width="130px" class="demo-ruleForm">  
248 - <el-form-item label="审核意见">  
249 - <el-input maxlength="200" show-word-limit rows="4" v-model="auditComments" placeholder="请输入审核意见"  
250 - type="textarea" />  
251 - </el-form-item>  
252 - </el-form>  
253 </div> 256 </div>
254 <div v-if="(info.auditStatus == '2' || info.auditStatus == '3') && xiangTab == 'first'"> 257 <div v-if="(info.auditStatus == '2' || info.auditStatus == '3') && xiangTab == 'first'">
255 <TitleWithCircle title="审核结果"/> 258 <TitleWithCircle title="审核结果"/>
admin-web-master/src/components/chakan/zl.vue
@@ -217,6 +217,16 @@ @@ -217,6 +217,16 @@
217 </el-form-item> 217 </el-form-item>
218 </el-col> 218 </el-col>
219 <el-col :span="8"> 219 <el-col :span="8">
  220 + <el-form-item label="所属绿道段" prop="belongingGreenwaySection">
  221 + <div class="duiqi">{{info.cereBasicInformationShop.belongingGreenwaySection || '无'}}</div>
  222 + </el-form-item>
  223 + </el-col>
  224 + <el-col :span="8">
  225 + <el-form-item label="门牌号" prop="houseNumber">
  226 + <div class="duiqi">{{info.cereBasicInformationShop.houseNumber || '无'}}</div>
  227 + </el-form-item>
  228 + </el-col>
  229 + <el-col :span="8">
220 <el-form-item label="归属部门" prop="belongingDepartment"> 230 <el-form-item label="归属部门" prop="belongingDepartment">
221 <div class="duiqi">{{info.cereBasicInformationShop.belongingDepartment || '无'}}</div> 231 <div class="duiqi">{{info.cereBasicInformationShop.belongingDepartment || '无'}}</div>
222 </el-form-item> 232 </el-form-item>
@@ -226,8 +236,6 @@ @@ -226,8 +236,6 @@
226 <div class="duiqi">{{info.cereBasicInformationShop.head || '无'}}</div> 236 <div class="duiqi">{{info.cereBasicInformationShop.head || '无'}}</div>
227 </el-form-item> 237 </el-form-item>
228 </el-col> 238 </el-col>
229 - </el-row>  
230 - <el-row :gutter="20">  
231 <el-col :span="8"> 239 <el-col :span="8">
232 <el-form-item label="联系人" prop="contacts"> 240 <el-form-item label="联系人" prop="contacts">
233 <div class="duiqi">{{info.cereBasicInformationShop.contacts || '无'}}</div> 241 <div class="duiqi">{{info.cereBasicInformationShop.contacts || '无'}}</div>
@@ -238,13 +246,9 @@ @@ -238,13 +246,9 @@
238 <div class="duiqi">{{info.cereBasicInformationShop.telephone || '无'}}</div> 246 <div class="duiqi">{{info.cereBasicInformationShop.telephone || '无'}}</div>
239 </el-form-item> 247 </el-form-item>
240 </el-col> 248 </el-col>
241 - <el-col :span="8">  
242 -  
243 - </el-col>  
244 </el-row> 249 </el-row>
245 - <el-form-item label="门牌号" prop="houseNumber">  
246 - <div class="duiqi">{{info.cereBasicInformationShop.houseNumber || '无'}}</div>  
247 - </el-form-item> 250 +
  251 +
248 <el-form-item label="详细位置" prop="detailedLocation"> 252 <el-form-item label="详细位置" prop="detailedLocation">
249 <div class="duiqi">{{info.cereBasicInformationShop.detailedLocation || '无'}}</div> 253 <div class="duiqi">{{info.cereBasicInformationShop.detailedLocation || '无'}}</div>
250 </el-form-item> 254 </el-form-item>
@@ -387,7 +391,7 @@ @@ -387,7 +391,7 @@
387 <el-radio v-model="radio" label="3">拒绝</el-radio> 391 <el-radio v-model="radio" label="3">拒绝</el-radio>
388 </el-form-item> 392 </el-form-item>
389 <el-form-item label="审核意见"> 393 <el-form-item label="审核意见">
390 - <el-input maxlength="200" show-word-limit rows="4" v-model="info.reviewComments" placeholder="请输入审核意见" 394 + <el-input maxlength="200" show-word-limit rows="4" v-model="info.auditSuggestions" placeholder="请输入审核意见"
391 type="textarea" /> 395 type="textarea" />
392 </el-form-item> 396 </el-form-item>
393 </el-form> 397 </el-form>
@@ -401,7 +405,7 @@ @@ -401,7 +405,7 @@
401 <div class="duiqi">{{info.auditStatus=='2'?'已通过':info.auditStatus=='3'?'不通过':'无'}}</div> 405 <div class="duiqi">{{info.auditStatus=='2'?'已通过':info.auditStatus=='3'?'不通过':'无'}}</div>
402 </el-form-item> 406 </el-form-item>
403 <el-form-item label="审核意见"> 407 <el-form-item label="审核意见">
404 - <div class="duiqi">{{info.reviewComments || '无'}}</div> 408 + <div class="duiqi">{{info.auditSuggestions || '无'}}</div>
405 </el-form-item> 409 </el-form-item>
406 </el-form> 410 </el-form>
407 </div> 411 </div>
@@ -503,7 +507,7 @@ @@ -503,7 +507,7 @@
503 msgedit({ 507 msgedit({
504 id: this.info.id, 508 id: this.info.id,
505 'auditStatus': this.radio, 509 'auditStatus': this.radio,
506 - reviewComments: this.info.reviewComments 510 + auditSuggestions: this.info.auditSuggestions
507 }).then(res => { 511 }).then(res => {
508 console.error(res) 512 console.error(res)
509 if (res.code == 200) { 513 if (res.code == 200) {
admin-web-master/src/components/resourceCommodity/index.vue
@@ -48,6 +48,16 @@ @@ -48,6 +48,16 @@
48 </el-form-item> 48 </el-form-item>
49 </el-col> 49 </el-col>
50 <el-col :span="8"> 50 <el-col :span="8">
  51 + <el-form-item label="所属绿道段" prop="belongingGreenwaySection">
  52 + <div class="duiqi">{{editbgid.belongingGreenwaySection || '无'}}</div>
  53 + </el-form-item>
  54 + </el-col>
  55 + <el-col :span="8">
  56 + <el-form-item label="门牌号" prop="houseNumber">
  57 + <div class="duiqi">{{editbgid.houseNumber || '无'}}</div>
  58 + </el-form-item>
  59 + </el-col>
  60 + <el-col :span="8">
51 <el-form-item label="归属部门" prop="belongingDepartment"> 61 <el-form-item label="归属部门" prop="belongingDepartment">
52 <div class="duiqi">{{editbgid.belongingDepartment || '无'}}</div> 62 <div class="duiqi">{{editbgid.belongingDepartment || '无'}}</div>
53 </el-form-item> 63 </el-form-item>
@@ -57,8 +67,6 @@ @@ -57,8 +67,6 @@
57 <div class="duiqi">{{editbgid.head || '无'}}</div> 67 <div class="duiqi">{{editbgid.head || '无'}}</div>
58 </el-form-item> 68 </el-form-item>
59 </el-col> 69 </el-col>
60 - </el-row>  
61 - <el-row :gutter="20">  
62 <el-col :span="8"> 70 <el-col :span="8">
63 <el-form-item label="联系人" prop="contacts"> 71 <el-form-item label="联系人" prop="contacts">
64 <div class="duiqi">{{editbgid.contacts || '无'}}</div> 72 <div class="duiqi">{{editbgid.contacts || '无'}}</div>
@@ -69,13 +77,8 @@ @@ -69,13 +77,8 @@
69 <div class="duiqi">{{editbgid.telephone || '无'}}</div> 77 <div class="duiqi">{{editbgid.telephone || '无'}}</div>
70 </el-form-item> 78 </el-form-item>
71 </el-col> 79 </el-col>
72 - <el-col :span="8">  
73 -  
74 - </el-col>  
75 </el-row> 80 </el-row>
76 - <el-form-item label="门牌号" prop="houseNumber">  
77 - <div class="duiqi">{{editbgid.houseNumber || '无'}}</div>  
78 - </el-form-item> 81 +
79 <el-form-item label="详细位置" prop="detailedLocation"> 82 <el-form-item label="详细位置" prop="detailedLocation">
80 <div class="duiqi">{{editbgid.detailedLocation || '无'}}</div> 83 <div class="duiqi">{{editbgid.detailedLocation || '无'}}</div>
81 </el-form-item> 84 </el-form-item>
admin-web-master/src/utils/request.js
@@ -17,13 +17,13 @@ let baseURL = &#39;&#39; @@ -17,13 +17,13 @@ let baseURL = &#39;&#39;
17 if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) { 17 if(host === 'localhost:8080' || host === 'localhost:8081' || host === 'localhost:9528'|| host === '192.168.31.45:9528'|| host === 'localhost:9529' ) {
18 18
19 // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; 19 // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1;
20 - baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server'; 20 + // baseURL = 'https://jy.scjysm.asia:18086/cdwlMall/meserver/admin-server';
21 // baseURL = 'http://172.16.61.125:9003'; 21 // baseURL = 'http://172.16.61.125:9003';
22 22
23 // baseURL = 'http://128.10.249.206:9003'; 23 // baseURL = 'http://128.10.249.206:9003';
24 24
25 25
26 - // baseURL = 'http://10.0.0.51:9003'; 26 + baseURL = 'http://128.10.250.204:9003';
27 27
28 // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1; 28 // baseURL = process.env.VUE_APP_DOMAIN_PREFIX_1;
29 // baseURL = 'http://192.168.2.225:9003'; 29 // baseURL = 'http://192.168.2.225:9003';
admin-web-master/src/views/customer/rsaManagement/genjin.vue
@@ -139,7 +139,7 @@ @@ -139,7 +139,7 @@
139 139
140 <el-form-item label="现场照片" > 140 <el-form-item label="现场照片" >
141 <div style="display:flex;flex-wrap: wrap;" v-if="msgEit" > 141 <div style="display:flex;flex-wrap: wrap;" v-if="msgEit" >
142 - <el-image 142 + <!-- <el-image
143 style="width: 100px; height: 100px;margin-right: 10px;" 143 style="width: 100px; height: 100px;margin-right: 10px;"
144 fit="fill" 144 fit="fill"
145 :src="$baseURL+item" 145 :src="$baseURL+item"
@@ -147,7 +147,10 @@ @@ -147,7 +147,10 @@
147 > 147 >
148 <div slot="error" class="image-slot"> 148 <div slot="error" class="image-slot">
149 149
150 - </div></el-image> 150 + </div></el-image> -->
  151 + <div style="display: flex;">
  152 + <allimg v-if="item" :src="item" fit="contain" v-for="item in imgList" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/>
  153 + </div>
151 </div> 154 </div>
152 <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos" 155 <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos"
153 @changimg="e=>changimg(e,'onSitePhotos')" :limit="3" v-if="msgEit==false" ></upimg> 156 @changimg="e=>changimg(e,'onSitePhotos')" :limit="3" v-if="msgEit==false" ></upimg>
@@ -266,9 +269,10 @@ @@ -266,9 +269,10 @@
266 import { 269 import {
267 getAlls as map1 270 getAlls as map1
268 } from '../../../api/map1' 271 } from '../../../api/map1'
  272 + import allimg from '@/components/chakan/allimg.vue';
269 export default { 273 export default {
270 components: { 274 components: {
271 - upimg 275 + upimg,allimg
272 }, 276 },
273 props: { 277 props: {
274 message: { 278 message: {
admin-web-master/src/views/customer/rsaManagement/tanpan.vue
@@ -102,7 +102,7 @@ @@ -102,7 +102,7 @@
102 </el-form-item> 102 </el-form-item>
103 <el-form-item label="现场照片" > 103 <el-form-item label="现场照片" >
104 <div v-if="msgEit" style="display:flex;flex-wrap: wrap"> 104 <div v-if="msgEit" style="display:flex;flex-wrap: wrap">
105 - <el-image 105 + <!-- <el-image
106 style="width: 100px; height: 100px;margin-right: 10px;" 106 style="width: 100px; height: 100px;margin-right: 10px;"
107 fit="fill" 107 fit="fill"
108 :src="$baseURL+item" 108 :src="$baseURL+item"
@@ -110,7 +110,10 @@ @@ -110,7 +110,10 @@
110 > 110 >
111 <div slot="error" class="image-slot"> 111 <div slot="error" class="image-slot">
112 </div> 112 </div>
113 - </el-image> 113 + </el-image> -->
  114 + <div style="display: flex;">
  115 + <allimg v-if="item" :src="item" fit="contain" v-for="item in imgList" style="width: 112px;height: 112px;border: 1px dotted #dcdfe6;border-radius: 2px;overflow: hidden;margin: 0 10px 10px 0;"/>
  116 + </div>
114 </div> 117 </div>
115 <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos" 118 <upimg filePath="yixiang" inputtype="onSitePhotos" :value="formInline.onSitePhotos"
116 @changimg="e=>changimg(e,'onSitePhotos')" :limit="3" v-if="msgEit==false" ></upimg> 119 @changimg="e=>changimg(e,'onSitePhotos')" :limit="3" v-if="msgEit==false" ></upimg>
@@ -142,6 +145,7 @@ @@ -142,6 +145,7 @@
142 } from '../../../api/inr.js' 145 } from '../../../api/inr.js'
143 import upimg from "@/components/ImageUpload/index" 146 import upimg from "@/components/ImageUpload/index"
144 import upfile from "@/components/fujianUpload/fujianList" 147 import upfile from "@/components/fujianUpload/fujianList"
  148 + import allimg from '@/components/chakan/allimg.vue';
145 import { 149 import {
146 getAlls 150 getAlls
147 } from '../../../api/information.js' 151 } from '../../../api/information.js'
@@ -151,7 +155,8 @@ @@ -151,7 +155,8 @@
151 export default { 155 export default {
152 components: { 156 components: {
153 upimg, 157 upimg,
154 - upfile 158 + upfile,
  159 + allimg
155 }, 160 },
156 props: { 161 props: {
157 message: { 162 message: {
admin-web-master/src/views/detect/analyse.vue
@@ -18,9 +18,9 @@ @@ -18,9 +18,9 @@
18 <el-option label="2" value="2" /> 18 <el-option label="2" value="2" />
19 </el-select> --> 19 </el-select> -->
20 <el-date-picker v-model="FormTime" value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期" 20 <el-date-picker v-model="FormTime" value-format="yyyy-MM-dd" type="daterange" range-separator="-" start-placeholder="开始日期"
21 - end-placeholder="结束日期" style="width: 200px;margin-right: 10px;ma" prefix-icon="none"> 21 + end-placeholder="结束日期" style="width: 300px;margin-right: 10px;" prefix-icon="none">
22 </el-date-picker> 22 </el-date-picker>
23 - <el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff">检索 23 + <el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff;">检索
24 </el-button> 24 </el-button>
25 <el-button @click="resetting" class="buttonHover" 25 <el-button @click="resetting" class="buttonHover"
26 style="color: #000;border: 1px solid #DBDBDB;background-color: #fff;">重置 26 style="color: #000;border: 1px solid #DBDBDB;background-color: #fff;">重置
@@ -85,7 +85,7 @@ @@ -85,7 +85,7 @@
85 </div> --> 85 </div> -->
86 </div> 86 </div>
87 <div style="display:flex;margin-top:10px;"> 87 <div style="display:flex;margin-top:10px;">
88 - <div style="width:48%;height: 400px;marigin-right:20px;"> 88 + <div style="width:48%;height: 400px;margin-right:20px;">
89 <div style="display: flex;justify-content: space-between;"> 89 <div style="display: flex;justify-content: space-between;">
90 <div style="line-height:35px;">租赁意向人群统计</div> 90 <div style="line-height:35px;">租赁意向人群统计</div>
91 <!-- <div> 91 <!-- <div>
@@ -97,7 +97,7 @@ @@ -97,7 +97,7 @@
97 </div> 97 </div>
98 <div ref="shop2BT" style="width:100%;height: 400px;"></div> 98 <div ref="shop2BT" style="width:100%;height: 400px;"></div>
99 </div> 99 </div>
100 - <div style="width:48%;height: 400px;marigin-right:20px;"> 100 + <div style="width:48%;height: 400px;margin-right:20px;">
101 <div style="display: flex;justify-content: space-between;"> 101 <div style="display: flex;justify-content: space-between;">
102 <div style="line-height:35px;">意向申请数量</div> 102 <div style="line-height:35px;">意向申请数量</div>
103 <!-- <div> 103 <!-- <div>
@@ -351,6 +351,18 @@ @@ -351,6 +351,18 @@
351 }, 351 },
352 computed: {}, 352 computed: {},
353 created() { 353 created() {
  354 + //获取今天日期和一个月前的日期
  355 + let today = new Date();
  356 + let monthAgo = new Date();
  357 + monthAgo.setMonth(monthAgo.getMonth() - 1);
  358 + monthAgo.setDate(monthAgo.getDate() + 1);
  359 + this.pageindex.startTime = monthAgo.toISOString().slice(0, 10);
  360 + this.pageindex.endTime = today.toISOString().slice(0, 10);
  361 + this.FormTime = [
  362 + this.pageindex.startTime,
  363 + this.pageindex.endTime
  364 + ]
  365 + console.error(this.pageindex)
354 this.getAll() 366 this.getAll()
355 367
356 }, 368 },
admin-web-master/src/views/detect/examine/index.vue
@@ -146,9 +146,9 @@ @@ -146,9 +146,9 @@
146 {{scope.row.cereBasicInformationVenue.venueType}} 146 {{scope.row.cereBasicInformationVenue.venueType}}
147 </template> 147 </template>
148 </el-table-column> 148 </el-table-column>
149 - <el-table-column label="实际使用面积" prop="actualUsableArea" show-overflow-tooltip> 149 + <el-table-column label="实际使用面积" prop="actualArea" show-overflow-tooltip>
150 <template slot-scope="scope"> 150 <template slot-scope="scope">
151 - {{scope.row.cereBasicInformationVenue.actualUsableArea}} 151 + {{scope.row.cereBasicInformationVenue.actualArea}}
152 </template> 152 </template>
153 </el-table-column> 153 </el-table-column>
154 <el-table-column label="策略名称" prop="policyName" show-overflow-tooltip> 154 <el-table-column label="策略名称" prop="policyName" show-overflow-tooltip>
admin-web-master/src/views/rent/audit/index.vue
@@ -11,17 +11,17 @@ @@ -11,17 +11,17 @@
11 <div class="formSearch"> 11 <div class="formSearch">
12 <el-form :inline="true" :model="pagequery"> 12 <el-form :inline="true" :model="pagequery">
13 <el-form-item label="资源名称"> 13 <el-form-item label="资源名称">
14 - <el-input v-model="pagequery.contractName" placeholder="请输入" style="width:168px;" /> 14 + <el-input v-model="pagequery.cereBasicInformationShop.shopName" placeholder="请输入" style="width:168px;" />
15 </el-form-item> 15 </el-form-item>
16 - <el-form-item label="资源类型" prop="belongingRegion">  
17 - <el-select v-model="pagequery.belongingRegion" clearable placeholder="请选择" style="width: 168px;margin-right: 15px">  
18 - <el-option label="商铺" value="商铺"></el-option>  
19 - <el-option label="场地" value="场地"></el-option> 16 + <el-form-item label="资源类型" prop="rentalResourcesId">
  17 + <el-select v-model="pagequery.rentalResourcesId" clearable placeholder="请选择" style="width: 168px;margin-right: 15px">
  18 + <el-option label="商铺" value="sp"></el-option>
  19 + <el-option label="场地" value="cd"></el-option>
20 20
21 </el-select> 21 </el-select>
22 </el-form-item> 22 </el-form-item>
23 <el-form-item label="联系电话"> 23 <el-form-item label="联系电话">
24 - <el-input v-model="pagequery.contractName" placeholder="请输入" style="width:168px;" /> 24 + <el-input v-model="pagequery.applicant" placeholder="请输入" style="width:168px;" />
25 </el-form-item> 25 </el-form-item>
26 <el-form-item label="状态" prop="auditStatus"> 26 <el-form-item label="状态" prop="auditStatus">
27 <el-select v-model="pagequery.auditStatus" clearable placeholder="请选择" style="width: 168px;margin-right: 15px"> 27 <el-select v-model="pagequery.auditStatus" clearable placeholder="请选择" style="width: 168px;margin-right: 15px">
@@ -174,7 +174,11 @@ @@ -174,7 +174,11 @@
174 dataStatus:'1', 174 dataStatus:'1',
175 pageNumber: 0, 175 pageNumber: 0,
176 pageSize: 10, 176 pageSize: 10,
177 - contractName: '' 177 + applicant: '',
  178 + rentalResourcesId:"",
  179 + cereBasicInformationShop: {
  180 + shopName: ""
  181 + }
178 }, 182 },
179 tableData: [], 183 tableData: [],
180 total: 0, 184 total: 0,
@@ -295,10 +299,14 @@ @@ -295,10 +299,14 @@
295 //重置按钮 299 //重置按钮
296 resetting() { 300 resetting() {
297 this.pagequery = { 301 this.pagequery = {
  302 + dataStatus:'1',
298 pageNumber: 0, 303 pageNumber: 0,
299 pageSize: 10, 304 pageSize: 10,
300 - dataStatus:'1',  
301 - contractName: '' 305 + applicant: '',
  306 + rentalResourcesId:"",
  307 + cereBasicInformationShop: {
  308 + shopName: ""
  309 + }
302 }, 310 },
303 this.getAll() 311 this.getAll()
304 }, 312 },
admin-web-master/src/views/scheme/sam.vue
@@ -76,7 +76,7 @@ @@ -76,7 +76,7 @@
76 <template slot-scope="scope"> 76 <template slot-scope="scope">
77 <div @click="details(scope.row)" class="tableBtn greens">查看</div> 77 <div @click="details(scope.row)" class="tableBtn greens">查看</div>
78 <div @click="removeinfo(scope.row)" class="tableBtn greens">编辑</div> 78 <div @click="removeinfo(scope.row)" class="tableBtn greens">编辑</div>
79 - <div @click="handleDelete(scope.row)" class="tableBtn greens">删除</div> 79 + <!-- <div @click="handleDelete(scope.row)" class="tableBtn greens">删除</div> -->
80 </template> 80 </template>
81 </el-table-column> 81 </el-table-column>
82 </el-table> 82 </el-table>
admin-web-master/src/views/shopRental/manage/index.vue
@@ -13,8 +13,16 @@ @@ -13,8 +13,16 @@
13 <el-form-item label="合同名称"> 13 <el-form-item label="合同名称">
14 <el-input v-model="pagequery.contractName" placeholder="请输入" style="width:168px;" /> 14 <el-input v-model="pagequery.contractName" placeholder="请输入" style="width:168px;" />
15 </el-form-item> 15 </el-form-item>
  16 + <el-form-item label="合同状态" prop="dataStatus">
  17 + <el-select v-model="pagequery.dataStatus" clearable placeholder="请选择" style="width: 168px;margin-right: 15px">
  18 + <el-option label="使用中" value="1"></el-option>
  19 + <el-option label="往期合同" value="2"></el-option>
  20 + <el-option label="已终止" value="3"></el-option>
  21 +
  22 + </el-select>
  23 + </el-form-item>
16 </el-form> 24 </el-form>
17 - 25 +
18 <div> 26 <div>
19 <el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff">查询 27 <el-button @click="onSubmit" style="background-color: #3F9B6A;color: #fff">查询
20 </el-button> 28 </el-button>
@@ -86,6 +94,7 @@ @@ -86,6 +94,7 @@
86 <el-table-column label="操作" min-width="150" fixed="right"> 94 <el-table-column label="操作" min-width="150" fixed="right">
87 <template slot-scope="scope"> 95 <template slot-scope="scope">
88 <div @click="details(scope.row)" class="tableBtn greens">查看</div> 96 <div @click="details(scope.row)" class="tableBtn greens">查看</div>
  97 + <div @click="OA(scope.row)" class="tableBtn greens">OA</div>
89 <div v-if='scope.row.dataStatus == 1' @click="removeinfo(scope.row,'合同变更')" class="tableBtn greens">合同变更</div> 98 <div v-if='scope.row.dataStatus == 1' @click="removeinfo(scope.row,'合同变更')" class="tableBtn greens">合同变更</div>
90 <div v-if='scope.row.dataStatus == 1' @click="removeinfo(scope.row,'合同续约')" class="tableBtn greens">合同续约</div> 99 <div v-if='scope.row.dataStatus == 1' @click="removeinfo(scope.row,'合同续约')" class="tableBtn greens">合同续约</div>
91 <div v-if='scope.row.dataStatus == 1' @click="removeinfozz(scope.row,'合同终止')" class="tableBtn greens">合同终止</div> 100 <div v-if='scope.row.dataStatus == 1' @click="removeinfozz(scope.row,'合同终止')" class="tableBtn greens">合同终止</div>
@@ -162,15 +171,16 @@ @@ -162,15 +171,16 @@
162 cereContractInformation 171 cereContractInformation
163 } from '@/api/commodityLease.js' 172 } from '@/api/commodityLease.js'
164 import { 173 import {
165 - modifyResourceStatus 174 + modifyResourceStatus,general
166 } from '@/api/newly.js' 175 } from '@/api/newly.js'
  176 + import axios from 'axios'
167 export default { 177 export default {
168 data() { 178 data() {
169 return { 179 return {
170 contractChangeReason: '', 180 contractChangeReason: '',
171 detailsinfo: {}, 181 detailsinfo: {},
172 pagequery: { 182 pagequery: {
173 - dataStatus:'1', 183 + // dataStatus:'1',
174 pageNumber: 0, 184 pageNumber: 0,
175 pageSize: 10, 185 pageSize: 10,
176 contractName: '' 186 contractName: ''
@@ -190,6 +200,86 @@ @@ -190,6 +200,86 @@
190 this.getAll() 200 this.getAll()
191 }, 201 },
192 methods: { 202 methods: {
  203 + async OA(row){
  204 + const response = await axios.get(this.$baseURL+row.appendicesContract);
  205 +
  206 + // 处理二进制数据
  207 + const blob = response.data;
  208 + console.log(blob);
  209 + // return
  210 + const base64Data = Buffer.from(blob, 'binary').toString('base64');
  211 + console.log(base64Data);
  212 + // return
  213 + const file = new File([blob], 'filename.txt', { type: 'text/plain' });
  214 + console.log(file);
  215 + let fd = new FormData();
  216 + fd.append('fileBytes', file); // 假设 formData 包含文件
  217 + fd.append('fileName', '"合同.txt"');
  218 + console.log(fd);
  219 + let c1 = {
  220 + "title":"这是一个流程",
  221 + "files": [
  222 + {
  223 + fileName:'合同.txt',
  224 + fileBytes:base64Data
  225 + // fileBytes:'Y4EdWbGGg6gsD4eHlUR3aUmr0Xz050KI'
  226 + }
  227 + ],
  228 + "reviewers": ["1768540680428331008"],
  229 + // "account":"zsfu-test",
  230 + // "password":"000009",
  231 + // "accessKey":"HfHJ1cDCX4PuwSC5hox0cvJCdvnNFGOC",
  232 + // "secretAccessKey":"t05ebUtKp06004E90bfUBv1145R49Zg4",
  233 + // "sponsor":"1858710592190291968",
  234 + // // "id":"5c19f869063e57766b127177143e5c5d",
  235 + // "isonData":"这里是外部系统需要传递数据集合",
  236 + // "messageId":"外部系统唯一id",
  237 + // "reviewers":['1768540680428331008','1768539930201563136']
  238 + }
  239 + // c1.files.push(fd)
  240 + console.log(c1);
  241 + general(c1).then(res => {
  242 +
  243 + })
  244 + return
  245 + // URL.createObjectURL(this.$baseURL+row.appendicesContract)
  246 + const xhr = new XMLHttpRequest();
  247 + xhr.open('GET', this.$baseURL+row.appendicesContract, true);
  248 + xhr.responseType = 'blob'; // 设置响应类型为 blob
  249 +
  250 + xhr.onload = () => {
  251 + if (xhr.status === 200) {
  252 + const blob = xhr.response;
  253 + console.log(blob);
  254 + // general({
  255 + // "title":"这是一个流程",
  256 + // "files": [{
  257 + // "fileBytes":blob,
  258 + // "fileName":"合同.txt"
  259 + // }]
  260 + // }).then(res => {
  261 +
  262 + // })
  263 + // 如果需要保存文件,可以创建一个 URL 对象并下载
  264 + const url = window.URL.createObjectURL(blob);
  265 + const link = document.createElement('a');
  266 + link.href = url;
  267 + console.log(link);
  268 + link.setAttribute('download', 'filename.ext'); // 设置下载的文件名
  269 + document.body.appendChild(link);
  270 + link.click();
  271 + document.body.removeChild(link);
  272 + } else {
  273 + console.error('下载文件时出错:', xhr.status);
  274 + }
  275 + };
  276 +
  277 + xhr.onerror = () => {
  278 + console.error('下载文件时出错');
  279 + };
  280 +
  281 + xhr.send();
  282 + },
193 gettime() { 283 gettime() {
194 // 获取当前时间 284 // 获取当前时间
195 let currentTime = new Date(); 285 let currentTime = new Date();
@@ -307,7 +397,7 @@ @@ -307,7 +397,7 @@
307 this.pagequery = { 397 this.pagequery = {
308 pageNumber: 0, 398 pageNumber: 0,
309 pageSize: 10, 399 pageSize: 10,
310 - dataStatus:'1', 400 + dataStatus:'',
311 contractName: '' 401 contractName: ''
312 }, 402 },
313 this.getAll() 403 this.getAll()