请选择关联组件
+
+
+ {{ itemSelect.dictLabel }}
+
+
+
{
+ const dataList = []
+ res.data.data.forEach((element) => {
+ dataList.push({
+ value: element.id,
+ label: element.name,
+ })
+ })
+ item.options = dataList
+ if (!item.note1) {
+ getUserInfo().then(({ data: res1 }) => {
+ console.log(res1.data)
+ item.note1 = res1.data.deptId
+ console.log('默认部门=========>', item, res1.data)
+ data.value.list.push(item)
+ })
+ }
+ })
} else {
data.value.list.push(item)
}
@@ -591,6 +665,13 @@
visibleAssociatedApplication.value = false
}
+ const showType = ref('')
+ const showTypeClick = (e) => {
+ showType.value = e
+ console.log(e, 'showType', showType.value)
+ }
+ showTypeClick('调用接口')
+
watch(data.value.list, (newProps, oldProps) => {
// console.log(newProps, oldProps)
newProps.forEach((val) => {
@@ -624,256 +705,271 @@
}
})
})
+ const handleChange2 = (value) => {
+ console.log(`selected ${value}`)
+ }
+
+ const handleBlur = () => {
+ console.log('blur')
+ }
+
+ const handleFocus = () => {
+ console.log('focus')
+ }
+
+ const filterOption = (input, option) => {
+ return option.label.toLowerCase().indexOf(input.toLowerCase()) >= 0
+ }
diff --git a/front/src/views/components/upload/index.vue b/front/src/views/components/upload/index.vue
index c04a1c26..5987c99d 100644
--- a/front/src/views/components/upload/index.vue
+++ b/front/src/views/components/upload/index.vue
@@ -76,6 +76,8 @@
file.type === 'application/msword' ||
file.type ===
'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
+ } else if (props.type === '压缩包') {
+ flag = file.type === 'application/x-zip-compressed'
}
console.log(flag)
if (!flag) {
@@ -115,6 +117,8 @@
} else {
mybus.emit('chageFileList', fileList.value)
}
+ } else if (props.type === '压缩包') {
+ mybus.emit('chagePackageList', fileList.value)
} else if (props.type === '视频') {
mybus.emit('chageVideoList', fileList.value)
}
@@ -129,16 +133,16 @@
}
diff --git a/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue b/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue
index a642d8e9..1aee9726 100644
--- a/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue
+++ b/front/src/views/detailsAll/components/Algorithm/AlgorithmTopDetails.vue
@@ -2,7 +2,7 @@
* @Author: hisense.liangjunhua
* @Date: 2022-06-08 11:56:28
* @LastEditors: hisense.liangjunhua
- * @LastEditTime: 2022-07-05 11:41:52
+ * @LastEditTime: 2022-07-15 17:30:19
* @Description: 算法详情页头部
-->
@@ -58,7 +58,9 @@
加入申购车
- 收藏
+
+ {{ scFlag ? '已' : '' }}收藏
+