This commit is contained in:
851673013@qq.com 2022-07-19 16:20:45 +08:00
parent 6953baa878
commit 5afe117bc6
5 changed files with 30 additions and 6 deletions

View File

@ -291,7 +291,6 @@
resourceDTO: [dataFrom.value], resourceDTO: [dataFrom.value],
} }
shangjiaapply(params).then((res3) => { shangjiaapply(params).then((res3) => {
debugger
console.log('res3', res3) console.log('res3', res3)
if (res3.data.code == 0) { if (res3.data.code == 0) {
message.success('上架申请提交成功,请注意查看消息通知!') message.success('上架申请提交成功,请注意查看消息通知!')

View File

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

View File

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

View File

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

View File

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