Compare commits

..

No commits in common. "5afe117bc6096305b37614982d4af882751779fb" and "9d72fe666dcbdefd4d6ef072ebda9dabffd0bf73" have entirely different histories.

6 changed files with 8 additions and 60 deletions

View File

@ -27,15 +27,7 @@
:refData="refData"
:dataFrom="dataFrom"
:videoList="videoList"
:externalField="[
'算法名称',
'算法描述',
'共享条件',
'共享类型',
'归属部门',
'部门联系人',
'部门联系人电话',
]"
:externalField="['算法名称', '算法描述', '共享条件', '共享类型']"
></put-on-the-shelf>
<put-on-the-shelf
v-else-if="showView === '算法优势'"
@ -280,7 +272,7 @@
dataFrom.value.id = res.data.data
getUser().then((res6) => {
getUserInfo(res6.data.data.id).then((res2) => {
const deptId = dataFrom.value.deptId
const deptId = res2.data.data.deptId
const userId = res2.data.data.id
const userName = res2.data.data.realName
const params = {
@ -394,16 +386,6 @@
case '接口请求方式':
dataFrom.value.apiMethodType = obj.attrValue
break
case '归属部门':
dataFrom.value.deptId = obj.attrValue
dataFrom.value.deptName = obj.attrValueTwo.label
break
case '部门联系人':
dataFrom.value.deptContacts = obj.attrValue
break
case '部门联系人电话':
dataFrom.value.deptPhone = obj.attrValue
break
}
// console.log('dataFrom.value', dataFrom.value)
})

View File

@ -28,13 +28,7 @@
:dataFrom="dataFrom"
:videoList="videoList"
:imgList="imgList"
:externalField="[
'应用名称',
'应用描述',
'归属部门',
'部门联系人',
'部门联系人电话',
]"
:externalField="['应用名称', '应用描述']"
></put-on-the-shelf>
<put-on-the-shelf
v-else-if="showView === '功能介绍'"
@ -231,7 +225,7 @@
dataFrom.value.id = res.data.data
getUser().then((res6) => {
getUserInfo(res6.data.data.id).then((res2) => {
const deptId = dataFrom.value.deptId
const deptId = res2.data.data.deptId
const userId = res2.data.data.id
const userName = res2.data.data.realName
const params = {
@ -345,10 +339,6 @@
case '访问地址':
dataFrom.value.link = obj.attrValue
break
case '归属部门':
dataFrom.value.deptId = obj.attrValue
dataFrom.value.deptName = obj.attrValueTwo.label
break
case '部门联系人':
dataFrom.value.deptContacts = obj.attrValue
break

View File

@ -32,7 +32,6 @@
'组件描述',
'共享条件',
'共享类型',
'归属部门',
'部门联系人',
'部门联系人电话',
]"
@ -254,7 +253,7 @@
dataFrom.value.id = res.data.data
getUser().then((res6) => {
getUserInfo(res6.data.data.id).then((res2) => {
const deptId = dataFrom.value.deptId
const deptId = res2.data.data.deptId
const userId = res2.data.data.id
const userName = res2.data.data.realName
const params = {
@ -350,10 +349,6 @@
case '共享类型':
dataFrom.value.shareType = obj.attrValue
break
case '归属部门':
dataFrom.value.deptId = obj.attrValue
dataFrom.value.deptName = obj.attrValueTwo.label
break
case '部门联系人':
dataFrom.value.deptContacts = obj.attrValue
break

View File

@ -33,7 +33,6 @@
'组件描述',
'共享条件',
'共享类型',
'归属部门',
'部门联系人',
'部门联系人电话',
]"
@ -254,7 +253,7 @@
dataFrom.value.id = res.data.data
getUser().then((res6) => {
getUserInfo(res6.data.data.id).then((res2) => {
const deptId = dataFrom.value.deptId
const deptId = res2.data.data.deptId
const userId = res2.data.data.id
const userName = res2.data.data.realName
const params = {
@ -350,10 +349,6 @@
case '共享类型':
dataFrom.value.shareType = obj.attrValue
break
case '归属部门':
dataFrom.value.deptId = obj.attrValue
dataFrom.value.deptName = obj.attrValueTwo.label
break
case '部门联系人':
dataFrom.value.deptContacts = obj.attrValue
break

View File

@ -32,7 +32,6 @@
'图层描述',
'共享条件',
'共享类型',
'归属部门',
'部门联系人',
'部门联系人电话',
]"
@ -202,7 +201,7 @@
dataFrom.value.id = res.data.data
getUser().then((res6) => {
getUserInfo(res6.data.data.id).then((res2) => {
const deptId = dataFrom.value.deptId
const deptId = res2.data.data.deptId
const userId = res2.data.data.id
const userName = res2.data.data.realName
const params = {
@ -298,10 +297,6 @@
case '共享类型':
dataFrom.value.shareType = obj.attrValue
break
case '归属部门':
dataFrom.value.deptId = obj.attrValue
dataFrom.value.deptName = obj.attrValueTwo.label
break
case '部门联系人':
dataFrom.value.deptContacts = obj.attrValue
break

View File

@ -597,9 +597,6 @@
getUserInfo().then(({ data: res1 }) => {
console.log(res1.data)
item.note1 = res1.data.deptId
item.note2 = item.options.filter(
(val) => val.value == item.note1
)[0]
console.log('默认部门=========>', item, res1.data)
data.value.list.push(item)
})
@ -611,7 +608,6 @@
console.log(res1.data)
item.note1 = res1.data.realName || ''
})
data.value.list.push(item)
}
} else if (item.name === '部门联系人电话') {
if (!item.note1) {
@ -619,7 +615,6 @@
console.log(res1.data)
item.note1 = res1.data.mobile || ''
})
data.value.list.push(item)
}
} else {
data.value.list.push(item)
@ -656,6 +651,7 @@
}
mybus.on('showTextFunctionEmit', (show) => {
console.log('ssdcsd')
debugger
showText.value = show
})
mybus.off('func')
@ -900,15 +896,10 @@
props.externalField &&
props.externalField.indexOf(val.name) > -1
) {
let note2 = {} //
if (val.options) {
note2 = val.options.filter((item) => item.value == val.note1)[0]
}
mybus.emit('chageDataFromDwon', {
attrType: val.name,
attrValue: val.note1,
delFlag: 0,
attrValueTwo: note2,
})
} else {
if (val.name !== '应用领域' && val.name !== '发布端') {