BUg修改

This commit is contained in:
a0049873 2022-07-15 10:35:05 +08:00
parent ca7df48001
commit f2aa5c5e3c
4 changed files with 56 additions and 47 deletions

View File

@ -32,7 +32,7 @@ if (newLocation === 'qingdao') {
{ name: '能力统计', key: 'abilityStatistics' },
// { name: '', key: 'developmentGuide' },
{ name: '指导手册', key: 'instructionManual' },
// { name: '', key: 'demandCenter' },
{ name: '需求中心', key: 'demandCenter' },
// { name: '', key: 'personalCenter' },
{ name: '区市站点', key: 'mapTest' },
// { name: '', key: 'houtaiguanli' },

View File

@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-13 10:22:27
* @LastEditors: hisense.liangjunhua
* @LastEditTime: 2022-07-14 09:44:38
* @LastEditTime: 2022-07-15 10:14:57
* @Description: 算法上架
-->
<template>
@ -162,7 +162,7 @@
{
name: '计费标准',
field: 'price',
type: 'number',
type: 'input',
company: '元',
note1: '',
},

View File

@ -168,6 +168,7 @@
<div
v-if="
selectCardsname !== '应用资源' &&
selectCardsname !== '数据资源' &&
selectCardsname !== '融合服务'
"
>

View File

@ -83,10 +83,7 @@
</div> -->
<div class="content-body-content">
<p class="content-body-content-son">
审核结果{{
// item.ended ? '' : item.backToFirst ? '' : ''
item.approveStatus || item.resourceStatusTip || '--'
}}
审核结果{{ item.ended ? '审核完成' : '审核中' }}
</p>
</div>
<!-- <div class="content-body-content" v-if="item.currentTaskList">
@ -344,6 +341,7 @@
let tabIndex = ref(0)
let typeIndex = ref(0)
const videoVisible = ref(false)
const numFlag = ref(true)
const columns = ref([
{
title: '摄像头名称',
@ -374,6 +372,7 @@
}
//
const changeType = (item, index) => {
numFlag.value = true
num.value = []
showType.value = ''
console.log(item, index)
@ -499,48 +498,54 @@
unfinished: 0,
})
const initNum = () => {
num.value = []
getMyProcessInstancePage({
page: 1,
limit: 4,
ended: 'false',
processDefinitionKey: processDefinitionKey.value,
}).then((res) => {
if (res.data.code == 0) {
num.value.unfinished = res.data.data.total
getMyProcessInstancePage({
page: 1,
limit: 4,
ended: 'true',
processDefinitionKey: processDefinitionKey.value,
}).then((res) => {
if (res.data.code == 0) {
num.value.finished = res.data.data.total
}
})
}
})
if (numFlag.value) {
num.value = []
getMyProcessInstancePage({
page: 1,
limit: 4,
ended: 'false',
processDefinitionKey: processDefinitionKey.value,
}).then((res) => {
if (res.data.code == 0) {
num.value.unfinished = res.data.data.total
getMyProcessInstancePage({
page: 1,
limit: 4,
ended: 'true',
processDefinitionKey: processDefinitionKey.value,
}).then((res) => {
if (res.data.code == 0) {
num.value.finished = res.data.data.total
numFlag.value = false
}
})
}
})
}
}
const initNum2 = () => {
num.value = []
getTabilityapplication({
page: 1,
limit: 4,
ended: 'false',
}).then((res) => {
if (res.data.code == 0) {
num.value.unfinished = res.data.data.total
getTabilityapplication({
page: 1,
limit: 4,
ended: 'true',
}).then((res) => {
if (res.data.code == 0) {
num.value.finished = res.data.data.total
}
})
}
})
if (numFlag.value) {
num.value = []
getTabilityapplication({
page: 1,
limit: 4,
ended: 'false',
}).then((res) => {
if (res.data.code == 0) {
num.value.unfinished = res.data.data.total
getTabilityapplication({
page: 1,
limit: 4,
ended: 'true',
}).then((res) => {
if (res.data.code == 0) {
num.value.finished = res.data.data.total
numFlag.value = false
}
})
}
})
}
}
// initNum()
const total = ref('')
@ -564,6 +569,9 @@
ended: ended.value,
// name: name.value,
}
if (ended.value === '') {
delete params.ended
}
if (typeIndex.value == 0) {
getTabilityapplication(params).then((res) => {
contentList.data = []