Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
93ffa4c5
提交
93ffa4c5
编写于
4月 13, 2020
作者:
haochangdi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化发起机构提示
上级
ef273ce6
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
9 行增加
和
6 行删除
+9
-6
selectTemplate.vue
src/components/education/template/selectTemplate.vue
+6
-4
templateMessage.vue
src/components/education/template/templateMessage.vue
+3
-2
未找到文件。
src/components/education/template/selectTemplate.vue
浏览文件 @
93ffa4c5
...
@@ -327,9 +327,6 @@ export default {
...
@@ -327,9 +327,6 @@ export default {
vm
=
this
;
vm
=
this
;
vm
.
getComponentInfo
();
vm
.
getComponentInfo
();
if
(
!
vm
.
newBuild
){
vm
.
setEditData
(
this
.
messageObj
);
}
if
(
!
vm
.
newBuild
&&
!
vm
.
isEditor
)
{
if
(
!
vm
.
newBuild
&&
!
vm
.
isEditor
)
{
this
.
disabled
=
true
;
this
.
disabled
=
true
;
}
else
{
}
else
{
...
@@ -410,6 +407,10 @@ export default {
...
@@ -410,6 +407,10 @@ export default {
this
.
optionsComponent
=
optionsComponent
;
this
.
optionsComponent
=
optionsComponent
;
this
.
optionsCertificate
=
optionsCertificate
;
this
.
optionsCertificate
=
optionsCertificate
;
this
.
organizationContent
=
res
.
data
.
creatorOrganizationName
;
this
.
organizationContent
=
res
.
data
.
creatorOrganizationName
;
if
(
!
vm
.
newBuild
){
vm
.
status4Flag
=
1
;
vm
.
setEditData
(
this
.
messageObj
);
}
}
}
});
});
},
},
...
@@ -567,7 +568,7 @@ export default {
...
@@ -567,7 +568,7 @@ export default {
}
}
},
},
initTags
(
value
)
{
initTags
(
value
)
{
//
console.log('value',value,'optionsComponent',this.optionsComponent);
console
.
log
(
'value'
,
value
,
'optionsComponent'
,
this
.
optionsComponent
);
this
.
tagsComponent
=
[];
this
.
tagsComponent
=
[];
let
len
=
0
;
let
len
=
0
;
for
(
let
i
=
0
;
i
<
value
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
value
.
length
;
i
++
)
{
...
@@ -576,6 +577,7 @@ export default {
...
@@ -576,6 +577,7 @@ export default {
this
.
tagsComponent
[
len
]
=
{};
this
.
tagsComponent
[
len
]
=
{};
this
.
tagsComponent
[
len
].
value
=
this
.
optionsComponent
[
j
].
value
;
this
.
tagsComponent
[
len
].
value
=
this
.
optionsComponent
[
j
].
value
;
this
.
tagsComponent
[
len
].
name
=
this
.
optionsComponent
[
j
].
label
;
this
.
tagsComponent
[
len
].
name
=
this
.
optionsComponent
[
j
].
label
;
// 不可编辑
if
(
vm
.
status4Flag
==
1
)
{
if
(
vm
.
status4Flag
==
1
)
{
this
.
optionsComponent
[
j
].
disabled
=
true
;
this
.
optionsComponent
[
j
].
disabled
=
true
;
this
.
tagsComponent
[
len
].
disabled
=
true
;
this
.
tagsComponent
[
len
].
disabled
=
true
;
...
...
src/components/education/template/templateMessage.vue
浏览文件 @
93ffa4c5
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
:content="organizationContent"
:content="organizationContent"
v-model="visibleName"
v-model="visibleName"
@click="checkDefault">
@click="checkDefault">
<p
@
click=
"checkDefault"
>
我的机构:
{{
organizationContent
}}
</p>
<p
@
click=
"checkDefault"
>
我的机构:
{{
formData
.
creatorOrganizationName
}}
</p>
</el-popover>
</el-popover>
</el-form-item>
</el-form-item>
...
@@ -229,7 +229,7 @@ export default {
...
@@ -229,7 +229,7 @@ export default {
return {
return {
visibleName: false, //是否显示机构提示
visibleName: false, //是否显示机构提示
orgListIndex: 1,
orgListIndex: 1,
organizationContent: '
hcd
',//机构名称
organizationContent: '',//机构名称
formData: {
formData: {
id: "", //项目 id 26
id: "", //项目 id 26
projectName: "", //开放模板名称
projectName: "", //开放模板名称
...
@@ -439,6 +439,7 @@ export default {
...
@@ -439,6 +439,7 @@ export default {
},
},
// 机构选择默认值
// 机构选择默认值
checkDefault() {
checkDefault() {
vm.organizationContent = vm.formData.creatorOrganizationName;
vm.formData.organizationNameList.splice(vm.orgListIndex-1, 1, vm.organizationContent);
vm.formData.organizationNameList.splice(vm.orgListIndex-1, 1, vm.organizationContent);
vm.visibleName = false;
vm.visibleName = false;
},
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录