BUG修改
This commit is contained in:
parent
a2a4a5d92c
commit
c35d5789fc
|
@ -2,7 +2,7 @@
|
|||
* @Author: hisense.liangjunhua
|
||||
* @Date: 2022-06-29 15:59:51
|
||||
* @LastEditors: hisense.liangjunhua
|
||||
* @LastEditTime: 2022-07-01 09:29:57
|
||||
* @LastEditTime: 2022-07-04 16:17:22
|
||||
* @Description: 告诉大家这是什么
|
||||
-->
|
||||
<!-- 流程业务表单 -->
|
||||
|
@ -157,6 +157,7 @@ export default {
|
|||
})
|
||||
},
|
||||
downloadFile2 (url) {
|
||||
console.log(window.SITE_CONFIG.previewUrl)
|
||||
window.open(
|
||||
window.SITE_CONFIG.previewUrl +
|
||||
'hisense_office/onlinePreview?url=' +
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<!--
|
||||
* @Author: hisense.wuhongjian
|
||||
* @Date: 2022-03-29 16:45:25
|
||||
* @LastEditors: hisense.wuhongjian
|
||||
* @LastEditTime: 2022-07-02 00:01:06
|
||||
* @LastEditors: hisense.liangjunhua
|
||||
* @LastEditTime: 2022-07-04 14:13:57
|
||||
* @Description: 告诉大家这是什么
|
||||
-->
|
||||
<!DOCTYPE html>
|
||||
|
@ -28,10 +28,10 @@
|
|||
<!-- 站点配置 -->
|
||||
<script>
|
||||
window.SITE_CONFIG = {};
|
||||
window.SITE_CONFIG['backUrl'] = 'http://15.72.183.90:8001';
|
||||
window.SITE_CONFIG['previewUrl'] = 'http://15.72.183.90:7008/';
|
||||
window.SITE_CONFIG['frontUrl'] = 'http://15.72.183.90:7008/document/#/devModelFile/';
|
||||
window.SITE_CONFIG['apiURL'] = 'http://15.72.183.90:8000/renren-admin';
|
||||
// window.SITE_CONFIG['backUrl'] = 'http://15.72.183.90:8001';
|
||||
// window.SITE_CONFIG['previewUrl'] = 'http://15.72.183.90:7008/';
|
||||
// window.SITE_CONFIG['frontUrl'] = 'http://15.72.183.90:7008/document/#/devModelFile/';
|
||||
// window.SITE_CONFIG['apiURL'] = 'http://15.72.183.90:8000/renren-admin';
|
||||
// 包头
|
||||
// window.SITE_CONFIG['backUrl'] = 'http://10.110.205.1:8001';
|
||||
// window.SITE_CONFIG['previewUrl'] = 'http://10.110.205.1:8002/';
|
||||
|
@ -44,10 +44,10 @@
|
|||
// window.SITE_CONFIG['frontUrl'] = 'http://10.134.135.9:9796/document/#/devModelFile/';
|
||||
// window.SITE_CONFIG['apiURL'] = 'http://10.134.135.9:8888/renren-admin';
|
||||
// 开发
|
||||
// window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797';
|
||||
// window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.238:9796/';
|
||||
// window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.238:9796/document/#/devModelFile/';
|
||||
// window.SITE_CONFIG['apiURL'] = 'http://15.2.21.238:8888/renren-admin';
|
||||
window.SITE_CONFIG['backUrl'] = 'http://15.2.21.238:9797';
|
||||
window.SITE_CONFIG['previewUrl'] = 'http://15.2.21.238:9796/';
|
||||
window.SITE_CONFIG['frontUrl'] = 'http://15.2.21.238:9796/document/#/devModelFile/';
|
||||
window.SITE_CONFIG['apiURL'] = 'http://15.2.21.238:8888/renren-admin';
|
||||
window.SITE_CONFIG['POI_URL'] = 'http://15.72.178.129:8090/iserver/services/addressmatch-qingdaoPOI181015/restjsr/v1/address';
|
||||
// 穿透版本
|
||||
// window.SITE_CONFIG['backUrl'] = 'http://124.222.94.39:9797';
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @Author: hisense.zhangfeihu
|
||||
* @Date: 2022-06-13 10:22:27
|
||||
* @LastEditors: hisense.liangjunhua
|
||||
* @LastEditTime: 2022-06-20 18:58:40
|
||||
* @LastEditTime: 2022-07-04 15:32:52
|
||||
* @Description: 赋能案例-详情页
|
||||
-->
|
||||
<template>
|
||||
|
@ -172,7 +172,9 @@
|
|||
watch(
|
||||
() => router.currentRoute.value.query.id,
|
||||
() => {
|
||||
init()
|
||||
if (router.currentRoute.value.name == 'AssignCaseDetailPage') {
|
||||
init()
|
||||
}
|
||||
},
|
||||
{ immediate: true }
|
||||
)
|
||||
|
|
|
@ -315,7 +315,6 @@
|
|||
height: 20px;
|
||||
background: url(../../../assets/assignCase/left.png) no-repeat
|
||||
center;
|
||||
|
||||
margin-top: 30px;
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
@ -343,6 +342,10 @@
|
|||
color: #333333;
|
||||
margin-right: 30px;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
line-height: 30px;
|
||||
padding: 5px 10px;
|
||||
border-radius: 0.16rem;
|
||||
}
|
||||
span:nth-of-type(8n) {
|
||||
margin-right: 50px;
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
|
||||
<style scoped lang="less">
|
||||
.ability-to-apply-for {
|
||||
height: 290px;
|
||||
height: 2.9rem;
|
||||
overflow: hidden;
|
||||
.title {
|
||||
font-size: 0.16rem;
|
||||
|
@ -171,6 +171,7 @@
|
|||
}
|
||||
.all {
|
||||
height: unset;
|
||||
min-height: 2.9rem;
|
||||
}
|
||||
.btn {
|
||||
cursor: pointer;
|
||||
|
|
|
@ -267,11 +267,32 @@
|
|||
setup() {
|
||||
const router = useRouter()
|
||||
const disabled = ref(false)
|
||||
const list = ref(JSON.parse(localStorage.getItem('applyList')))
|
||||
const num = ref(0)
|
||||
list.value.map((item) => {
|
||||
if (item.checkedList) {
|
||||
console.log(item)
|
||||
num.value += Number(item.checkedList.length)
|
||||
}
|
||||
})
|
||||
console.log(
|
||||
'list',
|
||||
list.value,
|
||||
list.value[0].children.filter(
|
||||
(val) => val.id == list.value[0].checkedList[0]
|
||||
)[0].resourceName
|
||||
)
|
||||
const baseURL = window.SITE_CONFIG.apiURL
|
||||
let record = ref('1')
|
||||
const text = ref('')
|
||||
const formName = reactive({
|
||||
title: '', // 标题
|
||||
title: list.value[0].children
|
||||
.filter((val) => val.id == list.value[0].checkedList[0])[0]
|
||||
.resourceName.concat(
|
||||
list.value[0].checkedList.length > 0
|
||||
? '等能力申请' + num.value + '个'
|
||||
: '能力申请'
|
||||
), // 标题
|
||||
applicationSystem: [], // 应用系统
|
||||
applicationScene: [], // 应用场景
|
||||
applicationBackground: '', // 应用背景
|
||||
|
@ -294,7 +315,6 @@
|
|||
formName.unit = res.data.data.deptName
|
||||
})
|
||||
})
|
||||
const list = ref(JSON.parse(localStorage.getItem('applyList')))
|
||||
// console.log('本地存储====================》', list.value)
|
||||
const businessKey = ref(router.currentRoute.value.query.id)
|
||||
const taskId = ref(router.currentRoute.value.query.taskId)
|
||||
|
@ -425,7 +445,7 @@
|
|||
applySuccess.value = false
|
||||
message.success('操作成功!')
|
||||
console.log('能力申请================>', res)
|
||||
if (ids && ids.length>0) {
|
||||
if (ids && ids.length > 0) {
|
||||
sgcDel({ ids: ids }).then((res) => {
|
||||
if (res.data.msg === 'success') {
|
||||
mybus.emit('getSgcNum')
|
||||
|
@ -706,8 +726,4 @@
|
|||
justify-content: center;
|
||||
// position: fixed;
|
||||
}
|
||||
:deep(.ant-form-item-control-input-content) {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
<div v-if="selectCardsname !== '数据资源'">
|
||||
浏览量:{{ item.visits || 0 }}次
|
||||
</div>
|
||||
<div>申请量:{{ item.applyCount || 0 }}次</div>
|
||||
<div>申购量:{{ item.applyCount || 0 }}次</div>
|
||||
<div v-if="selectCardsname === '数据资源'">
|
||||
数据量:{{ item.sjlCount || 0 }}
|
||||
</div>
|
||||
|
|
|
@ -61,9 +61,9 @@
|
|||
</a-button>
|
||||
</div>
|
||||
<i class="boundary"></i>
|
||||
<!-- 添加至购物车 -->
|
||||
<!-- 添加至申购车 -->
|
||||
<a-button type="primary" @click="addShoppingCart" class="buttonAdd">
|
||||
添加至购物车
|
||||
添加至申购车
|
||||
</a-button>
|
||||
<!-- 一键申请 -->
|
||||
<a-button type="primary" @click="apply" class="buttonAdd">
|
||||
|
@ -253,6 +253,8 @@
|
|||
let tableHeight = ref('600')
|
||||
//tab切换点击事件
|
||||
const tabClick = (indexFather, name) => {
|
||||
selectedRowKeys.value = []
|
||||
selectedList.value = []
|
||||
if (clickList.value[indexFather].content.indexOf(name) != -1) {
|
||||
if (name == '视频资源') {
|
||||
tableHeight.value = 330
|
||||
|
@ -404,16 +406,20 @@
|
|||
}
|
||||
//加入申购车
|
||||
const addShoppingCart = () => {
|
||||
sgcInsert({
|
||||
delFlag: '0',
|
||||
resourceId: '8888888880000000001',
|
||||
note1: selectedList.value,
|
||||
// userId: userId.value,
|
||||
}).then((res) => {
|
||||
console.log(res)
|
||||
message.success('添加申购车成功!')
|
||||
mybus.emit('getSgcNum')
|
||||
})
|
||||
if (selectedList.value.length > 0) {
|
||||
sgcInsert({
|
||||
delFlag: '0',
|
||||
resourceId: '8888888880000000001',
|
||||
note1: selectedList.value,
|
||||
// userId: userId.value,
|
||||
}).then((res) => {
|
||||
console.log(res)
|
||||
message.success('添加申购车成功!')
|
||||
mybus.emit('getSgcNum')
|
||||
})
|
||||
} else {
|
||||
message.error('请选择需要添加申购车的数据')
|
||||
}
|
||||
}
|
||||
// 表格
|
||||
const dataSource = ref([])
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
<template #title>{{ item.name }}</template>
|
||||
<div class="content-body-title">
|
||||
<span
|
||||
v-if="item.name === '申请摄像头列表'"
|
||||
v-if="item.name === '申请摄像头列表' && item.ended"
|
||||
@click="showVideoList(item)"
|
||||
>
|
||||
名称:{{ item.name }}
|
||||
|
|
|
@ -108,7 +108,9 @@
|
|||
>
|
||||
<template #title>
|
||||
<span
|
||||
@click="showItem(item.id, item.type, item.delFlag)"
|
||||
@click="
|
||||
showItem(item.resourceId, item.type, item.delFlag)
|
||||
"
|
||||
style="cursor: pointer"
|
||||
class="name"
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue