后台能力资源上架
This commit is contained in:
parent
8bccb9bd94
commit
962ab8841d
|
@ -0,0 +1,22 @@
|
|||
<template>
|
||||
<div class="wrapper"></div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
components: {},
|
||||
props: {},
|
||||
data () {
|
||||
return {}
|
||||
},
|
||||
watch: {},
|
||||
computed: {},
|
||||
methods: {},
|
||||
created () {},
|
||||
mounted () {}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.wrapper {
|
||||
}
|
||||
</style>
|
|
@ -8,150 +8,9 @@
|
|||
:label-width="$i18n.locale === 'en-US' ? '120px' : 'auto'"
|
||||
>
|
||||
<div v-if="shifoushizujian">
|
||||
<el-form-item label="应用名称">
|
||||
<el-input
|
||||
v-model="dataForm.name"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="应用名称"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="应用描述">
|
||||
<el-tooltip
|
||||
effect="dark"
|
||||
:content="dataForm.description"
|
||||
placement="top"
|
||||
popper-class="kuandukuandukuandu"
|
||||
>
|
||||
<el-input
|
||||
v-model="dataForm.description"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="应用描述"
|
||||
></el-input>
|
||||
</el-tooltip>
|
||||
</el-form-item>
|
||||
<el-form-item label="部门联系人">
|
||||
<el-input
|
||||
v-model="dataForm.deptContacts"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="部门联系人"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="共享类型">
|
||||
<el-input
|
||||
v-model="dataForm.shareType"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="共享类型"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="共享方式">
|
||||
<el-input
|
||||
v-model="dataForm.shareMode"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="共享方式"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="共享条件">
|
||||
<el-input
|
||||
v-model="dataForm.shareCondition"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="共享方条件"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="访问地址">
|
||||
<el-input
|
||||
v-model="dataForm.link"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="访问地址"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<Applicationresources></Applicationresources>
|
||||
</div>
|
||||
<div v-if="!shifoushizujian">
|
||||
<el-form-item label="组件名称" v-if="algorithmShow">
|
||||
<el-input
|
||||
v-model="dataForm.name"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="组件名称"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="算法名称" v-if="nameNotShow">
|
||||
<el-input
|
||||
v-model="dataForm.name"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="算法名称"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="应用描述" v-if="algorithmShow">
|
||||
<el-input
|
||||
v-model="dataForm.description"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="应用描述"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="算法描述" v-if="nameNotShow">
|
||||
<el-input
|
||||
v-model="dataForm.description"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="算法描述"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="部门联系人" v-if="algorithmShow">
|
||||
<el-input
|
||||
v-model="dataForm.deptContacts"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="部门联系人"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="共享类型">
|
||||
<el-input
|
||||
v-model="dataForm.shareType"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="共享类型"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="共享方式"
|
||||
v-if="coverageNotShow && algorithmShow"
|
||||
>
|
||||
<el-input
|
||||
v-model="dataForm.shareMode"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="共享方式"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="共享条件">
|
||||
<el-input
|
||||
v-model="dataForm.shareCondition"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="共享方条件"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="服务接口" v-if="coverageNotShow">
|
||||
<el-input
|
||||
v-model="dataForm.apiUrl"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="服务接口"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="接口请求方式" v-if="coverageNotShow">
|
||||
<el-input
|
||||
v-model="dataForm.apiMethodType"
|
||||
:disabled="fieldDisabled"
|
||||
placeholder="接口请求方式"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
</div>
|
||||
<el-form-item
|
||||
v-for="item in dataForm.infoList"
|
||||
:key="item.index"
|
||||
:label="item.attrType"
|
||||
:disabled="fieldDisabled"
|
||||
>
|
||||
<el-input
|
||||
v-model="item.attrValue"
|
||||
:placeholder="item.attrType"
|
||||
:disabled="fieldDisabled"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<div v-if="!shifoushizujian">22222</div>
|
||||
<el-form-item
|
||||
v-if="dataForm.enclosure"
|
||||
label="申请附件"
|
||||
|
@ -176,10 +35,13 @@
|
|||
|
||||
<script>
|
||||
import processModule from '@/mixins/process-module'
|
||||
import Applicationresources from './Application-resources.vue'
|
||||
export default {
|
||||
// 注入公共方法
|
||||
mixins: [processModule],
|
||||
components: {},
|
||||
components: {
|
||||
Applicationresources
|
||||
},
|
||||
props: {
|
||||
// fromList: {
|
||||
// // type: Array,
|
||||
|
|
|
@ -298,7 +298,7 @@
|
|||
}
|
||||
init()
|
||||
mybus.on('chageDataFrom', (obj) => {
|
||||
if (obj.attrType == '使用手册' && obj.attrValue != null) {
|
||||
if (obj.attrType == '技术文档' && obj.attrValue != null) {
|
||||
shiyongshouce.value = obj
|
||||
}
|
||||
dataFrom.value.infoList = dataFrom.value.infoList.filter(
|
||||
|
@ -310,7 +310,7 @@
|
|||
dataFrom.value.infoList.push(obj)
|
||||
if (shiyongshouce.value.attrValue) {
|
||||
dataFrom.value.infoList.map((syscitem, syscindex) => {
|
||||
if (syscitem.attrType == '使用手册') {
|
||||
if (syscitem.attrType == '技术文档') {
|
||||
dataFrom.value.infoList[syscindex] = shiyongshouce.value
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue