Compare commits
No commits in common. "adeaa3d2d776b1f59148b96b79729f63fe35d6a3" and "e7c9dce4071f8df27aa6930199bfc9a7ecb8bcdf" have entirely different histories.
adeaa3d2d7
...
e7c9dce407
|
@ -1,10 +1,3 @@
|
|||
<!--
|
||||
* @Author: hisense.wuhongjian
|
||||
* @Date: 2022-06-14 09:30:22
|
||||
* @LastEditors: hisense.wuhongjian
|
||||
* @LastEditTime: 2022-11-11 11:06:48
|
||||
* @Description: 告诉大家这是什么
|
||||
-->
|
||||
<template>
|
||||
<transition name="el-fade-in-linear">
|
||||
<router-view />
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @Author: hisense.wuhongjian
|
||||
* @Date: 2022-05-11 20:03:41
|
||||
* @LastEditors: hisense.wuhongjian
|
||||
* @LastEditTime: 2022-11-11 11:07:09
|
||||
* @LastEditTime: 2022-06-06 13:08:06
|
||||
* @Description: 告诉大家这是什么
|
||||
*/
|
||||
import axios from 'axios'
|
||||
|
@ -102,7 +102,7 @@ http.interceptors.response.use(
|
|||
response['Access-Control-Expose-Headers'] = 'redirect'
|
||||
const { code, message } = response.data
|
||||
if (response.headers.token) {
|
||||
Cookies.set('ucsToken', response.headers.token, { expires: 'session' })
|
||||
Cookies.set('ucsToken', response.headers.token)
|
||||
}
|
||||
if (response.headers.redirect) {
|
||||
window.location.href = response.headers.redirect
|
||||
|
|
|
@ -73,7 +73,7 @@ export default {
|
|||
// 西海岸 v2 市局v3
|
||||
children.total = returnLocationStr() == 'qingdao' ? Number(this.numObject.abilityprocess_v3) : Number(this.numObject.abilityprocess_v2)
|
||||
daibanNum = Number(daibanNum) + Number(children.total)
|
||||
} if (children.id == '1559376285703081986') { // 会客厅审核
|
||||
} if (children.id == '1559376285703081986') { // 会议室审核
|
||||
children.total = Number(this.numObject.meetingroom_book)
|
||||
daibanNum = Number(daibanNum) + Number(children.total)
|
||||
} if (children.id == '1545292602084827138') { // 能力资源上架
|
||||
|
@ -88,7 +88,7 @@ export default {
|
|||
} if (children.id == '1545313754106699777') { // 评论审核
|
||||
children.total = Number(this.numObject.comment_review)
|
||||
daibanNum = Number(daibanNum) + Number(children.total)
|
||||
} if (children.id == '1554294862931562498') { // 会客厅 暂无
|
||||
} if (children.id == '1554294862931562498') { // 会议室 暂无
|
||||
children.total = 0
|
||||
daibanNum = Number(daibanNum) + Number(children.total)
|
||||
}
|
||||
|
|
|
@ -251,7 +251,6 @@ import qs from 'qs'
|
|||
import { pinyin } from 'pinyin-pro'
|
||||
import RelateApplication from './bsabilityai-relate-application.vue'
|
||||
import putOnTheShelf from '@/views/modules/putOnTheShelf'
|
||||
import Cookies from 'js-cookie'
|
||||
export default {
|
||||
mixins: [mixinViewModule],
|
||||
data () {
|
||||
|
@ -342,15 +341,6 @@ export default {
|
|||
}
|
||||
})
|
||||
},
|
||||
exportHandle () {
|
||||
window.open(window.SITE_CONFIG.apiURL + '/resource/export?token=' + Cookies.get('ucsToken') + '&' + qs.stringify({
|
||||
name: this.dataForm.name,
|
||||
type: '组件服务',
|
||||
orderField: 'pin_top',
|
||||
orderType: 'DESC',
|
||||
delFlag: 0
|
||||
}))
|
||||
},
|
||||
noToppingCapacity (item) {
|
||||
this.$http.put('/resource/cancel_pin_top/' + item.id).then(res => {
|
||||
if (res.data.code == 0) {
|
||||
|
@ -375,7 +365,6 @@ export default {
|
|||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
orderType: 'DESC',
|
||||
orderField: 'pin_top',
|
||||
infoList: [],
|
||||
delFlag: 0,
|
||||
type: '组件服务',
|
||||
|
@ -530,7 +519,6 @@ export default {
|
|||
pageNum: 1,
|
||||
pageSize: 10,
|
||||
orderType: 'DESC',
|
||||
orderField: 'pin_top',
|
||||
infoList: [],
|
||||
delFlag: 0,
|
||||
type: '组件服务',
|
||||
|
|
|
@ -227,7 +227,6 @@ import dictionaries from '@/utils/dictionaries'
|
|||
import RelateApplication from './bsabilityai-relate-application.vue'
|
||||
import qs from 'qs'
|
||||
import { type } from 'os'
|
||||
import Cookies from 'js-cookie'
|
||||
import putOnTheShelf from '@/views/modules/putOnTheShelf'
|
||||
|
||||
export default {
|
||||
|
@ -360,15 +359,6 @@ export default {
|
|||
'_blank'
|
||||
)
|
||||
},
|
||||
exportHandle () {
|
||||
window.open(window.SITE_CONFIG.apiURL + '/resource/export?token=' + Cookies.get('ucsToken') + '&' + qs.stringify({
|
||||
name: this.dataForm.name,
|
||||
type: '应用资源',
|
||||
orderField: 'pin_top',
|
||||
orderType: 'DESC',
|
||||
delFlag: 0
|
||||
}))
|
||||
},
|
||||
findValue (list, type) {
|
||||
const found = list.find((item) => item.attrType === type)
|
||||
if (found) {
|
||||
|
|
|
@ -69,15 +69,14 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
<!--资源名称 仅明细添加-->
|
||||
|
||||
|
||||
<el-form-item v-if="this.departmentId === 3 || this.departmentId === 4">
|
||||
<!-- <span v-if="this.departmentId === 2 || this.departmentId === 4">资源名称:</span> -->
|
||||
<el-input v-model="resourceName" placeholder="请输入资源名称" clearable></el-input>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<el-form :inline="true" style="display: flex;justify-content: end;margin-right: 40px;">
|
||||
<!--操作按钮查询-->
|
||||
<el-form-item>
|
||||
|
||||
<!--操作按钮查询-->
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="getDataList()">{{ $t('query') }}</el-button>
|
||||
</el-form-item>
|
||||
<!--操作按钮重置-->
|
||||
|
@ -236,7 +235,7 @@ import Template from '../devtools/template.vue'
|
|||
// })
|
||||
export default {
|
||||
components: { componentServices, applicationResources, ComponentUsed, AbilityDetail, Template },
|
||||
data () {
|
||||
data() {
|
||||
return {
|
||||
checked: false,
|
||||
departmentSelects: [],
|
||||
|
@ -348,7 +347,7 @@ export default {
|
|||
abilityType: '', // 能力
|
||||
beginTime: '', // 开始时间
|
||||
endTime: '', // 结束时间
|
||||
resourceName: '', // 资源名称
|
||||
resourceName:'',//资源名称
|
||||
typeOptions: [
|
||||
{ name: '智能算法', value: 1 },
|
||||
{ name: '图层服务', value: 2 },
|
||||
|
@ -370,7 +369,7 @@ export default {
|
|||
endDate: '' // 结束时间
|
||||
}
|
||||
},
|
||||
created () {
|
||||
created() {
|
||||
this.$http.get('/sys/dept/all').then(res => {
|
||||
// console.log('获取部门=========>', res)
|
||||
this.departmentSelects = []
|
||||
|
@ -391,7 +390,7 @@ export default {
|
|||
// const date2 = new Date(year2, month2, day2, 7)
|
||||
// this.value1.unshift(date2)
|
||||
},
|
||||
mounted () {
|
||||
mounted() {
|
||||
// this.getFirstTree()
|
||||
console.log('this.$route.query.Id;', this.$route.query.type)
|
||||
if (this.$route.query.type === 'use') {
|
||||
|
@ -411,7 +410,7 @@ export default {
|
|||
// ...mapState(['departmentSelects'])
|
||||
},
|
||||
methods: {
|
||||
chagneCheckbox () {
|
||||
chagneCheckbox() {
|
||||
if (this.checked) {
|
||||
this.tableData = this.tableDataClone.filter(val => val.count !== 0)
|
||||
this.total = this.tableData.length
|
||||
|
@ -420,7 +419,7 @@ export default {
|
|||
this.total = this.tableData.length
|
||||
}
|
||||
},
|
||||
closeModal () {
|
||||
closeModal() {
|
||||
this.detailsVisible = false
|
||||
},
|
||||
handleCurrentChange (val) {
|
||||
|
@ -440,7 +439,7 @@ export default {
|
|||
// this.getReleaseTree(val)
|
||||
// }
|
||||
},
|
||||
getTreeName (data) {
|
||||
getTreeName(data) {
|
||||
this.$http
|
||||
.get('/census/center/v3/treeList/', {
|
||||
params: {
|
||||
|
@ -470,7 +469,7 @@ export default {
|
|||
// },
|
||||
|
||||
// 组件服务部门发布情况--改为能力上架统计
|
||||
getFirstTree (page) {
|
||||
getFirstTree(page) {
|
||||
if (this.examineStatus == '-1') {
|
||||
this.status = ''
|
||||
} else if (this.examineStatus == '0') {
|
||||
|
@ -532,12 +531,12 @@ export default {
|
|||
deptId: this.abilityDepartment,
|
||||
startDate: this.startDate,
|
||||
endDate: this.endDate,
|
||||
resourceName: this.resourceName
|
||||
resourceName:this.resourceName
|
||||
})
|
||||
})
|
||||
},
|
||||
// 组件服务部门使用情况列表-改为能力使用统计
|
||||
getSecondTree (page) {
|
||||
getSecondTree(page) {
|
||||
if (this.examineStatus == '-1') {
|
||||
this.status = ''
|
||||
} else if (this.examineStatus == '0') {
|
||||
|
@ -599,13 +598,13 @@ export default {
|
|||
deptId: this.abilityDepartment,
|
||||
startDate: this.startDate,
|
||||
endDate: this.endDate,
|
||||
resourceName: this.resourceName
|
||||
|
||||
resourceName:this.resourceName
|
||||
|
||||
})
|
||||
})
|
||||
},
|
||||
// 点击查看详情
|
||||
detailClick (row) {
|
||||
detailClick(row) {
|
||||
this.detailParamss = {}
|
||||
const applyNumber = row.applyNumber
|
||||
if (this.departmentId == 3) { // 能力上架
|
||||
|
@ -647,7 +646,7 @@ export default {
|
|||
}
|
||||
},
|
||||
// 能力上架明细 能力上架统计
|
||||
getOneDetail (page) {
|
||||
getOneDetail(page) {
|
||||
var passAndReview = '' // 转变"通过"字段为通过
|
||||
if (this.examineStatus == '-1') {
|
||||
this.status = ''
|
||||
|
@ -670,7 +669,7 @@ export default {
|
|||
type: this.abilityType,
|
||||
startDate: this.startDate,
|
||||
endDate: this.endDate,
|
||||
resourceName: this.resourceName
|
||||
resourceName:this.resourceName
|
||||
}
|
||||
})
|
||||
.then((res) => {
|
||||
|
@ -683,12 +682,12 @@ export default {
|
|||
deptId: this.abilityDepartment,
|
||||
startDate: this.startDate,
|
||||
endDate: this.endDate,
|
||||
resourceName: this.resourceName
|
||||
resourceName:this.resourceName
|
||||
})
|
||||
})
|
||||
},
|
||||
// 能力使用明细 能力使用统计
|
||||
getTwoDetail (page) {
|
||||
getTwoDetail(page) {
|
||||
var passAndReview = '' // 转变"通过"字段为通过
|
||||
if (this.examineStatus == '-1') {
|
||||
this.status = ''
|
||||
|
@ -711,7 +710,7 @@ export default {
|
|||
type: this.abilityType,
|
||||
startDate: this.startDate,
|
||||
endDate: this.endDate,
|
||||
resourceName: this.resourceName
|
||||
resourceName:this.resourceName
|
||||
}
|
||||
})
|
||||
.then((res) => {
|
||||
|
@ -723,11 +722,11 @@ export default {
|
|||
deptId: this.abilityDepartment,
|
||||
startDate: this.startDate,
|
||||
endDate: this.endDate,
|
||||
resourceName: this.resourceName
|
||||
resourceName:this.resourceName
|
||||
})
|
||||
})
|
||||
},
|
||||
getReleaseTree (page) {
|
||||
getReleaseTree(page) {
|
||||
this.$http
|
||||
.get('/census/center/selectApplyDeptDetailTypeCountList/', {
|
||||
params: {
|
||||
|
@ -774,7 +773,7 @@ export default {
|
|||
})
|
||||
},
|
||||
// 应用资源部门使用情况列表
|
||||
getUsedTree () {
|
||||
getUsedTree() {
|
||||
this.$http
|
||||
.get('/census/center/v3/resourceReleaseDetails/', {
|
||||
params: {
|
||||
|
@ -788,7 +787,7 @@ export default {
|
|||
this.tableData = res.data.data.list
|
||||
})
|
||||
},
|
||||
handleClick (row) {
|
||||
handleClick(row) {
|
||||
if (this.choseId === 0) {
|
||||
if (this.departmentId === 1) {
|
||||
this.homeIsShow = false
|
||||
|
@ -809,7 +808,7 @@ export default {
|
|||
}
|
||||
},
|
||||
// 选择组件
|
||||
choseBtn (index) {
|
||||
choseBtn(index) {
|
||||
this.choseId = index
|
||||
this.handleChose(1)
|
||||
},
|
||||
|
@ -825,11 +824,11 @@ export default {
|
|||
// }
|
||||
// },
|
||||
// 选择发布or使用表格
|
||||
handleChose (index) {
|
||||
handleChose(index) {
|
||||
this.checked = false
|
||||
this.departmentId = index
|
||||
this.currentPage = 1
|
||||
this.pageSize = 10
|
||||
this.currentPage=1
|
||||
this.pageSize=10
|
||||
if (index === 1) {
|
||||
if (this.choseId === 0) {
|
||||
if (!this.detailFlag) {
|
||||
|
@ -869,32 +868,32 @@ export default {
|
|||
}
|
||||
},
|
||||
// 翻页
|
||||
handleSizeChange (val) {
|
||||
handleSizeChange(val) {
|
||||
console.log(`每页 ${val} 条`)
|
||||
},
|
||||
closeChild () {
|
||||
closeChild() {
|
||||
this.homeIsShow = true
|
||||
this.servicesIsShow = false
|
||||
this.handleCurrentChange(1)
|
||||
},
|
||||
closeChild2 () {
|
||||
closeChild2() {
|
||||
this.homeIsShow = true
|
||||
this.UsedIsShow = false
|
||||
this.handleCurrentChange(1)
|
||||
},
|
||||
closeApplication () {
|
||||
closeApplication() {
|
||||
this.homeIsShow = true
|
||||
this.resourcesIsShow = false
|
||||
this.handleCurrentChange(1)
|
||||
},
|
||||
changeIiem () {
|
||||
this.currentPage = 1
|
||||
this.pageSize = 10
|
||||
changeIiem(){
|
||||
this.currentPage=1
|
||||
this.pageSize=10
|
||||
},
|
||||
// 明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数//明细按钮函数
|
||||
goToDetail () {
|
||||
this.currentPage = 1
|
||||
this.pageSize = 10
|
||||
this.currentPage=1
|
||||
this.pageSize=10
|
||||
this.detailFlag = !this.detailFlag
|
||||
if (this.departmentId === 1) {
|
||||
this.handleChose(3)
|
||||
|
@ -906,10 +905,10 @@ export default {
|
|||
}
|
||||
},
|
||||
// 返回按钮
|
||||
goToBack () {
|
||||
goToBack() {
|
||||
this.checked = false
|
||||
this.currentPage = 1,
|
||||
this.pageSize = 10,
|
||||
this.currentPage=1,
|
||||
this.pageSize=10,
|
||||
// departmentId 1,3 2,4 两个值共同判断
|
||||
this.detailFlag = !this.detailFlag
|
||||
if (this.departmentId === 3) {
|
||||
|
@ -922,7 +921,7 @@ export default {
|
|||
}
|
||||
},
|
||||
// 点击查询按钮查询数据
|
||||
getDataList () {
|
||||
getDataList() {
|
||||
if (this.value1 && this.value1.length > 0) {
|
||||
// this.startDate = this.handleTime(this.value1[0], 'yyyy-MM-dd')
|
||||
// this.endDate = this.handleTime(this.value1[1], 'yyyy-MM-dd')
|
||||
|
@ -955,7 +954,7 @@ export default {
|
|||
}
|
||||
},
|
||||
// 重置按钮查询数据
|
||||
resetDataList () {
|
||||
resetDataList() {
|
||||
this.value1 = []
|
||||
this.startDate = ''
|
||||
this.endDate = ''
|
||||
|
@ -968,7 +967,7 @@ export default {
|
|||
deptId: this.abilityDepartment,
|
||||
startDate: this.startDate,
|
||||
endDate: this.endDate,
|
||||
resourceName: this.resourceName
|
||||
resourceName:this.resourceName
|
||||
})
|
||||
if (this.departmentId === 1) {
|
||||
// if (this.detailFlag) {
|
||||
|
@ -994,7 +993,7 @@ export default {
|
|||
}
|
||||
},
|
||||
// 定义格式化函数:
|
||||
handleTime (time, format) {
|
||||
handleTime(time, format) {
|
||||
if (time == null || time == undefined || time == '') {
|
||||
return ''
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<el-input
|
||||
v-model="roomNameA"
|
||||
style="width: 160px"
|
||||
placeholder="请输入会客厅名称"
|
||||
placeholder="请输入会议室名称"
|
||||
></el-input>
|
||||
<el-select
|
||||
v-model="value"
|
||||
|
@ -39,7 +39,7 @@
|
|||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="申请会客厅"
|
||||
label="申请会议室"
|
||||
prop="roomName"
|
||||
header-align="center"
|
||||
align="center"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<el-card shadow="never" class="roomBox">
|
||||
<div>
|
||||
<div slot="header" class="roomHeadSpan">
|
||||
<span>会客厅管理</span>
|
||||
<span>会议室管理</span>
|
||||
<el-button
|
||||
style="float: right; padding: 5px 5px"
|
||||
type="primary"
|
||||
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
<el-table border style="width: 100%" :data="tableData">
|
||||
<el-table-column
|
||||
label="会客厅名称"
|
||||
label="会议室名称"
|
||||
prop="name"
|
||||
header-align="center"
|
||||
align="center"
|
||||
|
@ -70,10 +70,10 @@
|
|||
@close="outDialog"
|
||||
:title="
|
||||
flge === 'add'
|
||||
? '会客厅新增'
|
||||
? '会议室新增'
|
||||
: flge === 'look'
|
||||
? '会客厅详情'
|
||||
: '会客厅修改'
|
||||
? '会议室详情'
|
||||
: '会议室修改'
|
||||
"
|
||||
:visible.sync="dialogFormVisible"
|
||||
>
|
||||
|
@ -88,7 +88,7 @@
|
|||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="会客厅名称"
|
||||
label="会议室名称"
|
||||
prop="name"
|
||||
:label-width="formLabelWidth"
|
||||
>
|
||||
|
@ -106,7 +106,7 @@
|
|||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item
|
||||
label="会客厅面积(m²)"
|
||||
label="会议室面积(m²)"
|
||||
prop="area"
|
||||
:label-width="formLabelWidth"
|
||||
>
|
||||
|
@ -143,7 +143,7 @@
|
|||
</el-col>
|
||||
<el-col>
|
||||
<el-form-item
|
||||
label="会客厅图片"
|
||||
label="会议室图片"
|
||||
prop="pic"
|
||||
:label-width="formLabelWidth"
|
||||
>
|
||||
|
@ -241,11 +241,11 @@ export default {
|
|||
fileList: [],
|
||||
rules: {
|
||||
name: [
|
||||
{ required: true, message: '请输入会客厅名称', trigger: 'blur' },
|
||||
{ required: true, message: '请输入会议室名称', trigger: 'blur' },
|
||||
{ min: 1, trigger: 'blur' }
|
||||
],
|
||||
area: [
|
||||
{ required: true, message: '请输入会客厅面积', trigger: 'blur' }
|
||||
{ required: true, message: '请输入会议室面积', trigger: 'blur' }
|
||||
// { min: 1, message: '请输入数字', type: 'number', trigger: 'blur' }
|
||||
],
|
||||
description: [
|
||||
|
@ -381,7 +381,7 @@ export default {
|
|||
},
|
||||
// 删除图片
|
||||
taskDelete (row) {
|
||||
this.$confirm('此操作将永久删除该会客厅, 是否继续?', '提示', {
|
||||
this.$confirm('此操作将永久删除该会议室, 是否继续?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
|
|
|
@ -11,12 +11,12 @@
|
|||
<el-form-item>
|
||||
<ren-select v-model="dataForm.gender" dict-type="gender" :placeholder="$t('user.gender')"></ren-select>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item>
|
||||
<el-form-item>
|
||||
<el-select v-model="dataForm.postId" :placeholder="$t('user.postIdList')" clearable>
|
||||
<el-option :label="data.postName" v-for="data in postList" :key="data.id" :value="data.id">{{ data.postName
|
||||
}}</el-option>
|
||||
</el-select>
|
||||
</el-form-item> -->
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<ren-dept-tree v-model="dataForm.deptId" :placeholder="$t('dept.title')" :query="true" ref="renDeptTree">
|
||||
</ren-dept-tree>
|
||||
|
|
|
@ -115,7 +115,7 @@ export default {
|
|||
this.getCaptcha()
|
||||
return this.$message.error(res.msg)
|
||||
}
|
||||
Cookies.set('ucsToken', res.data.token, { expires: 'session' })
|
||||
Cookies.set('ucsToken', res.data.token)
|
||||
this.$router.replace({ path: '/home' })
|
||||
}).catch(() => {})
|
||||
})
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @Author: hisense.wuhongjian
|
||||
* @Date: 2020-07-07 16:03:23
|
||||
* @LastEditors: hisense.wuhongjian
|
||||
* @LastEditTime: 2022-11-14 10:00:17
|
||||
* @LastEditTime: 2022-11-09 17:06:33
|
||||
* @Description: 系统静态参数配置
|
||||
*/
|
||||
var _global = {}
|
||||
|
|
|
@ -454,7 +454,7 @@ export function getDevelopDocTree(params) {
|
|||
})
|
||||
}
|
||||
|
||||
//会客厅查询接口
|
||||
//会议室查询接口
|
||||
export function getRoomSearch(params) {
|
||||
return request({
|
||||
url: '/bookMeeting/list',
|
||||
|
|
|
@ -7,34 +7,6 @@ export function getMyProcessInstancePage(params) {
|
|||
params,
|
||||
})
|
||||
}
|
||||
export function getResourceBusinessList(params) {
|
||||
return request({
|
||||
url: 'resource/getResourceBusinessList',
|
||||
method: 'post',
|
||||
params,
|
||||
})
|
||||
}
|
||||
export function getVideoBusinessList(params) {
|
||||
return request({
|
||||
url: 'resource/getVideoBusinessList',
|
||||
method: 'post',
|
||||
params,
|
||||
})
|
||||
}
|
||||
export function yaweiApproveStatus(params) {
|
||||
return request({
|
||||
url: 'resource/ZywMessage/yaweiApproveStatus',
|
||||
method: 'get',
|
||||
params,
|
||||
})
|
||||
}
|
||||
export function yaweiApproveDetails(params) {
|
||||
return request({
|
||||
url: 'resource/ZywMessage/yaweiApproveDetails',
|
||||
method: 'get',
|
||||
params,
|
||||
})
|
||||
}
|
||||
export function getTabilityapplication(params) {
|
||||
return request({
|
||||
url: '/processForm/tabilityapplication/my_page',
|
||||
|
|
Before Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 245 B |
Before Width: | Height: | Size: 241 B |
Before Width: | Height: | Size: 223 B |
Before Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 302 B |
Before Width: | Height: | Size: 655 B |
Before Width: | Height: | Size: 267 B |
|
@ -8,7 +8,6 @@
|
|||
<template>
|
||||
<div class="box">
|
||||
<div class="header">能力上架申请</div>
|
||||
|
||||
<div class="top">
|
||||
<div
|
||||
v-for="(nav, index) in navList"
|
||||
|
|
|
@ -1386,6 +1386,7 @@
|
|||
background: url(~@/assets/home/sf_del.png) no-repeat;
|
||||
margin-right: 0.05rem;
|
||||
}
|
||||
|
||||
div {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
@ -763,7 +763,7 @@
|
|||
next()
|
||||
},
|
||||
setup() {
|
||||
//会客厅传的标识6
|
||||
//会议室传的标识6
|
||||
const flag = ref('')
|
||||
let componentTypeArray = ['组件类型', '应用领域']
|
||||
const handleAdd = (value) => {
|
||||
|
@ -1169,43 +1169,28 @@
|
|||
str = searchValue.value.substring(0, 2)
|
||||
r = re.test(str)
|
||||
}
|
||||
if (searchValue.value.length > 1 && r) {
|
||||
if (
|
||||
(searchValue.value.length > 1 && r) ||
|
||||
paramsGetResources.type === '基础设施'
|
||||
) {
|
||||
flag = false
|
||||
} else {
|
||||
flag = true
|
||||
}
|
||||
getCountByFuzzyQuery(searchValue.value || '', flag).then((res) => {
|
||||
console.log('全局搜索==========》', res.data.data)
|
||||
const arr = []
|
||||
const sortArr = [
|
||||
'应用资源',
|
||||
'组件服务',
|
||||
'基础设施',
|
||||
'数据资源',
|
||||
'知识库',
|
||||
]
|
||||
globalData.data = res.data.data
|
||||
let mapFlag = true
|
||||
res.data.data.map((val) => {
|
||||
if (val.count != 0) {
|
||||
if (mapFlag && val.count != 0) {
|
||||
mapFlag = false
|
||||
arr.push(val.type)
|
||||
if (Cardsname.value === val.type) {
|
||||
getAppResources2()
|
||||
} else {
|
||||
changeCards(val.type)
|
||||
}
|
||||
}
|
||||
})
|
||||
arr.sort((a, b) => {
|
||||
return sortArr.indexOf(a) - sortArr.indexOf(b)
|
||||
})
|
||||
console.log('arr', arr, Cardsname.value)
|
||||
// if (Cardsname.value === arr[0]) {
|
||||
// getAppResources2()
|
||||
// } else {
|
||||
// changeCards(arr[0])
|
||||
// }
|
||||
if (arr[0]) {
|
||||
changeCards(arr[0])
|
||||
} else {
|
||||
changeCards('应用资源')
|
||||
}
|
||||
if (!mapFlag) {
|
||||
return
|
||||
}
|
||||
|
@ -1302,7 +1287,10 @@
|
|||
str = searchValue.value.substring(0, 2)
|
||||
r = re.test(str)
|
||||
}
|
||||
if (searchValue.value.length > 1 && r) {
|
||||
if (
|
||||
(searchValue.value.length > 1 && r) ||
|
||||
paramsGetResources.type === '基础设施'
|
||||
) {
|
||||
paramsGetResources.nonChinese = false
|
||||
paramsGetResources.name = searchValue.value
|
||||
paramsGetResources.type = Cardsname.value
|
||||
|
@ -1784,7 +1772,6 @@
|
|||
Cardsname.value = name
|
||||
newQuery.select = Cardsname.value
|
||||
newQuery.type = ''
|
||||
newQuery.zwy = ''
|
||||
router
|
||||
.replace({
|
||||
query: newQuery,
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
@click="roomResults"
|
||||
:class="roomYuyue ? 'roomBackground' : 'nullBackground'"
|
||||
>
|
||||
会客厅预约
|
||||
会议室预约
|
||||
</div>
|
||||
<div
|
||||
class="leftBottom"
|
||||
|
@ -46,7 +46,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="roomSearch">
|
||||
<span>会客厅搜索</span>
|
||||
<span>会议室搜索</span>
|
||||
<div class="searchInput">
|
||||
<a-input-search
|
||||
v-model:value="roomInput"
|
||||
|
@ -65,7 +65,7 @@
|
|||
</div>
|
||||
<div v-if="roomYuyue">
|
||||
<div class="roomTableList">
|
||||
<span>会客厅列表</span>
|
||||
<span>会议室列表</span>
|
||||
<div class="roomTime">
|
||||
<span>可用时间查询</span>
|
||||
<a-space direction="vertical" class="roomSpace">
|
||||
|
@ -251,7 +251,7 @@
|
|||
</a-modal>
|
||||
<a-modal
|
||||
v-model:visible="appointmentRoom"
|
||||
title="会客厅预约"
|
||||
title="会议室预约"
|
||||
width="10rem"
|
||||
@ok="handleOk"
|
||||
:body-style="bodystyle"
|
||||
|
@ -289,7 +289,7 @@
|
|||
>
|
||||
<div class="imgJinggao"></div>
|
||||
<span style="color: #da2a13; font-size: 0.12rem">
|
||||
当日会客厅可用时段:{{ roomDateList[0] }}
|
||||
当日会议室可用时段:{{ roomDateList[0] }}
|
||||
</span>
|
||||
</div>
|
||||
</a-col>
|
||||
|
@ -922,7 +922,7 @@
|
|||
showSizeChanger: true,
|
||||
pageSizeOptions: ['10', '30', '50', '100', '1000'], //每页中显示的数据
|
||||
})
|
||||
//会客厅变量区域=======
|
||||
//会议室变量区域=======
|
||||
const paginationRoom = ref({
|
||||
total: 0,
|
||||
current: 1,
|
||||
|
@ -1024,7 +1024,6 @@
|
|||
}
|
||||
// 消息列表页面
|
||||
let formPage = router.currentRoute.value.query.formPage || ''
|
||||
let zwy = router.currentRoute.value.query.zwy || ''
|
||||
// 设施类型--无人机和单兵设备
|
||||
let facilitiesType = router.currentRoute.value.query.facilitiesType || ''
|
||||
onMounted(() => {
|
||||
|
@ -1055,12 +1054,7 @@
|
|||
roomResult.value = true
|
||||
onSearch()
|
||||
} else {
|
||||
// 如果是通过自愿申请跳转 默认打开政务云资源
|
||||
if (zwy) {
|
||||
tabClick(0, '政务云资源')
|
||||
} else {
|
||||
tabClick(0, '城市云脑会客厅')
|
||||
}
|
||||
tabClick(0, '城市云脑会客厅')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1223,7 +1217,7 @@
|
|||
}
|
||||
|
||||
init()
|
||||
//点击会客厅左侧切换
|
||||
//点击会议室左侧切换
|
||||
const result = () => {
|
||||
roomYuyue.value = false
|
||||
roomResult.value = true
|
||||
|
@ -1270,10 +1264,10 @@
|
|||
}
|
||||
// 时间选择器限制----可用时间查询
|
||||
//获取不可选择的日期
|
||||
const disabledDate = (current) => {
|
||||
const time = moment().endOf('day').subtract(1, 'days')
|
||||
return current && current < time
|
||||
}
|
||||
const disabledDate = (current) => {
|
||||
const time = moment().endOf('day').subtract(1, 'days')
|
||||
return current && current < time
|
||||
}
|
||||
//获取不可选择的小时
|
||||
const disabledStartHours = () => {
|
||||
if (roomEndTime.value) {
|
||||
|
@ -1354,7 +1348,7 @@
|
|||
return seconds
|
||||
}
|
||||
}
|
||||
// 时间选择器限制----会客厅预约时段
|
||||
// 时间选择器限制----会议室预约时段
|
||||
//获取不可选择的小时
|
||||
const disabledTimeHours = () => {
|
||||
if (formState.endTime) {
|
||||
|
@ -1463,7 +1457,7 @@
|
|||
const handleChange = (i) => {
|
||||
let query = {
|
||||
date: i, //查询的riqi
|
||||
roomId: dateId.value, //会客厅主键
|
||||
roomId: dateId.value, //会议室主键
|
||||
}
|
||||
getDate(query).then(({ data: res }) => {
|
||||
roomDateList.value = res.data
|
||||
|
@ -1472,7 +1466,7 @@
|
|||
|
||||
const columnsRomm = [
|
||||
{
|
||||
title: '会客厅名称',
|
||||
title: '会议室名称',
|
||||
dataIndex: 'roomName',
|
||||
align: 'center',
|
||||
},
|
||||
|
@ -1536,13 +1530,13 @@
|
|||
console.log('error', err)
|
||||
})
|
||||
}
|
||||
//会客厅查询接口
|
||||
//会议室查询接口
|
||||
const searchData = () => {
|
||||
let query = {
|
||||
bookDate: roomCerateDate.value, // 预约开始时间 年月日
|
||||
startTime: roomCreateTime.value, //预约开始时 间时分秒
|
||||
endTime: roomEndTime.value, // 预约结束时间
|
||||
name: roomInput.value, //会客厅名称
|
||||
name: roomInput.value, //会议室名称
|
||||
page: roomPage.value, //页码
|
||||
limit: roomLimit.value, //每页条数
|
||||
}
|
||||
|
|
|
@ -187,8 +187,8 @@ let typeObj = {
|
|||
7: '需求后台',
|
||||
8: '评论前台',
|
||||
9: '评论后台',
|
||||
10: '会客厅前台',
|
||||
11: '会客厅后台',
|
||||
10: '会议室前台',
|
||||
11: '会议室后台',
|
||||
12: '其他'
|
||||
}
|
||||
|
||||
|
@ -214,7 +214,7 @@ let pageObj = {
|
|||
0: 'myAgent-CommentModeration',
|
||||
1: 'hasToDoTasks-CommentModeration',
|
||||
},
|
||||
'会客厅后台': {
|
||||
'会议室后台': {
|
||||
0: 'activiti-RoomExamineAdmin',
|
||||
1: 'activiti-RoomExamineAdmin',
|
||||
},
|
||||
|
@ -227,10 +227,10 @@ const tabTypeObj = {
|
|||
'下架前台': '能力下架',
|
||||
'需求前台': '需求评论',
|
||||
'评论前台': '需求评论',
|
||||
'会客厅前台': '会客厅前台'
|
||||
'会议室前台': '会议室前台'
|
||||
}
|
||||
|
||||
// 会客厅后台
|
||||
// 会议室后台
|
||||
const goPage = (item) => {
|
||||
if (item.jumpUrl && item.type !== 12) {
|
||||
let typeText = typeObj[item.type];
|
||||
|
@ -259,7 +259,7 @@ const goPage = (item) => {
|
|||
// let _page = pageObj[typeText][_applyState]
|
||||
// window.open(window.SITE_CONFIG.backUrl + `/#/${_page}`)
|
||||
// } else if (typeText.indexOf('前台') !== -1) {
|
||||
// if (typeText == '会客厅前台') {
|
||||
// if (typeText == '会议室前台') {
|
||||
// router.push({
|
||||
// path: '/DetailsPageconetent',
|
||||
// query: {
|
||||
|
|
|
@ -53,9 +53,6 @@
|
|||
let dataList = ref([])
|
||||
const getList = () => {
|
||||
selectRecommend().then((res) => {
|
||||
if (res.data.data.records.length > 9) {
|
||||
res.data.data.records.length = 9
|
||||
}
|
||||
dataList.value = res.data.data.records
|
||||
dataList.value.map((item, index) => {
|
||||
// debugger
|
||||
|
@ -98,7 +95,7 @@
|
|||
router.push({
|
||||
path: '/DetailsPageconetent',
|
||||
query: {
|
||||
select: DETAIL_PAGE_CONTENT_DEFAULT_TAB,
|
||||
select: DETAIL_PAGE_CONTENT_DEFAULT_TAB
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
|
@ -1,5 +1,57 @@
|
|||
<template>
|
||||
<div class="work-dynamics">
|
||||
<!-- <div class="title">
|
||||
<div>工作动态</div>
|
||||
<div class="title-son"></div>
|
||||
</div>
|
||||
<div class="content" v-if="dataList && dataList.length > 0">
|
||||
<div v-for="(item, index) in dataList" :key="item">
|
||||
<div class="content-one" v-if="index % 2 == 0">
|
||||
<div class="one">
|
||||
<a-image
|
||||
style="text-align: center"
|
||||
alt="暂无图片"
|
||||
:src="item.imageUrl"
|
||||
:fallback="imgSrc"
|
||||
/>
|
||||
</div>
|
||||
<div class="content-miaoshui">
|
||||
<div class="content-miaoshui-title">{{ item.title }}</div>
|
||||
<div class="content-miaoshui-content">
|
||||
{{ item.content }}
|
||||
</div>
|
||||
<div class="shijain">
|
||||
<div>{{ item.createDate }}发布</div>
|
||||
<div class="shijain-content-bootom" @click="selectOne(item.id)">
|
||||
查看详情
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-one" v-else>
|
||||
<div class="content-miaoshui">
|
||||
<div class="content-miaoshui-title">{{ item.title }}</div>
|
||||
<div class="content-miaoshui-content">
|
||||
{{ item.content }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="one">
|
||||
<a-image alt="暂无图片" :src="item.imageUrl" :fallback="imgSrc" />
|
||||
<div class="shijain">
|
||||
<div>{{ item.createDate }}发布</div>
|
||||
<div class="shijain-content-bootom" @click="selectOne(item.id)">
|
||||
查看详情
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<a-empty v-else></a-empty>
|
||||
<div class="bottom" @click="jumpPage()">
|
||||
查看更多
|
||||
<span class="gengduo"></span>
|
||||
</div> -->
|
||||
<div class="fixedmount">
|
||||
<div @click="applyResource()">
|
||||
<p></p>
|
||||
|
@ -13,9 +65,14 @@
|
|||
<p></p>
|
||||
<p>能力上架</p>
|
||||
<!-- <a-button type="primary" >Open Modal</a-button> -->
|
||||
<a-modal v-model:visible="visible" class="shangjia-class">
|
||||
<a-modal
|
||||
v-model:visible="visible"
|
||||
@ok="handleOk"
|
||||
class="shangjia-class"
|
||||
@cancel="handlecancel"
|
||||
>
|
||||
<div class="ant-modal-title" id="vcDialogTitle1">
|
||||
<!-- <div class="showBg"></div> -->
|
||||
<div class="showBg"></div>
|
||||
能力上架申请
|
||||
</div>
|
||||
<div class="ability-to-type">
|
||||
|
@ -35,31 +92,62 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="ability-to-type"
|
||||
class="component-type"
|
||||
v-if="abilityToTypeFunctionData == '组件服务'"
|
||||
>
|
||||
<div class="title">组件类型选择</div>
|
||||
<div class="component-type-content">
|
||||
<!-- <a-checkbox-group
|
||||
v-model:value="value1"
|
||||
name="checkboxgroup"
|
||||
:options="componentType"
|
||||
/> -->
|
||||
<a-radio-group v-model:value="componentTypeValue">
|
||||
<a-radio
|
||||
@click="componentTypeValueFunction(item)"
|
||||
v-for="item in componentType"
|
||||
:key="item"
|
||||
:value="item"
|
||||
>
|
||||
{{ item }}
|
||||
</a-radio>
|
||||
</a-radio-group>
|
||||
</div>
|
||||
</div>
|
||||
</a-modal>
|
||||
</div>
|
||||
<!-- <div @click="showAbilitySquare">
|
||||
<p></p>
|
||||
<p>能力广场</p>
|
||||
<a-modal
|
||||
v-model:visible="visibleAbilitySquare"
|
||||
@ok="handleOkAbilitySquare"
|
||||
class="shangjia-class"
|
||||
@cancel="handlecancelAbilitySquare"
|
||||
>
|
||||
<div class="ant-modal-title" id="vcDialogTitle1">
|
||||
<div class="showBg"></div>
|
||||
能力广场目录
|
||||
</div>
|
||||
<div class="ability-to-type">
|
||||
<div class="ability-to-type-content">
|
||||
<div
|
||||
v-for="item in componentType"
|
||||
v-for="item in abilitySquare"
|
||||
:key="item"
|
||||
@click="componentTypeValueFunction(item)"
|
||||
@click="abilitySquareFunction(item)"
|
||||
:class="
|
||||
componentTypeValue == item ? 'ability-to-type-down' : ''
|
||||
abilitySquareFunctionData == item
|
||||
? 'ability-to-type-down'
|
||||
: ''
|
||||
"
|
||||
>
|
||||
{{ item }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<template v-slot:footer>
|
||||
<a-button class="shenqing" @click="handleOk">申请</a-button>
|
||||
<a-button class="quxiao" @click="handlecancel">取消</a-button>
|
||||
</template>
|
||||
</a-modal>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -88,7 +176,6 @@
|
|||
function abilityToTypeFunction(item) {
|
||||
abilityToTypeFunctionData.value = item
|
||||
}
|
||||
|
||||
let abilityToType = ref(['组件服务', '应用资源'])
|
||||
let abilitySquare = ref(['智能算法', '图层服务', '应用资源'])
|
||||
let componentType = ref([
|
||||
|
@ -110,7 +197,6 @@
|
|||
}
|
||||
let componentTypeValueOld = ref('')
|
||||
function componentTypeValueFunction(item) {
|
||||
componentTypeValue.value = item
|
||||
if (componentTypeValueOld.value != item) {
|
||||
componentTypeValue.value = item
|
||||
componentTypeValueOld.value = item
|
||||
|
@ -235,7 +321,6 @@
|
|||
path: '/DetailsPageconetent',
|
||||
query: {
|
||||
select: '基础设施',
|
||||
zwy: true,
|
||||
},
|
||||
})
|
||||
}
|
||||
|
@ -249,32 +334,7 @@
|
|||
margin-top: -1.44rem;
|
||||
font-size: 0.14rem;
|
||||
font-weight: 500;
|
||||
.ant-modal-footer {
|
||||
border: 0;
|
||||
text-align: center;
|
||||
margin-top: 24px;
|
||||
padding-bottom: 24px;
|
||||
|
||||
.shenqing {
|
||||
background: #0058e1;
|
||||
color: #ffffff;
|
||||
width: 90px;
|
||||
height: 32px;
|
||||
border-radius: 2px;
|
||||
border: 1px #0058e1 solid;
|
||||
}
|
||||
.quxiao {
|
||||
width: 90px;
|
||||
height: 32px;
|
||||
background: #ffffff;
|
||||
color: #0058e1;
|
||||
border-radius: 2px;
|
||||
border: 1px #0058e1 solid;
|
||||
}
|
||||
}
|
||||
.ant-modal-body {
|
||||
padding: 0px !important;
|
||||
}
|
||||
.ant-radio-inner {
|
||||
height: 0.16rem;
|
||||
width: 0.16rem;
|
||||
|
@ -286,21 +346,17 @@
|
|||
background-position: center;
|
||||
}
|
||||
.ant-modal-content {
|
||||
border-radius: 2px;
|
||||
border: 1px #e6e9ed solid;
|
||||
width: 690px;
|
||||
box-shadow: 0px 4px 20px rgb(0, 0, 0, 0.5);
|
||||
border-radius: 0.1rem;
|
||||
.ability-to-type,
|
||||
.component-type {
|
||||
display: flex;
|
||||
margin-top: 24px;
|
||||
margin-left: 24px;
|
||||
margin-top: 0.2rem;
|
||||
.title {
|
||||
white-space: nowrap;
|
||||
margin-right: 0.2rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 0.26rem;
|
||||
font-size: 16px;
|
||||
}
|
||||
.component-type-content {
|
||||
width: 100%;
|
||||
|
@ -309,7 +365,7 @@
|
|||
background: unset;
|
||||
.ant-radio-group {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto auto auto;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
grid-gap: 0.15rem;
|
||||
}
|
||||
}
|
||||
|
@ -318,26 +374,20 @@
|
|||
.ability-to-type {
|
||||
.ability-to-type-content {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto auto auto;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
height: unset;
|
||||
border: unset;
|
||||
background: unset;
|
||||
margin-left: 20px;
|
||||
div {
|
||||
&:hover {
|
||||
background: #0058e1;
|
||||
cursor: pointer;
|
||||
color: #ffffff;
|
||||
}
|
||||
margin-right: 16px;
|
||||
margin-right: 0.15rem;
|
||||
cursor: pointer;
|
||||
font-size: 16px;
|
||||
width: 90px;
|
||||
height: 32px;
|
||||
border-radius: 2px;
|
||||
color: #0058e1;
|
||||
background: #ffffff;
|
||||
border: 1px #0058e1 solid;
|
||||
font-size: 0.14rem;
|
||||
width: 0.9rem;
|
||||
height: 0.26rem;
|
||||
border-radius: 0.13rem;
|
||||
color: #333333;
|
||||
background: #f5f5f5;
|
||||
border: 0.01rem #cccccc solid;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
@ -345,7 +395,7 @@
|
|||
}
|
||||
|
||||
.ability-to-type-down {
|
||||
background: #0058e1;
|
||||
background: #0087ff;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
@ -355,25 +405,15 @@
|
|||
.ant-modal-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin: 0px 24px;
|
||||
padding-top: 24px;
|
||||
padding-bottom: 22px;
|
||||
color: #212121;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
border-bottom: 2px solid #ebeced;
|
||||
}
|
||||
|
||||
.ant-modal-footer {
|
||||
border: 0;
|
||||
text-align: center;
|
||||
padding-bottom: 0.2rem;
|
||||
margin-top: 50px;
|
||||
button {
|
||||
margin-right: 12px;
|
||||
border-radius: 2px;
|
||||
margin-right: 0.2rem;
|
||||
border-radius: 0.08rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -18,31 +18,12 @@
|
|||
></OffTheShelf>
|
||||
<Demand :refObj="refObj" v-else-if="showType === '能力需求'"></Demand>
|
||||
<Comment :refObj="refObj" v-else-if="showType === '需求评论'"></Comment>
|
||||
<dataResourceApplication
|
||||
:refObj="refObj"
|
||||
v-else-if="showType === '数据资源申请'"
|
||||
></dataResourceApplication>
|
||||
<cloudResources
|
||||
:refObj="refObj"
|
||||
v-else-if="showType === '云资源'"
|
||||
></cloudResources>
|
||||
<OtherApplications :refObj="refObj" v-else></OtherApplications>
|
||||
<div v-if="showType !== '云资源'">
|
||||
<div>
|
||||
<div class="title">审批详情</div>
|
||||
<template v-for="item in dataSource.data" :key="item">
|
||||
<div class="oddNumbers">子单号:{{ item[0] }}</div>
|
||||
<a-table
|
||||
:dataSource="item[1]"
|
||||
:columns="dataSourceColumns"
|
||||
v-if="showType === '数据资源申请'"
|
||||
>
|
||||
<template #bodyCell="{ column, text }">
|
||||
<template v-if="column.dataIndex === 'name'">
|
||||
<a>{{ text }}</a>
|
||||
</template>
|
||||
</template>
|
||||
</a-table>
|
||||
<a-table :dataSource="item[1]" :columns="columns" v-else>
|
||||
<a-table :dataSource="item[1]" :columns="columns">
|
||||
<template #bodyCell="{ column, text }">
|
||||
<template v-if="column.dataIndex === 'name'">
|
||||
<a>{{ text }}</a>
|
||||
|
@ -59,8 +40,6 @@
|
|||
import OffTheShelf from './OffTheShelf.vue'
|
||||
import Demand from './Demand.vue'
|
||||
import Comment from './Comment.vue'
|
||||
import dataResourceApplication from './dataResourceApplication.vue'
|
||||
import cloudResources from './cloudResources.vue'
|
||||
import DeviceApplyDetail from './DeviceApplyDetail.vue'
|
||||
import OtherApplications from '@/views/personalCenter/components/OtherApplications '
|
||||
import { onMounted, reactive, defineProps, ref } from 'vue'
|
||||
|
@ -180,32 +159,6 @@
|
|||
width: '180px',
|
||||
},
|
||||
]
|
||||
const dataSourceColumns = [
|
||||
{
|
||||
title: '操作',
|
||||
dataIndex: 'cz',
|
||||
key: 'cz',
|
||||
width: '180px',
|
||||
},
|
||||
{
|
||||
title: '处理用户',
|
||||
dataIndex: 'czyh',
|
||||
key: 'czyh',
|
||||
width: '180px',
|
||||
},
|
||||
{
|
||||
title: '处理时间',
|
||||
dataIndex: 'clsj',
|
||||
key: 'clsj',
|
||||
width: '180px',
|
||||
},
|
||||
{
|
||||
title: '备注',
|
||||
dataIndex: 'remark',
|
||||
key: 'remark',
|
||||
width: '180px',
|
||||
},
|
||||
]
|
||||
const getInfo = () => {
|
||||
console.log(props.processInstanceId, '============================')
|
||||
if (props.processDefinitionName == '能力申请') {
|
||||
|
|
|
@ -12,10 +12,7 @@
|
|||
{{ item }}
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="tab"
|
||||
v-show="typeIndex != 5 && typeIndex != 6 && typeIndex != 7"
|
||||
>
|
||||
<div class="tab">
|
||||
<span>申请状态</span>
|
||||
<div
|
||||
:class="tabIndex == index ? 'tabclass' : ' '"
|
||||
|
@ -34,24 +31,6 @@
|
|||
</template>
|
||||
</div>
|
||||
</div>
|
||||
<a-form
|
||||
:model="formState"
|
||||
name="basic"
|
||||
:label-col="{ span: 8 }"
|
||||
:wrapper-col="{ span: 16 }"
|
||||
autocomplete="off"
|
||||
@submit="onSubmit"
|
||||
v-if="typeIndex == 6 || typeIndex == 7"
|
||||
style="display: flex; margin-top: 10px; margin-left: -35px"
|
||||
>
|
||||
<a-form-item label="名称" name="name">
|
||||
<a-input v-model:value="formState.name" />
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item :wrapper-col="{ offset: 8, span: 16 }">
|
||||
<a-button type="primary" html-type="submit">搜索</a-button>
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
<div v-if="contentList.data.length > 0">
|
||||
<div class="content">
|
||||
<div
|
||||
|
@ -60,71 +39,32 @@
|
|||
:key="item.index"
|
||||
>
|
||||
<div class="content-body-title">
|
||||
<span>
|
||||
申请单号:{{
|
||||
item.applyNumber || item.GUID || item.BSNUM || '--'
|
||||
}}
|
||||
</span>
|
||||
<span>申请单号:{{ item.applyNumber || '--' }}</span>
|
||||
<div></div>
|
||||
</div>
|
||||
<a-tooltip>
|
||||
<template #title>
|
||||
{{
|
||||
item.cameraList
|
||||
? item.system
|
||||
: item.title || item.name || item.title || item.BUSINESS_NAME
|
||||
}}
|
||||
{{ item.cameraList ? item.system : (item.title|| item.name) }}
|
||||
</template>
|
||||
<div class="content-body-title">
|
||||
<span>
|
||||
名称:{{
|
||||
item.cameraList
|
||||
? item.system
|
||||
: item.title ||
|
||||
item.name ||
|
||||
item.title ||
|
||||
item.BUSINESS_NAME
|
||||
item.cameraList ? item.system : (item.title || item.name)
|
||||
}}
|
||||
</span>
|
||||
<div></div>
|
||||
</div>
|
||||
</a-tooltip>
|
||||
<div class="content-body-content">
|
||||
<p class="content-body-content-son" v-if="typeName == '设备申请'">
|
||||
审核结果:{{ item.state === 0 ? '审核中' : '审核完成' }}
|
||||
</p>
|
||||
<p
|
||||
class="content-body-content-son"
|
||||
v-else-if="typeName == '数据资源申请'"
|
||||
>
|
||||
审核结果:{{ item.bmyijian === 0 ? '审核中' : '审核完成' }}
|
||||
</p>
|
||||
<p
|
||||
class="content-body-content-son"
|
||||
v-else-if="typeName == '云资源申请'"
|
||||
>
|
||||
审核结果:{{ status[item.STATUS] }}
|
||||
</p>
|
||||
<p
|
||||
class="content-body-content-son"
|
||||
v-else-if="typeName == '云视频申请'"
|
||||
>
|
||||
审核结果:{{ status2[item.STATUS] }}
|
||||
</p>
|
||||
<p class="content-body-content-son" v-else>
|
||||
<p class="content-body-content-son" v-if="typeName !== '设备申请'">
|
||||
审核结果:{{ item.ended ? '审核完成' : '审核中' }}
|
||||
</p>
|
||||
<div>
|
||||
申请日期:{{
|
||||
item.createDate ||
|
||||
item.startTime ||
|
||||
item.tbsj ||
|
||||
(item.CREATE_TIME &&
|
||||
moment(item.CREATE_TIME.time + 480 * 60 * 1000).format(
|
||||
'YYYY-MM-DD HH:mm:ss'
|
||||
))
|
||||
}}
|
||||
</div>
|
||||
<p class="content-body-content-son" v-else>
|
||||
审核结果:{{ item.state === 0 ? '审核中' : '审核完成' }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="content-body-bottom">
|
||||
<div>申请日期:{{ item.createDate || item.startTime }}</div>
|
||||
<!-- 西海岸--增加过期时间显示 -->
|
||||
<div v-if="isXiHaiAn">过期时间:{{ item.expireDate || '' }}</div>
|
||||
</div>
|
||||
|
@ -279,10 +219,6 @@
|
|||
demandComment,
|
||||
deviceApplylist,
|
||||
getDeviceDetail,
|
||||
yaweiApproveStatus,
|
||||
yaweiApproveDetails,
|
||||
getResourceBusinessList,
|
||||
getVideoBusinessList,
|
||||
} from '@/api/personalCenter'
|
||||
import {
|
||||
updateRes,
|
||||
|
@ -292,7 +228,6 @@
|
|||
selectOneDel,
|
||||
} from '@/api/home'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { getUserInfo } from '@/api/user'
|
||||
import { message } from 'ant-design-vue'
|
||||
import ApplyDetails from '@/views/personalCenter/components/ApplyDetails'
|
||||
import mybus from '@/myplugins/mybus'
|
||||
|
@ -302,22 +237,14 @@
|
|||
tabTypeName: { type: String, default: '' },
|
||||
})
|
||||
const router = useRouter()
|
||||
const userName = ref('')
|
||||
getUserInfo().then((res) => {
|
||||
userName.value = res.data.data.username
|
||||
})
|
||||
let typeList = ref([
|
||||
'能力申请',
|
||||
'能力上架',
|
||||
'能力下架',
|
||||
'能力需求',
|
||||
'需求评论',
|
||||
'数据资源申请',
|
||||
'云资源申请',
|
||||
'云视频申请',
|
||||
// '能力评价',
|
||||
])
|
||||
const formState = ref({ name: '' })
|
||||
// 西海岸-设备申请
|
||||
let isXiHaiAn = whoShow.itShowXiHaiAn
|
||||
const itShowXiHaiAn = ref(isXiHaiAn)
|
||||
|
@ -326,18 +253,17 @@
|
|||
typeList.value.push('设备申请')
|
||||
}
|
||||
const typeStrObj = {
|
||||
能力上架: 'resourcemountapply',
|
||||
能力下架: 'resourcundercarriageapply',
|
||||
能力需求: 'abilitydemandapply',
|
||||
需求评论: 'comment_review',
|
||||
'能力上架': 'resourcemountapply',
|
||||
'能力下架': 'resourcundercarriageapply',
|
||||
'能力需求': 'abilitydemandapply',
|
||||
'需求评论': 'comment_review',
|
||||
}
|
||||
let tabList = ref(['全部', '审核中', '审核完成'])
|
||||
const contentList = reactive({ data: [] })
|
||||
const contentList2 = reactive({ data: [] }) // 云资源 云视频前端过滤使用
|
||||
let tabIndex = ref(0)
|
||||
let typeIndex = ref(0)
|
||||
let typeName = ref(typeList.value[0])
|
||||
if (router.currentRoute.value.query.tabTypeName) {
|
||||
if(router.currentRoute.value.query.tabTypeName) {
|
||||
typeName.value = router.currentRoute.value.query.tabTypeName
|
||||
}
|
||||
const videoVisible = ref(false)
|
||||
|
@ -376,8 +302,6 @@
|
|||
|
||||
// 选择类型
|
||||
const changeType = (item, index) => {
|
||||
contentList.data = []
|
||||
formState.value.name = ''
|
||||
console.log('item, index-----选择类型------->', item, index)
|
||||
numFlag.value = true
|
||||
num.value = []
|
||||
|
@ -386,7 +310,7 @@
|
|||
ended.value = ''
|
||||
page.value = 1
|
||||
typeIndex.value = index
|
||||
typeName.value = item
|
||||
typeName.value = item;
|
||||
getApplyList()
|
||||
}
|
||||
|
||||
|
@ -412,45 +336,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
const applytype = {
|
||||
'01': '新增',
|
||||
'02': '变更',
|
||||
'03': '停用',
|
||||
'04': '核减',
|
||||
}
|
||||
const sourcetype = {
|
||||
'01': '云主机',
|
||||
'02': '云数据库',
|
||||
'03': '对象存储',
|
||||
'04': '堡垒机',
|
||||
'05': '备份服务',
|
||||
'06': '防火墙',
|
||||
'07': '网闸',
|
||||
'08': '负载均衡',
|
||||
'09': '公网ip',
|
||||
10: '托管服务',
|
||||
11: '大数据服务',
|
||||
}
|
||||
const status = {
|
||||
'00': '草稿',
|
||||
'01': '提交',
|
||||
'03': '一级部门提交',
|
||||
'04': '驳回',
|
||||
'05': '审核通过',
|
||||
'06': '交付',
|
||||
'07': '作废',
|
||||
99: '终止办结',
|
||||
}
|
||||
const status2 = {
|
||||
'00': '草稿',
|
||||
'01': '提交',
|
||||
'02': '大数据局审核通过',
|
||||
'04': '大数据局驳回',
|
||||
'03': '提交给视频所属部门',
|
||||
'08': '视频所属部门审核中',
|
||||
'05': '视频所属部门已审核',
|
||||
'06': '交付',
|
||||
}
|
||||
const cilckRowData = ref({})
|
||||
const showDetail = (item) => {
|
||||
cilckRowData.value = item
|
||||
|
@ -476,59 +361,6 @@
|
|||
message.error('数据请求失败!')
|
||||
}
|
||||
})
|
||||
} else if (typeName.value == '数据资源申请') {
|
||||
yaweiApproveDetails({ applyGuid: item.GUID })
|
||||
.then((res) => {
|
||||
console.log('详情===========>', res.data.data)
|
||||
res.data.data.map((val) => {
|
||||
val.clsj = moment(val.clsj).format('YYYY-MM-DD HH:mm:ss')
|
||||
})
|
||||
refObj.value.description = '数据资源'
|
||||
refObj.value.sqbm = item.sqbm // 申请部门
|
||||
refObj.value.title = item.title // 需求标题
|
||||
refObj.value.ywlxr = item.ywlxr // 业务联系人
|
||||
refObj.value.ywlxrdh = item.ywlxrdh // 业务联系人电话
|
||||
refObj.value.jslxr = item.jslxr // 技术联系人
|
||||
refObj.value.jslxrdh = item.jslxrdh // 技术联系人电话
|
||||
refObj.value.miaoshu = item.miaoshu // 共享数据必要性法分析
|
||||
refObj.value.zt = item.zt // 办结结果
|
||||
refObj.value.resourceApplication = {
|
||||
dataSource: [
|
||||
{
|
||||
instanceId: item.GUID,
|
||||
taskHandleDetailInfo: res.data.data,
|
||||
},
|
||||
],
|
||||
} // 流程
|
||||
detailsVisible.value = true
|
||||
})
|
||||
.catch((err) => {})
|
||||
} else if (
|
||||
typeName.value == '云资源申请' ||
|
||||
typeName.value == '云视频申请'
|
||||
) {
|
||||
refObj.value.description = '政务云'
|
||||
if (typeName.value == '云资源申请') {
|
||||
refObj.value.STATUS = status[item.STATUS] // 状态
|
||||
} else {
|
||||
refObj.value.STATUS = status2[item.STATUS] // 状态
|
||||
}
|
||||
refObj.value.CREATE_TIME = moment(
|
||||
item.CREATE_TIME.time + 480 * 60 * 1000
|
||||
).format('YYYY-MM-DD HH:mm:ss')
|
||||
// 操作时间
|
||||
refObj.value.BUSINESS_NAME = item.BUSINESS_NAME // 业务名称
|
||||
refObj.value.BSNUM = item.BSNUM // 业务id
|
||||
refObj.value.APPLYTYPE = applytype[item.APPLYTYPE] // 申请类型
|
||||
refObj.value.SOURCE_TYPE = sourcetype[item.SOURCE_TYPE] // 资源类型
|
||||
refObj.value.REGION_CODE = item.REGION_CODE // 区划编码
|
||||
refObj.value.REGION_NAME = item.REGION_NAME // 区划名称
|
||||
refObj.value.ORG_NAME = item.ORG_NAME // 部门名称
|
||||
refObj.value.ORG_CODE = item.ORG_CODE // 部门名称编码
|
||||
refObj.value.AGENT_NAME = item.AGENT_NAME // 处室名称
|
||||
refObj.value.AGENT_CODE = item.AGENT_CODE // 处室编码
|
||||
refObj.value.CREATOR_NAME = item.CREATOR_NAME // 申请人
|
||||
detailsVisible.value = true
|
||||
} else if (typeName.value == '设备申请') {
|
||||
getDeviceDetailInfo(item.deviceId)
|
||||
.then((res) => {
|
||||
|
@ -709,34 +541,6 @@
|
|||
showType.value = '能力申请'
|
||||
initNum2()
|
||||
})
|
||||
} else if (typeName.value == '数据资源申请') {
|
||||
yaweiApproveStatus({ page: page.value, size: 4, title: '' }).then(
|
||||
(res) => {
|
||||
console.log('数据资源申请===============>', res.data.data)
|
||||
contentList.data = res.data.data.data
|
||||
num.value = []
|
||||
total.value = res.data.data.cos
|
||||
showType.value = '数据资源申请'
|
||||
}
|
||||
)
|
||||
} else if (typeName.value == '云资源申请') {
|
||||
getResourceBusinessList({ userAccount: userName.value }).then((res) => {
|
||||
console.log('数据资源申请===============>', res.data.data)
|
||||
contentList.data = res.data.data
|
||||
contentList2.data = res.data.data
|
||||
num.value = []
|
||||
total.value = 0
|
||||
showType.value = '云资源'
|
||||
})
|
||||
} else if (typeName.value == '云视频申请') {
|
||||
getVideoBusinessList({ userAccount: userName.value }).then((res) => {
|
||||
console.log('数据资源申请===============>', res.data.data)
|
||||
contentList.data = res.data.data
|
||||
contentList2.data = res.data.data
|
||||
num.value = []
|
||||
total.value = 0
|
||||
showType.value = '云资源'
|
||||
})
|
||||
} else if (typeName.value == '能力评价') {
|
||||
contentList.data = []
|
||||
num.value = []
|
||||
|
@ -820,11 +624,6 @@
|
|||
showType.value = ''
|
||||
}
|
||||
}
|
||||
const onSubmit = () => {
|
||||
contentList.data = contentList2.data.filter(
|
||||
(val) => val.BUSINESS_NAME.indexOf(formState.value.name) > -1
|
||||
)
|
||||
}
|
||||
const handleCurrentChange = (val) => {
|
||||
page.value = val
|
||||
getApplyList()
|
||||
|
@ -976,6 +775,7 @@
|
|||
flex-direction: column;
|
||||
font-size: 16px;
|
||||
justify-content: left;
|
||||
|
||||
.title {
|
||||
font-size: 20px;
|
||||
color: #000000;
|
||||
|
@ -1037,8 +837,7 @@
|
|||
|
||||
.content {
|
||||
padding-right: 10px;
|
||||
height: 610px;
|
||||
overflow-y: scroll;
|
||||
height: 510px;
|
||||
|
||||
.content-body {
|
||||
padding-bottom: 20px;
|
||||
|
|
|
@ -1,229 +0,0 @@
|
|||
<!--
|
||||
* @Author: hisense.liangjunhua
|
||||
* @Date: 2022-07-12 09:42:44
|
||||
* @LastEditors: Light
|
||||
* @LastEditTime: 2022-11-11 18:48:42
|
||||
* @Description:我的申请 能力申请 查看详情
|
||||
-->
|
||||
<template>
|
||||
<div class="top">
|
||||
<div class="title">基本信息</div>
|
||||
<div class="main" v-if="props.refObj">
|
||||
<div>
|
||||
<p class="item">
|
||||
<span>状态:{{ props.refObj.STATUS || '--' }}</span>
|
||||
<span>操作时间:{{ props.refObj.CREATE_TIME || '--' }}</span>
|
||||
</p>
|
||||
<p class="item">
|
||||
<span>业务名称:{{ props.refObj.BUSINESS_NAME || '--' }}</span>
|
||||
<span>业务id:{{ props.refObj.BSNUM || '--' }}</span>
|
||||
</p>
|
||||
<p class="item">
|
||||
<span>申请类型:{{ props.refObj.APPLYTYPE || '--' }}</span>
|
||||
<span>资源类型:{{ props.refObj.SOURCE_TYPE || '--' }}</span>
|
||||
</p>
|
||||
<p class="item">
|
||||
<span>区划编码:{{ props.refObj.REGION_CODE || '--' }}</span>
|
||||
<span>区划名称:{{ props.refObj.REGION_NAME || '--' }}</span>
|
||||
</p>
|
||||
<p class="item">
|
||||
<span>部门名称:{{ props.refObj.ORG_NAME || '--' }}</span>
|
||||
<span>部门名称编码:{{ props.refObj.ORG_CODE || '--' }}</span>
|
||||
</p>
|
||||
<p class="item">
|
||||
<span>处室名称:{{ props.refObj.AGENT_NAME || '--' }}</span>
|
||||
<span>处室编码:{{ props.refObj.AGENT_CODE || '--' }}</span>
|
||||
</p>
|
||||
<p class="item">
|
||||
<span>申请人:{{ props.refObj.CREATOR_NAME || '--' }}</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref, defineProps } from 'vue'
|
||||
const props = defineProps({
|
||||
refObj: { type: Object, default: null },
|
||||
})
|
||||
console.log(props.refObj, '=====================================')
|
||||
// if (props.refObj.resourceApplication) {
|
||||
// showArr.value = []
|
||||
// for (const key in props.refObj.resourceApplication) {
|
||||
// if (props.refObj.resourceApplication[key].length > 0) {
|
||||
// let obj = { name: '', instanceId: '', list: [], list2: [] }
|
||||
// obj.name = key
|
||||
// props.refObj.resourceApplication[key].map((item) => {
|
||||
// obj.instanceId = item.instanceId
|
||||
// if (item.resources.length > 0) {
|
||||
// item.resources.map((val) => {
|
||||
// obj.list.push(val)
|
||||
// })
|
||||
// } else {
|
||||
// item.camera.map((val) => {
|
||||
// obj.list2.push(val)
|
||||
// })
|
||||
// }
|
||||
// })
|
||||
// showArr.value.push(obj)
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.title {
|
||||
font-size: 0.18rem;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.2rem;
|
||||
padding-left: 0.1rem;
|
||||
border-left: 0.06rem #0058e1 solid;
|
||||
}
|
||||
.top {
|
||||
margin-bottom: 0.1rem;
|
||||
.main {
|
||||
background: #eee;
|
||||
padding: 0.2rem 0.2rem 0.1rem;
|
||||
p {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
& > span {
|
||||
width: 100%;
|
||||
}
|
||||
.enclosure {
|
||||
width: 95%;
|
||||
padding: 0.05rem 0.1rem;
|
||||
background: #ddd;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 0.05rem;
|
||||
}
|
||||
.btn:hover {
|
||||
color: #0058e1;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
.item {
|
||||
span {
|
||||
width: 4.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottom {
|
||||
.main {
|
||||
.item {
|
||||
border-top: 1px #eee solid;
|
||||
.deptName {
|
||||
color: #0058e1;
|
||||
font-size: 0.16rem;
|
||||
margin-top: 0.1rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.img {
|
||||
width: 0.05rem;
|
||||
height: 0.05rem;
|
||||
border-radius: 0.05rem;
|
||||
background: #0058e1;
|
||||
margin-right: 0.1rem;
|
||||
}
|
||||
}
|
||||
.oddNumbers {
|
||||
margin: 0.1rem 0 0 0.15rem;
|
||||
}
|
||||
.box {
|
||||
margin-left: 0.1rem;
|
||||
.ability {
|
||||
height: 1.3rem;
|
||||
display: flex;
|
||||
border-bottom: 1px #eee solid;
|
||||
padding: 0.1rem 0;
|
||||
.left {
|
||||
display: inline-block;
|
||||
width: 1.1rem;
|
||||
height: 1.1rem;
|
||||
margin-left: 0.1rem;
|
||||
background: url('~@/assets/home/sxt_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.sxt {
|
||||
background: url('~@/assets/home/sxt_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.yyzy {
|
||||
background: url('~@/assets/home/yyzy_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.znsf {
|
||||
background: url('~@/assets/home/znsf_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.tcfw {
|
||||
background: url('~@/assets/home/tcfw_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.kfzj {
|
||||
background: url('~@/assets/home/kfzj_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.ywzj {
|
||||
background: url('~@/assets/home/ywzj_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.btn {
|
||||
cursor: pointer;
|
||||
color: #0087ff;
|
||||
align-self: flex-end;
|
||||
padding: 5px 10px;
|
||||
border: 1px #0087ff solid;
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
.right {
|
||||
flex: 1;
|
||||
margin-left: 0.15rem;
|
||||
.ability-top {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.name {
|
||||
.type {
|
||||
background: #0087ff;
|
||||
color: #fff;
|
||||
padding: 2px 10px;
|
||||
border-radius: 10px;
|
||||
margin-left: 0.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ability-bottom {
|
||||
margin-top: 0.15rem;
|
||||
// display: flex;
|
||||
// justify-content: space-between;
|
||||
.dec {
|
||||
width: 7rem;
|
||||
height: 0.44rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
word-break: break-all;
|
||||
}
|
||||
.result:hover {
|
||||
color: #0058e1;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -1,220 +0,0 @@
|
|||
<!--
|
||||
* @Author: hisense.liangjunhua
|
||||
* @Date: 2022-07-12 09:42:44
|
||||
* @LastEditors: Light
|
||||
* @LastEditTime: 2022-11-11 14:38:06
|
||||
* @Description:我的申请 能力申请 查看详情
|
||||
-->
|
||||
<template>
|
||||
<div class="top">
|
||||
<div class="title">基本信息</div>
|
||||
<div class="main" v-if="props.refObj">
|
||||
<div>
|
||||
<p class="item">
|
||||
<span>申请部门:{{ props.refObj.sqbm || '--' }}</span>
|
||||
<span>需求标题:{{ props.refObj.title }}</span>
|
||||
</p>
|
||||
<p class="item">
|
||||
<span>业务联系人:{{ props.refObj.ywlxr }}</span>
|
||||
<span>业务联系人电话:{{ props.refObj.ywlxrdh }}</span>
|
||||
</p>
|
||||
<p class="item">
|
||||
<span>技术联系人:{{ props.refObj.jslxr }}</span>
|
||||
<span>技术联系人电话:{{ props.refObj.jslxrdh }}</span>
|
||||
</p>
|
||||
<p>
|
||||
<span>共享数据必要性法分析:{{ props.refObj.miaoshu }}</span>
|
||||
</p>
|
||||
<p class="item">
|
||||
<span>办结结果:{{ props.refObj.zt }}</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { ref, defineProps } from 'vue'
|
||||
const props = defineProps({
|
||||
refObj: { type: Object, default: null },
|
||||
})
|
||||
console.log(props.refObj, '=====================================')
|
||||
// if (props.refObj.resourceApplication) {
|
||||
// showArr.value = []
|
||||
// for (const key in props.refObj.resourceApplication) {
|
||||
// if (props.refObj.resourceApplication[key].length > 0) {
|
||||
// let obj = { name: '', instanceId: '', list: [], list2: [] }
|
||||
// obj.name = key
|
||||
// props.refObj.resourceApplication[key].map((item) => {
|
||||
// obj.instanceId = item.instanceId
|
||||
// if (item.resources.length > 0) {
|
||||
// item.resources.map((val) => {
|
||||
// obj.list.push(val)
|
||||
// })
|
||||
// } else {
|
||||
// item.camera.map((val) => {
|
||||
// obj.list2.push(val)
|
||||
// })
|
||||
// }
|
||||
// })
|
||||
// showArr.value.push(obj)
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.title {
|
||||
font-size: 0.18rem;
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.2rem;
|
||||
padding-left: 0.1rem;
|
||||
border-left: 0.06rem #0058e1 solid;
|
||||
}
|
||||
.top {
|
||||
margin-bottom: 0.1rem;
|
||||
.main {
|
||||
background: #eee;
|
||||
padding: 0.2rem 0.2rem 0.1rem;
|
||||
p {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
& > span {
|
||||
width: 100%;
|
||||
}
|
||||
.enclosure {
|
||||
width: 95%;
|
||||
padding: 0.05rem 0.1rem;
|
||||
background: #ddd;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 0.05rem;
|
||||
}
|
||||
.btn:hover {
|
||||
color: #0058e1;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
.item {
|
||||
span {
|
||||
width: 4.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.bottom {
|
||||
.main {
|
||||
.item {
|
||||
border-top: 1px #eee solid;
|
||||
.deptName {
|
||||
color: #0058e1;
|
||||
font-size: 0.16rem;
|
||||
margin-top: 0.1rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.img {
|
||||
width: 0.05rem;
|
||||
height: 0.05rem;
|
||||
border-radius: 0.05rem;
|
||||
background: #0058e1;
|
||||
margin-right: 0.1rem;
|
||||
}
|
||||
}
|
||||
.oddNumbers {
|
||||
margin: 0.1rem 0 0 0.15rem;
|
||||
}
|
||||
.box {
|
||||
margin-left: 0.1rem;
|
||||
.ability {
|
||||
height: 1.3rem;
|
||||
display: flex;
|
||||
border-bottom: 1px #eee solid;
|
||||
padding: 0.1rem 0;
|
||||
.left {
|
||||
display: inline-block;
|
||||
width: 1.1rem;
|
||||
height: 1.1rem;
|
||||
margin-left: 0.1rem;
|
||||
background: url('~@/assets/home/sxt_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.sxt {
|
||||
background: url('~@/assets/home/sxt_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.yyzy {
|
||||
background: url('~@/assets/home/yyzy_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.znsf {
|
||||
background: url('~@/assets/home/znsf_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.tcfw {
|
||||
background: url('~@/assets/home/tcfw_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.kfzj {
|
||||
background: url('~@/assets/home/kfzj_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.ywzj {
|
||||
background: url('~@/assets/home/ywzj_square.png') no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.btn {
|
||||
cursor: pointer;
|
||||
color: #0087ff;
|
||||
align-self: flex-end;
|
||||
padding: 5px 10px;
|
||||
border: 1px #0087ff solid;
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
.right {
|
||||
flex: 1;
|
||||
margin-left: 0.15rem;
|
||||
.ability-top {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.name {
|
||||
.type {
|
||||
background: #0087ff;
|
||||
color: #fff;
|
||||
padding: 2px 10px;
|
||||
border-radius: 10px;
|
||||
margin-left: 0.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.ability-bottom {
|
||||
margin-top: 0.15rem;
|
||||
// display: flex;
|
||||
// justify-content: space-between;
|
||||
.dec {
|
||||
width: 7rem;
|
||||
height: 0.44rem;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
word-break: break-all;
|
||||
}
|
||||
.result:hover {
|
||||
color: #0058e1;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|