Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
f90832df
提交
f90832df
编写于
2月 08, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新需求迭代
上级
707cfeaf
变更
16
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
8851 行增加
和
983 行删除
+8851
-983
delete.png
src/assets/image/delete.png
+0
-0
plus.png
src/assets/image/plus.png
+0
-0
fetch.js
src/utils-o/fetch.js
+1
-1
env-config.js
src/utils/env-config.js
+2
-2
fetch.js
src/utils/fetch.js
+1
-0
edit-entry.old.vue
src/views/education/edit-entry.old.vue
+983
-0
edit-entry.vue
src/views/education/edit-entry.vue
+9
-6
edit-manager.old.vue
src/views/education/edit-manager.old.vue
+4387
-0
edit-manager.vue
src/views/education/edit-manager.vue
+862
-738
item-component.old.vue
src/views/education/item-component.old.vue
+322
-0
item-component.vue
src/views/education/item-component.vue
+302
-226
item-manager.old.vue
src/views/education/item-manager.old.vue
+743
-0
item-manager.vue
src/views/education/item-manager.vue
+40
-9
item-role.old.vue
src/views/system/item-role.old.vue
+1197
-0
item-role.vue
src/views/system/item-role.vue
+1
-0
role.vue
src/views/system/role.vue
+1
-1
未找到文件。
src/assets/image/delete.png
0 → 100644
浏览文件 @
f90832df
5.3 KB
src/assets/image/plus.png
0 → 100644
浏览文件 @
f90832df
4.3 KB
src/utils-o/fetch.js
浏览文件 @
f90832df
...
@@ -56,7 +56,7 @@ service.interceptors.request.use(config => {
...
@@ -56,7 +56,7 @@ service.interceptors.request.use(config => {
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
// config.headers['token'] = 'BFD804F3A3194FBBBE113962222839F6';
// config.headers['token'] = 'BFD804F3A3194FBBBE113962222839F6';
// config.headers['token'] = 'F8209898391C40A0B8DBC1ED9E157291';
// config.headers['token'] = 'F8209898391C40A0B8DBC1ED9E157291';
config
.
headers
[
'token'
]
=
'
2E46B77D801C479DBA1C550CE70D348F
'
;
config
.
headers
[
'token'
]
=
'
3167CD6495A14C14AEF28AB99F69984D
'
;
}
else
{
}
else
{
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
}
}
...
...
src/utils/env-config.js
浏览文件 @
f90832df
...
@@ -10,10 +10,10 @@ export const envConfig = {
...
@@ -10,10 +10,10 @@ export const envConfig = {
// baseUrl: 'https://uat-sc.yunqueyi.com/',
// baseUrl: 'https://uat-sc.yunqueyi.com/',
// baseUrl: 'http://10.177.15.150:10401/',
// baseUrl: 'http://10.177.15.150:10401/',
// baseUrl: 'http://10.177.15.150:11905/',
// baseUrl: 'http://10.177.15.150:11905/',
//
baseUrl: 'https://dev-sc.yunqueyi.com/',
baseUrl
:
'https://dev-sc.yunqueyi.com/'
,
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// baseUrl: 'https://test1-sc.yunqueyi.com/',
// baseUrl: 'https://sc.yunqueyi.com/',
// baseUrl: 'https://sc.yunqueyi.com/',
baseUrl
:
'https://uat-sc.yunqueyi.com/'
,
//
baseUrl: 'https://uat-sc.yunqueyi.com/',
apiUrl
:
'https://uat-api.yunqueyi.com/'
,
apiUrl
:
'https://uat-api.yunqueyi.com/'
,
qiniuFileUrl
:
"https://uat-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuFileUrl
:
"https://uat-sc.yunqueyi.com/contents/admin/qiniu/token1"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
...
...
src/utils/fetch.js
浏览文件 @
f90832df
...
@@ -55,6 +55,7 @@ service.interceptors.request.use(config => {
...
@@ -55,6 +55,7 @@ service.interceptors.request.use(config => {
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
if
(
process
.
env
.
BUILD_ENV
==
"development"
){
// 本地开发环境
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
// config.headers['token'] = '29D71EAAB92E4580AFB16A8011BE7206';
// config.headers['token'] = '29D71EAAB92E4580AFB16A8011BE7206';
// config.headers['token'] = '3167CD6495A14C14AEF28AB99F69984D';
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
}
else
{
}
else
{
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
config
.
headers
[
'token'
]
=
localStorage
.
getItem
(
'storageToken'
)
...
...
src/views/education/edit-entry.old.vue
0 → 100644
浏览文件 @
f90832df
此差异已折叠。
点击以展开。
src/views/education/edit-entry.vue
浏览文件 @
f90832df
...
@@ -20,25 +20,27 @@
...
@@ -20,25 +20,27 @@
size=
"small"
size=
"small"
v-model=
"formData.entryName"
v-model=
"formData.entryName"
placeholder=
"请输入名称"
placeholder=
"请输入名称"
style=
"width:
83
%;"
style=
"width:
70
%;"
:disabled=
"peopleLevel == 'L3'"
:disabled=
"peopleLevel == 'L3'"
></el-input>
></el-input>
<span
class=
"word-num"
>
{{
(
formData
.
entryName
).
replace
(
/
\s
+/g
,
""
).
length
}}
/24
</span>
<span
class=
"word-num"
>
{{
(
formData
.
entryName
).
replace
(
/
\s
+/g
,
""
).
length
}}
/24
</span>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
label=
"发起机构:"
prop=
"organizationName"
>
<el-form-item
label=
"发起机构:"
prop=
"organizationName"
>
<el-col
:span=
"13"
>
<el-col
:span=
"13"
v-for=
"(item, index) in formData.organizationNameNew"
:key=
"index"
>
<el-input
<el-input
size=
"small"
size=
"small"
v-model=
"formData.organizationName"
v-model=
"formData.organizationName
New[index]
"
placeholder=
"请输入发起机构名称"
placeholder=
"请输入发起机构名称"
style=
"width:
83
%;"
style=
"width:
70
%;"
:disabled=
"peopleLevel == 'L3'"
:disabled=
"peopleLevel == 'L3'"
@
input=
"changeOrganizationName"
@
input=
"changeOrganizationName"
@
blur=
"blurName"
@
blur=
"blurName"
@
focus=
"focusName"
@
focus=
"focusName"
></el-input>
></el-input>
<span
class=
"word-num"
>
{{
(
formData
.
organizationName
).
replace
(
/
\s
+/g
,
""
).
length
}}
/12
</span>
<span
class=
"word-num"
>
{{
(
formData
.
organizationName
).
replace
(
/
\s
+/g
,
""
).
length
}}
/16
</span>
<img
class=
"edit-img"
src=
"../../assets/image/plus.png"
/>
<img
class=
"edit-img"
src=
"../../assets/image/delete.png"
/>
</el-col>
</el-col>
<el-popover
<el-popover
class=
"popover-content"
class=
"popover-content"
...
@@ -296,6 +298,7 @@ export default {
...
@@ -296,6 +298,7 @@ export default {
attachmentMore1: {},
attachmentMore1: {},
attachmentMore2: {},
attachmentMore2: {},
organizationName: "",
organizationName: "",
organizationNameNew: ['22', '33', '44'],
project: []
project: []
},
},
optionsProject: [],
optionsProject: [],
...
@@ -336,7 +339,7 @@ export default {
...
@@ -336,7 +339,7 @@ export default {
{ required: true, message: "
请填写发起机构名称
", trigger: "
blur
" },
{ required: true, message: "
请填写发起机构名称
", trigger: "
blur
" },
{
{
min: 1,
min: 1,
max: 1
2
,
max: 1
6
,
message: "
超过
12
个最大字数限制,请精简字数或使用简称
",
message: "
超过
12
个最大字数限制,请精简字数或使用简称
",
trigger: "
blur
"
trigger: "
blur
"
}
}
...
...
src/views/education/edit-manager.old.vue
0 → 100644
浏览文件 @
f90832df
此差异已折叠。
点击以展开。
src/views/education/edit-manager.vue
浏览文件 @
f90832df
此差异已折叠。
点击以展开。
src/views/education/item-component.old.vue
0 → 100644
浏览文件 @
f90832df
此差异已折叠。
点击以展开。
src/views/education/item-component.vue
浏览文件 @
f90832df
此差异已折叠。
点击以展开。
src/views/education/item-manager.old.vue
0 → 100644
浏览文件 @
f90832df
此差异已折叠。
点击以展开。
src/views/education/item-manager.vue
浏览文件 @
f90832df
...
@@ -244,6 +244,20 @@
...
@@ -244,6 +244,20 @@
<el-button
@
click=
"handleCheckRight"
>
不通过
</el-button>
<el-button
@
click=
"handleCheckRight"
>
不通过
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
<!-- 删除 弹窗 -->
<el-dialog
title=
"确认删除"
:show-close=
false
:visible
.
sync=
"deleteVisible"
:close-on-click-modal=
"false"
width=
"600px"
center
>
<p
style=
"text-align: center;"
>
删除后将不可撤销,确认删除吗?
</p>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"confirmDelete"
>
删 除
</el-button>
<el-button
type=
"primary"
@
click=
"hideDeleteFrom"
>
取 消
</el-button>
</span>
</el-dialog>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -357,7 +371,8 @@ export default {
...
@@ -357,7 +371,8 @@ export default {
}
}
},
},
idType
:
''
,
idType
:
''
,
masterAdministratorFlag
:
false
masterAdministratorFlag
:
false
,
deleteVisible
:
false
,
};
};
},
},
computed
:
{
computed
:
{
...
@@ -388,6 +403,10 @@ export default {
...
@@ -388,6 +403,10 @@ export default {
...
mapActions
([
...
mapActions
([
'updateItemManager'
'updateItemManager'
]),
]),
hideDeleteFrom
()
{
this
.
deleteVisible
=
false
;
},
openProject
()
{
openProject
()
{
if
(
vm
.
masterAdministratorFlag
==
'true'
)
{
if
(
vm
.
masterAdministratorFlag
==
'true'
)
{
this
.
centerDialogVisible
=
true
;
this
.
centerDialogVisible
=
true
;
...
@@ -649,19 +668,31 @@ export default {
...
@@ -649,19 +668,31 @@ export default {
}
}
return
data
;
return
data
;
},
},
//删除项目
delItem
(
row
)
{
delItem
(
row
)
{
this
.
deleteVisible
=
true
this
.
currentRow
=
row
;
},
hideDeleteFrom
()
{
this
.
deleteVisible
=
false
;
},
// 删除项目
confirmDelete
()
{
let
req
=
{};
let
req
=
{};
console
.
log
(
row
);
vm
.
GET
(
'portal/portalComponent/deleteComponentById'
,{
id
:
this
.
currentRow
.
id
}).
then
((
res
)
=>
{
vm
.
DELETE
(
"portal/portalInfo/delete/"
+
row
.
id
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
vm
.
$message
.
info
(
res
.
message
);
vm
.
$message
({
if
(
res
.
code
==
"000000"
)
{
type
:
'success'
,
console
.
log
(
res
);
message
:
'删除成功!'
vm
.
getProjectList
();
});
vm
.
search
()
}
else
{
vm
.
$message
.
info
(
res
.
message
)
}
}
}).
catch
(
function
(
error
)
{
vm
.
$message
.
error
(
error
);
});
});
},
},
//重置表单
//
重置表单
resetForm
()
{
resetForm
()
{
vm
.
formInline
=
Object
.
assign
(
vm
.
formInline
=
Object
.
assign
(
{},
{},
...
...
src/views/system/item-role.old.vue
0 → 100644
浏览文件 @
f90832df
此差异已折叠。
点击以展开。
src/views/system/item-role.vue
浏览文件 @
f90832df
...
@@ -432,6 +432,7 @@ export default {
...
@@ -432,6 +432,7 @@ export default {
created
()
{
created
()
{
vm
=
this
;
vm
=
this
;
this
.
queryRoleList
();
this
.
queryRoleList
();
this
.
curmbThird
=
this
.
$route
.
query
&&
this
.
$route
.
query
.
projectName
||
''
},
},
// 挂载到Dom完成时
// 挂载到Dom完成时
mounted
:
function
()
{
mounted
:
function
()
{
...
...
src/views/system/role.vue
浏览文件 @
f90832df
...
@@ -176,7 +176,7 @@ export default {
...
@@ -176,7 +176,7 @@ export default {
vm
.
search
();
vm
.
search
();
},
},
toPage
(
row
)
{
toPage
(
row
)
{
this
.
$router
.
push
(
"item-role?portalProjectId="
+
row
.
id
);
this
.
$router
.
push
(
"item-role?portalProjectId="
+
row
.
id
+
'&projectName='
+
row
.
projectName
);
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
this
.
formInline
.
pageSize
=
val
;
this
.
formInline
.
pageSize
=
val
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录