Compare commits
2 Commits
bff7f51467
...
dbfdfd6285
Author | SHA1 | Date |
---|---|---|
gongjiale | dbfdfd6285 | |
gongjiale | 1fa11e3358 |
|
@ -53,17 +53,15 @@ export default {
|
||||||
getNum(){
|
getNum(){
|
||||||
http.get('/act/task/myToDoTaskNum').then(({ data: res }) => {
|
http.get('/act/task/myToDoTaskNum').then(({ data: res }) => {
|
||||||
this.numObject=res.data
|
this.numObject=res.data
|
||||||
console.log("this.numObject========",this.numObject)
|
|
||||||
let menuList= window.SITE_CONFIG["menuList"];
|
let menuList= window.SITE_CONFIG["menuList"];
|
||||||
for(var i=0;i<menuList.length;i++){
|
for(var i=0;i<menuList.length;i++){
|
||||||
let menu=menuList[i];
|
let menu=menuList[i];
|
||||||
// menu.total=0;
|
|
||||||
if(menu.id=='1541261628388888578'){//我的待办
|
if(menu.id=='1541261628388888578'){//我的待办
|
||||||
let daibanNum=0
|
let daibanNum=0
|
||||||
for(let j=0;j<menu.children.length;j++){
|
for(let j=0;j<menu.children.length;j++){
|
||||||
let children=menu.children[j]
|
let children=menu.children[j]
|
||||||
if(children.id=="1541261780432408577"){//能力申请 v3
|
if(children.id=="1541261780432408577"){//能力申请 v2
|
||||||
children.total=Number(this.numObject.abilityprocess_v3)
|
children.total=Number(this.numObject.abilityprocess_v2)
|
||||||
daibanNum=Number(daibanNum)+Number(children.total)
|
daibanNum=Number(daibanNum)+Number(children.total)
|
||||||
} if(children.id=="1559376285703081986"){//会议室审核
|
} if(children.id=="1559376285703081986"){//会议室审核
|
||||||
children.total=Number(this.numObject.meetingroom_book)
|
children.total=Number(this.numObject.meetingroom_book)
|
||||||
|
@ -83,8 +81,7 @@ export default {
|
||||||
}if(children.id=="1554294862931562498"){//会议室 暂无
|
}if(children.id=="1554294862931562498"){//会议室 暂无
|
||||||
children.total=0
|
children.total=0
|
||||||
daibanNum=Number(daibanNum)+Number(children.total)
|
daibanNum=Number(daibanNum)+Number(children.total)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
menu.total=daibanNum
|
menu.total=daibanNum
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,10 +55,19 @@
|
||||||
</div>
|
</div>
|
||||||
<InfrastructureModal v-model="dataForm" :dataForm="dataForm" @update="updateDataForm" type="基础设施"
|
<InfrastructureModal v-model="dataForm" :dataForm="dataForm" @update="updateDataForm" type="基础设施"
|
||||||
:modalType="modalType" ref="jcssDom"></InfrastructureModal>
|
:modalType="modalType" ref="jcssDom"></InfrastructureModal>
|
||||||
|
<el-form-item label="基础设施总数" >
|
||||||
|
<el-input v-model="dataForm.infrastructureCount" onkeyup="value=value.replace(/[^\d]/g,0)" placeholder="请输入基础设施总数"></el-input>
|
||||||
|
</el-form-item>
|
||||||
<combine-ability v-model="dataForm" :dataForm="dataForm" @update="updateDataForm" type="数据资源" ref="sjzyDom"
|
<combine-ability v-model="dataForm" :dataForm="dataForm" @update="updateDataForm" type="数据资源" ref="sjzyDom"
|
||||||
:getDataParams="getListParams['数据资源']"></combine-ability>
|
:getDataParams="getListParams['数据资源']"></combine-ability>
|
||||||
|
<el-form-item label="数据资源总数" >
|
||||||
|
<el-input v-model="dataForm.dataSourceCount" onkeyup="value=value.replace(/[^\d]/g,0)" placeholder="请输入数据资源总数"></el-input>
|
||||||
|
</el-form-item>
|
||||||
<combine-ability v-model="dataForm" :dataForm="dataForm" @update="updateDataForm" type="组件服务" ref="zjfwDom"
|
<combine-ability v-model="dataForm" :dataForm="dataForm" @update="updateDataForm" type="组件服务" ref="zjfwDom"
|
||||||
:getDataParams="getListParams['组件服务']"></combine-ability>
|
:getDataParams="getListParams['组件服务']"></combine-ability>
|
||||||
|
<el-form-item label="组件服务总数" >
|
||||||
|
<el-input v-model="dataForm.componentCount" placeholder="请输入组件服务总数"></el-input>
|
||||||
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -96,6 +105,9 @@ export default {
|
||||||
return {
|
return {
|
||||||
fileUploadUrl: window.SITE_CONFIG.apiURL + '/upload',
|
fileUploadUrl: window.SITE_CONFIG.apiURL + '/upload',
|
||||||
dataForm: {
|
dataForm: {
|
||||||
|
"infrastructureCount":null,
|
||||||
|
"dataSourceCount":null,
|
||||||
|
"componentCount":null,
|
||||||
"name": "",
|
"name": "",
|
||||||
"applicationArea": "",
|
"applicationArea": "",
|
||||||
"description": "",
|
"description": "",
|
||||||
|
|
Loading…
Reference in New Issue