Compare commits

..

2 Commits

6 changed files with 25 additions and 225 deletions

View File

@ -2,14 +2,14 @@
* @Author: hisense.wuhongjian * @Author: hisense.wuhongjian
* @Date: 2020-07-07 16:03:23 * @Date: 2020-07-07 16:03:23
* @LastEditors: hisense.wuhongjian * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-12-02 16:52:28 * @LastEditTime: 2022-12-05 15:20:39
* @Description: 系统静态参数配置 * @Description: 系统静态参数配置
*/ */
var _global = {} var _global = {}
var CONFIGITEM = { var CONFIGITEM = {
version: 'qingdao', // // version: 'qingdao', //
// version: 'xihaian', // 西 // version: 'xihaian', // 西
// version: 'dev', // version: 'dev', //
// version: 'zhanTingDev', // dev (2022-09-13:) // version: 'zhanTingDev', // dev (2022-09-13:)
// version: 'qingdao', // // version: 'qingdao', //
//version: 'frp', // 穿 //version: 'frp', // 穿

View File

@ -81,7 +81,7 @@ z-index: 10010!important;
z-index: 10010!important; z-index: 10010!important;
} }
.ant-notification { .ant-notification {
z-index: 10010!important; z-index: 10012!important;
} }
.ant-popconfirm { .ant-popconfirm {
z-index: 10010!important; z-index: 10010!important;

View File

@ -1,8 +1,8 @@
/* /*
* @Author: hisense.wuhongjian * @Author: hisense.wuhongjian
* @Date: 2022-03-29 17:48:03 * @Date: 2022-03-29 17:48:03
* @LastEditors: Light * @LastEditors: hisense.wuhongjian
* @LastEditTime: 2022-10-10 16:56:17 * @LastEditTime: 2022-12-05 15:27:26
* @Description: 告诉大家这是什么 * @Description: 告诉大家这是什么
*/ */
import { storage, tokenTableName } from '@/config' import { storage, tokenTableName } from '@/config'
@ -42,8 +42,9 @@ export function setAccessToken(accessToken) {
} else if ('sessionStorage' === storage) { } else if ('sessionStorage' === storage) {
return sessionStorage.setItem(tokenTableName, accessToken) return sessionStorage.setItem(tokenTableName, accessToken)
} else if ('cookie' === storage) { } else if ('cookie' === storage) {
let expires = new Date(new Date() * 1 + 12 * 60 * 60 * 1000) // let expires = new Date(new Date() * 1 + 12 * 60 * 60 * 1000)
return cookie.set(tokenTableName, accessToken, { expires: expires }) // return cookie.set(tokenTableName, accessToken, { expires: expires })
return cookie.set(tokenTableName, accessToken)
// return cookie.set(tokenTableName, '213124123412341234') // return cookie.set(tokenTableName, '213124123412341234')
} else { } else {
return localStorage.setItem(tokenTableName, accessToken) return localStorage.setItem(tokenTableName, accessToken)

View File

@ -2097,7 +2097,7 @@
height: 100%; height: 100%;
height: -moz-available; /* WebKit-based browsers will ignore this. */ height: -moz-available; /* WebKit-based browsers will ignore this. */
height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */ height: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
height: fill-available; height: stretch;
position: absolute; position: absolute;
width: 2.5rem; width: 2.5rem;
top: 0.17rem; top: 0.17rem;

View File

@ -1,6 +1,6 @@
<template> <template>
<div class="bg"> <div class="bg">
<home-header :target-flag = "targetFlag"></home-header> <home-header :target-flag="targetFlag"></home-header>
<div class="box-container"> <div class="box-container">
<a-spin <a-spin
size="large" size="large"
@ -10,7 +10,12 @@
/> />
<div class="nav-box"> <div class="nav-box">
<a-breadcrumb> <a-breadcrumb>
<a-breadcrumb-item @click="goToDetailsPageconetent" class="bread-crumb-span">能力集市</a-breadcrumb-item> <a-breadcrumb-item
@click="goToDetailsPageconetent"
class="bread-crumb-span"
>
能力集市
</a-breadcrumb-item>
<a-breadcrumb-item>算法对比</a-breadcrumb-item> <a-breadcrumb-item>算法对比</a-breadcrumb-item>
</a-breadcrumb> </a-breadcrumb>
</div> </div>
@ -160,7 +165,6 @@
cancel-text="取消" cancel-text="取消"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel" @cancel="handleCancel"
> >
<a-table <a-table
:columns="columns" :columns="columns"
@ -189,7 +193,6 @@
unref, unref,
reactive, reactive,
nextTick, nextTick,
onCreated,
} from 'vue' } from 'vue'
import { selectOne } from '@/api/home' import { selectOne } from '@/api/home'
import { message, Tooltip, Table, Spin } from 'ant-design-vue' import { message, Tooltip, Table, Spin } from 'ant-design-vue'
@ -198,7 +201,7 @@
const router = useRouter() const router = useRouter()
let queryId = router.currentRoute.value.query.id let queryId = router.currentRoute.value.query.id
const ctx = getCurrentInstance() const ctx = getCurrentInstance()
const targetFlag= ref(true) const targetFlag = ref(true)
// 4 // 4
const pagination = ref([]) const pagination = ref([])
// //
@ -656,21 +659,20 @@
//goToDetailsPageconetent //goToDetailsPageconetent
const goToDetailsPageconetent = () => { const goToDetailsPageconetent = () => {
let pathData = { let pathData = {
path: '/DetailsPageconetent', path: '/DetailsPageconetent',
}; }
mybus.emit('changeMenuStyle',pathData); mybus.emit('changeMenuStyle', pathData)
} }
</script> </script>
<style> <style>
.ant-modal-footer { .ant-modal-footer {
display: block; display: block;
} }
</style> </style>
<style lang="less" scoped> <style lang="less" scoped>
.bg { .bg {
background: #fff; background: #fff;
height: 100vh; height: 100vh;
@ -727,8 +729,8 @@
align-items: center; align-items: center;
background: rgba(244, 245, 248, 0.8); background: rgba(244, 245, 248, 0.8);
padding-left: 10px; padding-left: 10px;
.bread-crumb-span{ .bread-crumb-span {
cursor: pointer; cursor: pointer;
} }
} }

View File

@ -1,203 +0,0 @@
<!-- <template>
<div class="form-container">
<div>
<a-form :model="dataForm" ref="formName">
<a-form-item label="应用名称">
<a-input
v-model="formName.name"
:disabled="fieldDisabled"
placeholder="应用名称"
></a-input>
</a-form-item>
<a-form-item label="应用描述">
<a-input
v-model="formName.description"
:disabled="fieldDisabled"
placeholder="应用描述"
></a-input>
</a-form-item>
<a-form-item label="访问地址">
<a-input
v-model="formName.link"
:disabled="fieldDisabled"
placeholder="访问地址"
></a-input>
</a-form-item>
<a-form-item
v-for="item in formName.infoList"
:key="item.index"
:label="item.attrType"
:disabled="fieldDisabled"
>
<a-input
v-model="item.attrValue"
:placeholder="item.attrType"
:disabled="fieldDisabled"
></a-input>
</a-form-item>
</a-form>
</div>
<a-form>
<a-form-item
style="color: #666; font-size: 16px"
label="发布单附件"
name="applyDoc"
>
<a-upload
v-model:file-list="fileList"
name="file"
action="https://www.mocky.io/v2/5cc8019d300000980a055e76"
:headers="headers"
@change="handleChange"
>
<a-button
style="
width: 100px;
height: 30px;
margin-right: 10px;
background: #edf4fc;
color: #0087ff;
font-size: 14px;
border-radius: 6px;
border: 1px solid #bbd3ef;
padding: 0;
text-align: center;
"
>
<upload-outlined></upload-outlined>
附件下载
</a-button>
</a-upload>
</a-form-item>
</a-form>
<div class="title">流程图</div>
<div>
<img :src="getResourceURL()" alt="" />
</div>
<div class="title">流转详情</div>
<a-table :dataSource="dataSource.data" :columns="columns" />
</div>
</template>
<script setup>
import { onMounted, reactive, defineProps } from 'vue'
import Cookies from 'js-cookie'
import { baseURL } from '@/config'
import qs from 'qs'
import {
resourceMountApply,
// getTaskHandleDetailInfo,
} from '@/api/personalCenter'
//
let formName = reactive({})
//
const dataSource = reactive({ data: [] })
const columns = [
{
title: '任务名称',
dataIndex: 'activityName',
key: 'activityName',
},
{
title: '处理人',
dataIndex: 'assigneeName',
key: 'assigneeName',
},
{
title: '任务开始时间',
dataIndex: 'startTime',
key: 'startTime',
},
{
title: '任务结束时间',
dataIndex: 'endTime',
key: 'endTime',
},
{
title: '审核意见',
dataIndex: 'comment',
key: 'comment',
},
{
title: '任务时长/秒',
dataIndex: 'durationInSeconds',
key: 'durationInSeconds',
},
]
const props = defineProps({
businessKey: { type: String, default: null },
processInstanceId: { type: String, default: null },
})
const getInfo = () => {
console.log('props.businessKey', props.businessKey)
resourceMountApply(props.businessKey).then((res) => {
const { data } = res.data
console.log(data)
formName = data
})
}
const getLiuZhuanInfo = () => {
const params = qs.stringify({
page: 1,
limit: 4,
processInstanceId: props.processInstanceId,
})
resourceMountApply(params).then((res) => {
res.data.data.forEach((item) => {
dataSource.data.push(item)
})
})
}
onMounted(() => {
getInfo()
getLiuZhuanInfo()
})
const getResourceURL = () => {
const params = qs.stringify({
token: Cookies.get('accessToken'),
// processInstanceId: this.dataForm.processInstanceId
processInstanceId: props.processInstanceId,
})
return `${baseURL}/act/his/getInstImage?${params}`
}
</script>
<style scoped lang="less">
.form-container {
padding: 20px 20px 30px 20px;
.title {
font-size: 20px;
color: #000;
font-weight: bold;
margin-bottom: 20px;
}
}
.base-info {
display: flex;
}
:deep(.ant-form-item-label) {
label {
color: #666;
font-size: 16px;
&::after {
content: '';
}
}
}
:deep(.ant-form-item-required) {
&::before {
font-size: 8px;
margin-right: 10px;
}
}
:deep(.ant-input) {
border: 1px solid #e0e0e0;
border-radius: 6px;
}
</style> -->