Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录
切换导航
场
场地管理前端
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
刘英杰
场地管理前端
提交
ce7e9792
提交
ce7e9792
编写于
1月 10, 2024
作者:
钟一霄
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完成:系统配置快捷评语;活动管理查看物资(树)、评论、轨迹;黑名单管理;
上级
951a8d22
变更
48
展开全部
显示空白字符变更
内嵌
并排
正在显示
48 个修改的文件
包含
1121 行增加
和
245 行删除
+1121
-245
getApiActivityActivityCancel.d.ts
...api/controller/Activity/getApiActivityActivityCancel.d.ts
+15
-0
getApiActivityActivityCancel.js
src/api/controller/Activity/getApiActivityActivityCancel.js
+13
-0
getApiActivityActivityDel.d.ts
src/api/controller/Activity/getApiActivityActivityDel.d.ts
+15
-0
getApiActivityActivityDel.js
src/api/controller/Activity/getApiActivityActivityDel.js
+13
-0
getApiActivityGetActivityInfo.d.ts
...pi/controller/Activity/getApiActivityGetActivityInfo.d.ts
+1
-0
index.d.ts
src/api/controller/Activity/index.d.ts
+2
-1
index.js
src/api/controller/Activity/index.js
+2
-1
index.d.ts
src/api/controller/Common/index.d.ts
+0
-2
index.js
src/api/controller/Common/index.js
+0
-2
getApiFlowFlowPlaceDataOut.d.ts
src/api/controller/Flow/getApiFlowFlowPlaceDataOut.d.ts
+24
-0
getApiFlowFlowPlaceDataOut.js
src/api/controller/Flow/getApiFlowFlowPlaceDataOut.js
+13
-0
getApiFlowGetFlowAddTimeNum.d.ts
src/api/controller/Flow/getApiFlowGetFlowAddTimeNum.d.ts
+11
-0
getApiFlowGetFlowAddTimeNum.js
src/api/controller/Flow/getApiFlowGetFlowAddTimeNum.js
+8
-0
getApiFlowGetFlowCommodityTree.d.ts
src/api/controller/Flow/getApiFlowGetFlowCommodityTree.d.ts
+29
-0
getApiFlowGetFlowCommodityTree.js
src/api/controller/Flow/getApiFlowGetFlowCommodityTree.js
+13
-0
getApiFlowGetFlowPlaceHourList.d.ts
src/api/controller/Flow/getApiFlowGetFlowPlaceHourList.d.ts
+27
-0
getApiFlowGetFlowPlaceHourList.js
src/api/controller/Flow/getApiFlowGetFlowPlaceHourList.js
+14
-0
getApiFlowGetFlowPlaceSelect.d.ts
src/api/controller/Flow/getApiFlowGetFlowPlaceSelect.d.ts
+13
-0
getApiFlowGetFlowPlaceSelect.js
src/api/controller/Flow/getApiFlowGetFlowPlaceSelect.js
+14
-0
getApiFlowGetFlowPlaceTypeSelect.d.ts
...api/controller/Flow/getApiFlowGetFlowPlaceTypeSelect.d.ts
+14
-0
getApiFlowGetFlowPlaceTypeSelect.js
src/api/controller/Flow/getApiFlowGetFlowPlaceTypeSelect.js
+8
-0
getApiFlowGetFlowSelect.d.ts
src/api/controller/Flow/getApiFlowGetFlowSelect.d.ts
+8
-0
getApiFlowGetFlowSelect.js
src/api/controller/Flow/getApiFlowGetFlowSelect.js
+8
-0
getApiFlowGetFlowUserInfo.d.ts
src/api/controller/Flow/getApiFlowGetFlowUserInfo.d.ts
+3
-3
getApiFlowGetFlowUserInfo.js
src/api/controller/Flow/getApiFlowGetFlowUserInfo.js
+3
-3
index.d.ts
src/api/controller/Flow/index.d.ts
+11
-0
index.js
src/api/controller/Flow/index.js
+11
-0
postApiFlowFlowActivityApplyIns.d.ts
src/api/controller/Flow/postApiFlowFlowActivityApplyIns.d.ts
+12
-0
postApiFlowFlowActivityApplyIns.js
src/api/controller/Flow/postApiFlowFlowActivityApplyIns.js
+8
-0
postApiFlowFlowActivityConflict.d.ts
src/api/controller/Flow/postApiFlowFlowActivityConflict.d.ts
+12
-0
postApiFlowFlowActivityConflict.js
src/api/controller/Flow/postApiFlowFlowActivityConflict.js
+8
-0
postApiFlowFlowActivityPass.d.ts
src/api/controller/Flow/postApiFlowFlowActivityPass.d.ts
+12
-0
postApiFlowFlowActivityPass.js
src/api/controller/Flow/postApiFlowFlowActivityPass.js
+8
-0
getApiPlacePlaceDataOut.d.ts
src/api/controller/Place/getApiPlacePlaceDataOut.d.ts
+1
-0
index.d.ts
src/api/controller/index.d.ts
+1
-0
index.js
src/api/controller/index.js
+1
-0
Activity.d.ts
src/api/interface/apiTypes/Activity.d.ts
+1
-0
ActivityFlowRequest.d.ts
src/api/interface/apiTypes/ActivityFlowRequest.d.ts
+16
-0
ActivityFlowRequest.js
src/api/interface/apiTypes/ActivityFlowRequest.js
+1
-0
PlaceOutResponse.d.ts
src/api/interface/apiTypes/PlaceOutResponse.d.ts
+2
-0
index.d.ts
src/api/interface/index.d.ts
+7
-6
index.js
src/api/interface/index.js
+7
-6
5.png
src/assets/images/5.png
+0
-0
CEditModal.vue
src/components/CEditModal.vue
+4
-4
index.vue
src/pages/activityManagement/index.vue
+390
-3
index.vue
src/pages/blacklistManagement/index.vue
+206
-202
index.vue
src/pages/siteManagement/index.vue
+1
-1
index.vue
src/pages/systemConfiguration/index.vue
+130
-11
未找到文件。
src/api/controller/Activity/getApiActivityActivityCancel.d.ts
0 → 100644
浏览文件 @
ce7e9792
/**
* 活动取消
* /api/Activity/ActivityCancel
*/
export
declare
function
getApiActivityActivityCancel
(
params
:
GetApiActivityActivityCancelParams
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
string
;
}
>
;
interface
GetApiActivityActivityCancelParams
{
id
?:
string
;
}
export
{};
src/api/controller/Activity/getApiActivityActivityCancel.js
0 → 100644
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
/**
* 活动取消
* /api/Activity/ActivityCancel
*/
export
function
getApiActivityActivityCancel
(
params
)
{
const
paramsInput
=
{
id
:
params
.
id
,
};
return
request
.
get
(
`/api/Activity/ActivityCancel`
,
{
params
:
paramsInput
,
});
}
src/api/controller/Activity/getApiActivityActivityDel.d.ts
0 → 100644
浏览文件 @
ce7e9792
/**
* 活动删除
* /api/Activity/ActivityDel
*/
export
declare
function
getApiActivityActivityDel
(
params
:
GetApiActivityActivityDelParams
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
string
;
}
>
;
interface
GetApiActivityActivityDelParams
{
id
?:
string
;
}
export
{};
src/api/controller/Activity/getApiActivityActivityDel.js
0 → 100644
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
/**
* 活动删除
* /api/Activity/ActivityDel
*/
export
function
getApiActivityActivityDel
(
params
)
{
const
paramsInput
=
{
id
:
params
.
id
,
};
return
request
.
get
(
`/api/Activity/ActivityDel`
,
{
params
:
paramsInput
,
});
}
src/api/controller/Activity/getApiActivityGetActivityInfo.d.ts
浏览文件 @
ce7e9792
...
@@ -42,6 +42,7 @@ export declare function getApiActivityGetActivityInfo(params: GetApiActivityGetA
...
@@ -42,6 +42,7 @@ export declare function getApiActivityGetActivityInfo(params: GetApiActivityGetA
activity_name
:
string
;
activity_name
:
string
;
is_evaluate
:
number
;
is_evaluate
:
number
;
flow_id
:
string
;
flow_id
:
string
;
flow_no
:
string
;
};
};
}
>
;
}
>
;
interface
GetApiActivityGetActivityInfoParams
{
interface
GetApiActivityGetActivityInfoParams
{
...
...
src/api/controller/Activity/index.d.ts
浏览文件 @
ce7e9792
...
@@ -3,7 +3,8 @@ export * from "./postApiActivityGetActivityListByWxPlaceAdmin";
...
@@ -3,7 +3,8 @@ export * from "./postApiActivityGetActivityListByWxPlaceAdmin";
export
*
from
"
./postApiActivityGetActivityListByWxUser
"
;
export
*
from
"
./postApiActivityGetActivityListByWxUser
"
;
export
*
from
"
./getApiActivityGetActivityInfo
"
;
export
*
from
"
./getApiActivityGetActivityInfo
"
;
export
*
from
"
./postApiActivityActivityDirectIns
"
;
export
*
from
"
./postApiActivityActivityDirectIns
"
;
export
*
from
"
./postApiActivityActivityApplyIns
"
;
export
*
from
"
./getApiActivityActivityCancel
"
;
export
*
from
"
./getApiActivityActivityDel
"
;
export
*
from
"
./getApiActivityActivityAdjustTimeOrPlaceSave
"
;
export
*
from
"
./getApiActivityActivityAdjustTimeOrPlaceSave
"
;
export
*
from
"
./getApiActivityGetParticipantList
"
;
export
*
from
"
./getApiActivityGetParticipantList
"
;
export
*
from
"
./postApiActivityParticipantIns
"
;
export
*
from
"
./postApiActivityParticipantIns
"
;
...
...
src/api/controller/Activity/index.js
浏览文件 @
ce7e9792
...
@@ -3,7 +3,8 @@ export * from "./postApiActivityGetActivityListByWxPlaceAdmin";
...
@@ -3,7 +3,8 @@ export * from "./postApiActivityGetActivityListByWxPlaceAdmin";
export
*
from
"
./postApiActivityGetActivityListByWxUser
"
;
export
*
from
"
./postApiActivityGetActivityListByWxUser
"
;
export
*
from
"
./getApiActivityGetActivityInfo
"
;
export
*
from
"
./getApiActivityGetActivityInfo
"
;
export
*
from
"
./postApiActivityActivityDirectIns
"
;
export
*
from
"
./postApiActivityActivityDirectIns
"
;
export
*
from
"
./postApiActivityActivityApplyIns
"
;
export
*
from
"
./getApiActivityActivityCancel
"
;
export
*
from
"
./getApiActivityActivityDel
"
;
export
*
from
"
./getApiActivityActivityAdjustTimeOrPlaceSave
"
;
export
*
from
"
./getApiActivityActivityAdjustTimeOrPlaceSave
"
;
export
*
from
"
./getApiActivityGetParticipantList
"
;
export
*
from
"
./getApiActivityGetParticipantList
"
;
export
*
from
"
./postApiActivityParticipantIns
"
;
export
*
from
"
./postApiActivityParticipantIns
"
;
...
...
src/api/controller/Common/index.d.ts
浏览文件 @
ce7e9792
...
@@ -6,5 +6,3 @@ export * from "./getApiCommonGetPlaceTypeSelect";
...
@@ -6,5 +6,3 @@ export * from "./getApiCommonGetPlaceTypeSelect";
export
*
from
"
./getApiCommonGetPlaceSelect
"
;
export
*
from
"
./getApiCommonGetPlaceSelect
"
;
export
*
from
"
./getApiCommonGetKeyByActivityList
"
;
export
*
from
"
./getApiCommonGetKeyByActivityList
"
;
export
*
from
"
./getApiCommonGetSexSelect
"
;
export
*
from
"
./getApiCommonGetSexSelect
"
;
export
*
from
"
./getApiCommonGetFlowSelect
"
;
export
*
from
"
./getApiCommonGetUserInfo
"
;
src/api/controller/Common/index.js
浏览文件 @
ce7e9792
...
@@ -6,5 +6,3 @@ export * from "./getApiCommonGetPlaceTypeSelect";
...
@@ -6,5 +6,3 @@ export * from "./getApiCommonGetPlaceTypeSelect";
export
*
from
"
./getApiCommonGetPlaceSelect
"
;
export
*
from
"
./getApiCommonGetPlaceSelect
"
;
export
*
from
"
./getApiCommonGetKeyByActivityList
"
;
export
*
from
"
./getApiCommonGetKeyByActivityList
"
;
export
*
from
"
./getApiCommonGetSexSelect
"
;
export
*
from
"
./getApiCommonGetSexSelect
"
;
export
*
from
"
./getApiCommonGetFlowSelect
"
;
export
*
from
"
./getApiCommonGetUserInfo
"
;
src/api/controller/Flow/getApiFlowFlowPlaceDataOut.d.ts
0 → 100644
浏览文件 @
ce7e9792
/**
* 场地带出字段
* /api/Flow/FlowPlaceDataOut
*/
export
declare
function
getApiFlowFlowPlaceDataOut
(
params
:
GetApiFlowFlowPlaceDataOutParams
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
{
place_id
:
string
;
place_name
:
string
;
place_code
:
string
;
sex
:
string
;
place_address
:
string
;
capacity
:
string
;
threshold
:
string
;
description
:
string
;
};
}
>
;
interface
GetApiFlowFlowPlaceDataOutParams
{
id
?:
string
;
}
export
{};
src/api/controller/Flow/getApiFlowFlowPlaceDataOut.js
0 → 100644
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
/**
* 场地带出字段
* /api/Flow/FlowPlaceDataOut
*/
export
function
getApiFlowFlowPlaceDataOut
(
params
)
{
const
paramsInput
=
{
id
:
params
.
id
,
};
return
request
.
get
(
`/api/Flow/FlowPlaceDataOut`
,
{
params
:
paramsInput
,
});
}
src/api/controller/Flow/getApiFlowGetFlowAddTimeNum.d.ts
0 → 100644
浏览文件 @
ce7e9792
/**
* 获取允许加时时间段个数
* /api/Flow/GetFlowAddTimeNum
*/
export
declare
function
getApiFlowGetFlowAddTimeNum
():
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
string
;
}
>
;
src/api/controller/Flow/getApiFlowGetFlowAddTimeNum.js
0 → 100644
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
/**
* 获取允许加时时间段个数
* /api/Flow/GetFlowAddTimeNum
*/
export
function
getApiFlowGetFlowAddTimeNum
()
{
return
request
.
get
(
`/api/Flow/GetFlowAddTimeNum`
);
}
src/api/controller/Flow/getApiFlowGetFlowCommodityTree.d.ts
0 → 100644
浏览文件 @
ce7e9792
/**
* 获取物资树
* /api/Flow/GetFlowCommodityTree
*/
export
declare
function
getApiFlowGetFlowCommodityTree
(
params
:
GetApiFlowGetFlowCommodityTreeParams
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
{
id
:
string
;
commodity_name
:
string
;
parent_id
:
string
;
place_type_id
:
string
;
place_type_name
:
string
;
file_id
:
string
;
is_enable
:
number
;
is_del
:
number
;
createby
:
string
;
createtime
:
string
;
modifyby
:
string
;
modify_time
:
string
;
children
:
any
[];
}[];
}
>
;
interface
GetApiFlowGetFlowCommodityTreeParams
{
place_type_id
?:
string
;
}
export
{};
src/api/controller/Flow/getApiFlowGetFlowCommodityTree.js
0 → 100644
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
/**
* 获取物资树
* /api/Flow/GetFlowCommodityTree
*/
export
function
getApiFlowGetFlowCommodityTree
(
params
)
{
const
paramsInput
=
{
place_type_id
:
params
.
place_type_id
,
};
return
request
.
get
(
`/api/Flow/GetFlowCommodityTree`
,
{
params
:
paramsInput
,
});
}
src/api/controller/Flow/getApiFlowGetFlowPlaceHourList.d.ts
0 → 100644
浏览文件 @
ce7e9792
/**
* 获取场地时间段
* /api/Flow/GetFlowPlaceHourList
*/
export
declare
function
getApiFlowGetFlowPlaceHourList
(
params
:
GetApiFlowGetFlowPlaceHourListParams
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
{
place_id
:
string
;
place_code
:
string
;
place_name
:
string
;
card
:
string
;
name
:
string
;
begin_time
:
string
;
end_time
:
string
;
time_section
:
string
;
occupy_flag
:
number
;
occupy_name
:
string
;
}[];
}
>
;
interface
GetApiFlowGetFlowPlaceHourListParams
{
place_id
:
string
;
day
:
string
;
}
export
{};
src/api/controller/Flow/getApiFlowGetFlowPlaceHourList.js
0 → 100644
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
/**
* 获取场地时间段
* /api/Flow/GetFlowPlaceHourList
*/
export
function
getApiFlowGetFlowPlaceHourList
(
params
)
{
const
paramsInput
=
{
place_id
:
params
.
place_id
,
day
:
params
.
day
,
};
return
request
.
get
(
`/api/Flow/GetFlowPlaceHourList`
,
{
params
:
paramsInput
,
});
}
src/api/controller/Flow/getApiFlowGetFlowPlaceSelect.d.ts
0 → 100644
浏览文件 @
ce7e9792
/**
* 场地类型带出场地下拉框
* /api/Flow/GetFlowPlaceSelect
*/
export
declare
function
getApiFlowGetFlowPlaceSelect
(
params
:
GetApiFlowGetFlowPlaceSelectParams
):
import
(
"
axios
"
).
AxiosPromise
<
{
name
:
string
;
id
:
string
;
}[]
>
;
interface
GetApiFlowGetFlowPlaceSelectParams
{
id
?:
string
;
sex
?:
string
;
}
export
{};
src/api/controller/Flow/getApiFlowGetFlowPlaceSelect.js
0 → 100644
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
/**
* 场地类型带出场地下拉框
* /api/Flow/GetFlowPlaceSelect
*/
export
function
getApiFlowGetFlowPlaceSelect
(
params
)
{
const
paramsInput
=
{
id
:
params
.
id
,
sex
:
params
.
sex
,
};
return
request
.
get
(
`/api/Flow/GetFlowPlaceSelect`
,
{
params
:
paramsInput
,
});
}
src/api/controller/Flow/getApiFlowGetFlowPlaceTypeSelect.d.ts
0 → 100644
浏览文件 @
ce7e9792
/**
* 获取场地类型下拉框
* /api/Flow/GetFlowPlaceTypeSelect
*/
export
declare
function
getApiFlowGetFlowPlaceTypeSelect
():
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
{
name
:
string
;
id
:
string
;
}[];
}
>
;
src/api/controller/Flow/getApiFlowGetFlowPlaceTypeSelect.js
0 → 100644
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
/**
* 获取场地类型下拉框
* /api/Flow/GetFlowPlaceTypeSelect
*/
export
function
getApiFlowGetFlowPlaceTypeSelect
()
{
return
request
.
get
(
`/api/Flow/GetFlowPlaceTypeSelect`
);
}
src/api/controller/
Common/getApiCommon
GetFlowSelect.d.ts
→
src/api/controller/
Flow/getApiFlow
GetFlowSelect.d.ts
浏览文件 @
ce7e9792
/**
/**
* 获取流程选择框
* 获取流程选择框
* /api/
Common
/GetFlowSelect
* /api/
Flow
/GetFlowSelect
*/
*/
export
declare
function
getApi
Common
GetFlowSelect
():
import
(
"
axios
"
).
AxiosPromise
<
{
export
declare
function
getApi
Flow
GetFlowSelect
():
import
(
"
axios
"
).
AxiosPromise
<
{
name
:
string
;
name
:
string
;
id
:
string
;
id
:
string
;
}[]
>
;
}[]
>
;
src/api/controller/
Common/getApiCommon
GetFlowSelect.js
→
src/api/controller/
Flow/getApiFlow
GetFlowSelect.js
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
import
request
from
"
@/plugins/request
"
;
/**
/**
* 获取流程选择框
* 获取流程选择框
* /api/
Common
/GetFlowSelect
* /api/
Flow
/GetFlowSelect
*/
*/
export
function
getApi
Common
GetFlowSelect
()
{
export
function
getApi
Flow
GetFlowSelect
()
{
return
request
.
get
(
`/api/
Common
/GetFlowSelect`
);
return
request
.
get
(
`/api/
Flow
/GetFlowSelect`
);
}
}
src/api/controller/
Common/getApiCommonGet
UserInfo.d.ts
→
src/api/controller/
Flow/getApiFlowGetFlow
UserInfo.d.ts
浏览文件 @
ce7e9792
/**
/**
* 根据卡号获取用户信息
* 根据卡号获取用户信息
* /api/
Common/Get
UserInfo
* /api/
Flow/GetFlow
UserInfo
*/
*/
export
declare
function
getApi
CommonGetUserInfo
(
params
:
GetApiCommonGet
UserInfoParams
):
import
(
"
axios
"
).
AxiosPromise
<
{
export
declare
function
getApi
FlowGetFlowUserInfo
(
params
:
GetApiFlowGetFlow
UserInfoParams
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
code
:
number
;
status
:
string
;
status
:
string
;
msg
:
string
;
msg
:
string
;
...
@@ -19,7 +19,7 @@ export declare function getApiCommonGetUserInfo(params: GetApiCommonGetUserInfoP
...
@@ -19,7 +19,7 @@ export declare function getApiCommonGetUserInfo(params: GetApiCommonGetUserInfoP
sex
:
string
;
sex
:
string
;
};
};
}
>
;
}
>
;
interface
GetApi
CommonGet
UserInfoParams
{
interface
GetApi
FlowGetFlow
UserInfoParams
{
card
:
string
;
card
:
string
;
}
}
export
{};
export
{};
src/api/controller/
Common/getApiCommonGet
UserInfo.js
→
src/api/controller/
Flow/getApiFlowGetFlow
UserInfo.js
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
import
request
from
"
@/plugins/request
"
;
/**
/**
* 根据卡号获取用户信息
* 根据卡号获取用户信息
* /api/
Common/Get
UserInfo
* /api/
Flow/GetFlow
UserInfo
*/
*/
export
function
getApi
CommonGet
UserInfo
(
params
)
{
export
function
getApi
FlowGetFlow
UserInfo
(
params
)
{
const
paramsInput
=
{
const
paramsInput
=
{
card
:
params
.
card
,
card
:
params
.
card
,
};
};
return
request
.
get
(
`/api/
Common/Get
UserInfo`
,
{
return
request
.
get
(
`/api/
Flow/GetFlow
UserInfo`
,
{
params
:
paramsInput
,
params
:
paramsInput
,
});
});
}
}
src/api/controller/Flow/index.d.ts
0 → 100644
浏览文件 @
ce7e9792
export
*
from
"
./getApiFlowGetFlowSelect
"
;
export
*
from
"
./getApiFlowGetFlowUserInfo
"
;
export
*
from
"
./getApiFlowFlowPlaceDataOut
"
;
export
*
from
"
./getApiFlowGetFlowPlaceTypeSelect
"
;
export
*
from
"
./getApiFlowGetFlowPlaceSelect
"
;
export
*
from
"
./postApiFlowFlowActivityApplyIns
"
;
export
*
from
"
./getApiFlowGetFlowCommodityTree
"
;
export
*
from
"
./getApiFlowGetFlowPlaceHourList
"
;
export
*
from
"
./getApiFlowGetFlowAddTimeNum
"
;
export
*
from
"
./postApiFlowFlowActivityConflict
"
;
export
*
from
"
./postApiFlowFlowActivityPass
"
;
src/api/controller/Flow/index.js
0 → 100644
浏览文件 @
ce7e9792
export
*
from
"
./getApiFlowGetFlowSelect
"
;
export
*
from
"
./getApiFlowGetFlowUserInfo
"
;
export
*
from
"
./getApiFlowFlowPlaceDataOut
"
;
export
*
from
"
./getApiFlowGetFlowPlaceTypeSelect
"
;
export
*
from
"
./getApiFlowGetFlowPlaceSelect
"
;
export
*
from
"
./postApiFlowFlowActivityApplyIns
"
;
export
*
from
"
./getApiFlowGetFlowCommodityTree
"
;
export
*
from
"
./getApiFlowGetFlowPlaceHourList
"
;
export
*
from
"
./getApiFlowGetFlowAddTimeNum
"
;
export
*
from
"
./postApiFlowFlowActivityConflict
"
;
export
*
from
"
./postApiFlowFlowActivityPass
"
;
src/api/controller/
Activity/postApiActivity
ActivityApplyIns.d.ts
→
src/api/controller/
Flow/postApiFlowFlow
ActivityApplyIns.d.ts
浏览文件 @
ce7e9792
import
{
type
Activity
Direct
Request
}
from
"
../../interface
"
;
import
{
type
Activity
Flow
Request
}
from
"
../../interface
"
;
/**
/**
* 申请活动
* 申请活动
* /api/
Activity/
ActivityApplyIns
* /api/
Flow/Flow
ActivityApplyIns
*/
*/
export
declare
function
postApi
ActivityActivityApplyIns
(
input
?:
ActivityDirect
Request
):
import
(
"
axios
"
).
AxiosPromise
<
{
export
declare
function
postApi
FlowFlowActivityApplyIns
(
input
?:
ActivityFlow
Request
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
code
:
number
;
status
:
string
;
status
:
string
;
msg
:
string
;
msg
:
string
;
...
...
src/api/controller/
Activity/postApiActivity
ActivityApplyIns.js
→
src/api/controller/
Flow/postApiFlowFlow
ActivityApplyIns.js
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
import
request
from
"
@/plugins/request
"
;
/**
/**
* 申请活动
* 申请活动
* /api/
Activity/
ActivityApplyIns
* /api/
Flow/Flow
ActivityApplyIns
*/
*/
export
function
postApi
Activity
ActivityApplyIns
(
input
)
{
export
function
postApi
FlowFlow
ActivityApplyIns
(
input
)
{
return
request
.
post
(
`/api/
Activity/
ActivityApplyIns`
,
input
);
return
request
.
post
(
`/api/
Flow/Flow
ActivityApplyIns`
,
input
);
}
}
src/api/controller/Flow/postApiFlowFlowActivityConflict.d.ts
0 → 100644
浏览文件 @
ce7e9792
import
{
type
ActivityFlowRequest
}
from
"
../../interface
"
;
/**
* 验证是否占用
* /api/Flow/FlowActivityConflict
*/
export
declare
function
postApiFlowFlowActivityConflict
(
input
?:
ActivityFlowRequest
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
string
;
}
>
;
src/api/controller/Flow/postApiFlowFlowActivityConflict.js
0 → 100644
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
/**
* 验证是否占用
* /api/Flow/FlowActivityConflict
*/
export
function
postApiFlowFlowActivityConflict
(
input
)
{
return
request
.
post
(
`/api/Flow/FlowActivityConflict`
,
input
);
}
src/api/controller/Flow/postApiFlowFlowActivityPass.d.ts
0 → 100644
浏览文件 @
ce7e9792
import
{
type
ActivityFlowRequest
}
from
"
../../interface
"
;
/**
* 流程审批通过
* /api/Flow/FlowActivityPass
*/
export
declare
function
postApiFlowFlowActivityPass
(
input
?:
ActivityFlowRequest
):
import
(
"
axios
"
).
AxiosPromise
<
{
code
:
number
;
status
:
string
;
msg
:
string
;
msg_detail
:
string
;
response
:
string
;
}
>
;
src/api/controller/Flow/postApiFlowFlowActivityPass.js
0 → 100644
浏览文件 @
ce7e9792
import
request
from
"
@/plugins/request
"
;
/**
* 流程审批通过
* /api/Flow/FlowActivityPass
*/
export
function
postApiFlowFlowActivityPass
(
input
)
{
return
request
.
post
(
`/api/Flow/FlowActivityPass`
,
input
);
}
src/api/controller/Place/getApiPlacePlaceDataOut.d.ts
浏览文件 @
ce7e9792
...
@@ -15,6 +15,7 @@ export declare function getApiPlacePlaceDataOut(params: GetApiPlacePlaceDataOutP
...
@@ -15,6 +15,7 @@ export declare function getApiPlacePlaceDataOut(params: GetApiPlacePlaceDataOutP
place_address
:
string
;
place_address
:
string
;
capacity
:
string
;
capacity
:
string
;
threshold
:
string
;
threshold
:
string
;
description
:
string
;
};
};
}
>
;
}
>
;
interface
GetApiPlacePlaceDataOutParams
{
interface
GetApiPlacePlaceDataOutParams
{
...
...
src/api/controller/index.d.ts
浏览文件 @
ce7e9792
...
@@ -2,6 +2,7 @@ export * from "./Activity";
...
@@ -2,6 +2,7 @@ export * from "./Activity";
export
*
from
"
./Commodity
"
;
export
*
from
"
./Commodity
"
;
export
*
from
"
./Common
"
;
export
*
from
"
./Common
"
;
export
*
from
"
./Evaluate
"
;
export
*
from
"
./Evaluate
"
;
export
*
from
"
./Flow
"
;
export
*
from
"
./Key
"
;
export
*
from
"
./Key
"
;
export
*
from
"
./Login
"
;
export
*
from
"
./Login
"
;
export
*
from
"
./Place
"
;
export
*
from
"
./Place
"
;
...
...
src/api/controller/index.js
浏览文件 @
ce7e9792
...
@@ -2,6 +2,7 @@ export * from "./Activity";
...
@@ -2,6 +2,7 @@ export * from "./Activity";
export
*
from
"
./Commodity
"
;
export
*
from
"
./Commodity
"
;
export
*
from
"
./Common
"
;
export
*
from
"
./Common
"
;
export
*
from
"
./Evaluate
"
;
export
*
from
"
./Evaluate
"
;
export
*
from
"
./Flow
"
;
export
*
from
"
./Key
"
;
export
*
from
"
./Key
"
;
export
*
from
"
./Login
"
;
export
*
from
"
./Login
"
;
export
*
from
"
./Place
"
;
export
*
from
"
./Place
"
;
...
...
src/api/interface/apiTypes/Activity.d.ts
浏览文件 @
ce7e9792
...
@@ -33,4 +33,5 @@ export interface Activity {
...
@@ -33,4 +33,5 @@ export interface Activity {
activity_name
?:
string
;
activity_name
?:
string
;
is_evaluate
?:
number
;
is_evaluate
?:
number
;
flow_id
?:
string
;
flow_id
?:
string
;
flow_no
?:
string
;
}
}
src/api/interface/apiTypes/ActivityFlowRequest.d.ts
0 → 100644
浏览文件 @
ce7e9792
export
interface
ActivityFlowRequest
{
/** 流程id */
flow_id
?:
string
;
/** 流程编号 */
flow_no
?:
string
;
/** 用户卡号 */
card
?:
string
;
/** 手机号 */
phone
?:
string
;
place_type_id
?:
string
;
place_id
?:
string
;
begin_time
?:
string
;
end_time
?:
string
;
remark
?:
string
;
commodity_list
?:
string
[];
}
src/api/interface/apiTypes/ActivityFlowRequest.js
0 → 100644
浏览文件 @
ce7e9792
export
{};
src/api/interface/apiTypes/PlaceOutResponse.d.ts
浏览文件 @
ce7e9792
...
@@ -8,4 +8,6 @@ export interface PlaceOutResponse {
...
@@ -8,4 +8,6 @@ export interface PlaceOutResponse {
capacity
?:
string
;
capacity
?:
string
;
/** 最低申请人数 */
/** 最低申请人数 */
threshold
?:
string
;
threshold
?:
string
;
/** 场地描述 */
description
?:
string
;
}
}
src/api/interface/index.d.ts
浏览文件 @
ce7e9792
...
@@ -36,8 +36,6 @@ export * from "./apiTypes/SelectResponsesListMessageModel";
...
@@ -36,8 +36,6 @@ export * from "./apiTypes/SelectResponsesListMessageModel";
export
*
from
"
./apiTypes/PersonResponse
"
;
export
*
from
"
./apiTypes/PersonResponse
"
;
export
*
from
"
./apiTypes/KeyResponse
"
;
export
*
from
"
./apiTypes/KeyResponse
"
;
export
*
from
"
./apiTypes/KeyResponseListMessageModel
"
;
export
*
from
"
./apiTypes/KeyResponseListMessageModel
"
;
export
*
from
"
./apiTypes/UserInfoResponse
"
;
export
*
from
"
./apiTypes/UserInfoResponseMessageModel
"
;
export
*
from
"
./apiTypes/BlacklistRequest
"
;
export
*
from
"
./apiTypes/BlacklistRequest
"
;
export
*
from
"
./apiTypes/Blacklist
"
;
export
*
from
"
./apiTypes/Blacklist
"
;
export
*
from
"
./apiTypes/BlacklistMessageModel
"
;
export
*
from
"
./apiTypes/BlacklistMessageModel
"
;
...
@@ -46,6 +44,13 @@ export * from "./apiTypes/EvaluateViewModel";
...
@@ -46,6 +44,13 @@ export * from "./apiTypes/EvaluateViewModel";
export
*
from
"
./apiTypes/EvaluateViewModelListMessageModel
"
;
export
*
from
"
./apiTypes/EvaluateViewModelListMessageModel
"
;
export
*
from
"
./apiTypes/EvaluateViewModelMessageModel
"
;
export
*
from
"
./apiTypes/EvaluateViewModelMessageModel
"
;
export
*
from
"
./apiTypes/EvaluateRequest
"
;
export
*
from
"
./apiTypes/EvaluateRequest
"
;
export
*
from
"
./apiTypes/UserInfoResponse
"
;
export
*
from
"
./apiTypes/UserInfoResponseMessageModel
"
;
export
*
from
"
./apiTypes/PlaceOutResponse
"
;
export
*
from
"
./apiTypes/PlaceOutResponseMessageModel
"
;
export
*
from
"
./apiTypes/ActivityFlowRequest
"
;
export
*
from
"
./apiTypes/PlaceTimeViewModel
"
;
export
*
from
"
./apiTypes/PlaceTimeViewModelListMessageModel
"
;
export
*
from
"
./apiTypes/KeySearchRequest
"
;
export
*
from
"
./apiTypes/KeySearchRequest
"
;
export
*
from
"
./apiTypes/Key
"
;
export
*
from
"
./apiTypes/Key
"
;
export
*
from
"
./apiTypes/KeyMessageModel
"
;
export
*
from
"
./apiTypes/KeyMessageModel
"
;
...
@@ -73,10 +78,6 @@ export * from "./apiTypes/PlaceMessageModelPageModel";
...
@@ -73,10 +78,6 @@ export * from "./apiTypes/PlaceMessageModelPageModel";
export
*
from
"
./apiTypes/PlaceViewModel
"
;
export
*
from
"
./apiTypes/PlaceViewModel
"
;
export
*
from
"
./apiTypes/PlaceViewModelMessageModel
"
;
export
*
from
"
./apiTypes/PlaceViewModelMessageModel
"
;
export
*
from
"
./apiTypes/PlaceRequest
"
;
export
*
from
"
./apiTypes/PlaceRequest
"
;
export
*
from
"
./apiTypes/PlaceTimeViewModel
"
;
export
*
from
"
./apiTypes/PlaceTimeViewModelListMessageModel
"
;
export
*
from
"
./apiTypes/PlaceOutResponse
"
;
export
*
from
"
./apiTypes/PlaceOutResponseMessageModel
"
;
export
*
from
"
./apiTypes/PlaceType
"
;
export
*
from
"
./apiTypes/PlaceType
"
;
export
*
from
"
./apiTypes/PlaceTypeMessageModel
"
;
export
*
from
"
./apiTypes/PlaceTypeMessageModel
"
;
export
*
from
"
./apiTypes/PlaceTypeMessageModelPageModel
"
;
export
*
from
"
./apiTypes/PlaceTypeMessageModelPageModel
"
;
...
...
src/api/interface/index.js
浏览文件 @
ce7e9792
...
@@ -36,8 +36,6 @@ export * from "./apiTypes/SelectResponsesListMessageModel";
...
@@ -36,8 +36,6 @@ export * from "./apiTypes/SelectResponsesListMessageModel";
export
*
from
"
./apiTypes/PersonResponse
"
;
export
*
from
"
./apiTypes/PersonResponse
"
;
export
*
from
"
./apiTypes/KeyResponse
"
;
export
*
from
"
./apiTypes/KeyResponse
"
;
export
*
from
"
./apiTypes/KeyResponseListMessageModel
"
;
export
*
from
"
./apiTypes/KeyResponseListMessageModel
"
;
export
*
from
"
./apiTypes/UserInfoResponse
"
;
export
*
from
"
./apiTypes/UserInfoResponseMessageModel
"
;
export
*
from
"
./apiTypes/BlacklistRequest
"
;
export
*
from
"
./apiTypes/BlacklistRequest
"
;
export
*
from
"
./apiTypes/Blacklist
"
;
export
*
from
"
./apiTypes/Blacklist
"
;
export
*
from
"
./apiTypes/BlacklistMessageModel
"
;
export
*
from
"
./apiTypes/BlacklistMessageModel
"
;
...
@@ -46,6 +44,13 @@ export * from "./apiTypes/EvaluateViewModel";
...
@@ -46,6 +44,13 @@ export * from "./apiTypes/EvaluateViewModel";
export
*
from
"
./apiTypes/EvaluateViewModelListMessageModel
"
;
export
*
from
"
./apiTypes/EvaluateViewModelListMessageModel
"
;
export
*
from
"
./apiTypes/EvaluateViewModelMessageModel
"
;
export
*
from
"
./apiTypes/EvaluateViewModelMessageModel
"
;
export
*
from
"
./apiTypes/EvaluateRequest
"
;
export
*
from
"
./apiTypes/EvaluateRequest
"
;
export
*
from
"
./apiTypes/UserInfoResponse
"
;
export
*
from
"
./apiTypes/UserInfoResponseMessageModel
"
;
export
*
from
"
./apiTypes/PlaceOutResponse
"
;
export
*
from
"
./apiTypes/PlaceOutResponseMessageModel
"
;
export
*
from
"
./apiTypes/ActivityFlowRequest
"
;
export
*
from
"
./apiTypes/PlaceTimeViewModel
"
;
export
*
from
"
./apiTypes/PlaceTimeViewModelListMessageModel
"
;
export
*
from
"
./apiTypes/KeySearchRequest
"
;
export
*
from
"
./apiTypes/KeySearchRequest
"
;
export
*
from
"
./apiTypes/Key
"
;
export
*
from
"
./apiTypes/Key
"
;
export
*
from
"
./apiTypes/KeyMessageModel
"
;
export
*
from
"
./apiTypes/KeyMessageModel
"
;
...
@@ -73,10 +78,6 @@ export * from "./apiTypes/PlaceMessageModelPageModel";
...
@@ -73,10 +78,6 @@ export * from "./apiTypes/PlaceMessageModelPageModel";
export
*
from
"
./apiTypes/PlaceViewModel
"
;
export
*
from
"
./apiTypes/PlaceViewModel
"
;
export
*
from
"
./apiTypes/PlaceViewModelMessageModel
"
;
export
*
from
"
./apiTypes/PlaceViewModelMessageModel
"
;
export
*
from
"
./apiTypes/PlaceRequest
"
;
export
*
from
"
./apiTypes/PlaceRequest
"
;
export
*
from
"
./apiTypes/PlaceTimeViewModel
"
;
export
*
from
"
./apiTypes/PlaceTimeViewModelListMessageModel
"
;
export
*
from
"
./apiTypes/PlaceOutResponse
"
;
export
*
from
"
./apiTypes/PlaceOutResponseMessageModel
"
;
export
*
from
"
./apiTypes/PlaceType
"
;
export
*
from
"
./apiTypes/PlaceType
"
;
export
*
from
"
./apiTypes/PlaceTypeMessageModel
"
;
export
*
from
"
./apiTypes/PlaceTypeMessageModel
"
;
export
*
from
"
./apiTypes/PlaceTypeMessageModelPageModel
"
;
export
*
from
"
./apiTypes/PlaceTypeMessageModelPageModel
"
;
...
...
src/assets/images/5.png
0 → 100644
浏览文件 @
ce7e9792
6.8 KB
src/components/CEditModal.vue
浏览文件 @
ce7e9792
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
<!-- 详情 -->
<!-- 详情 -->
<Row
v-if=
"isDetails"
>
<Row
v-if=
"isDetails"
>
<Col
v-bind=
"grid"
v-for=
"item in formItem.filter(a => a.type != 'file')"
:key=
"item.id"
>
<Col
v-bind=
"grid"
v-for=
"item in formItem.filter(a => a.type != 'file'
&& (!a.hasOwnProperty('show') || a.show)
)"
:key=
"item.id"
>
<FormItem
:label=
"item.name"
:prop=
"item.name"
>
<FormItem
:label=
"item.name"
:prop=
"item.name"
>
<span
v-if=
"item.type == 'input'"
>
{{
formData
[
item
.
id
]
}}
</span>
<span
v-if=
"item.type == 'input'"
>
{{
formData
[
item
.
id
]
}}
</span>
<!-- 存在问题:性别项,有时返回值为null,select的“不限”值为空字符串,会报错 -->
<!-- 存在问题:性别项,有时返回值为null,select的“不限”值为空字符串,会报错 -->
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
<span
v-if=
"item.type == 'switch'"
>
{{
`${formData[item.id] == 1 ? '是' : '否'
}
`
}}
<
/span
>
<span
v-if=
"item.type == 'switch'"
>
{{
`${formData[item.id] == 1 ? '是' : '否'
}
`
}}
<
/span
>
<
/FormItem
>
<
/FormItem
>
<
/Col
>
<
/Col
>
<
Col
span
=
"
12
"
v
-
for
=
"
item in formItem.filter(a => a.type == 'file')
"
:
key
=
"
item.id
"
>
<
Col
span
=
"
12
"
v
-
for
=
"
item in formItem.filter(a => a.type == 'file'
&& (!a.hasOwnProperty('show') || a.show)
)
"
:
key
=
"
item.id
"
>
<
FormItem
:
label
=
"
item.name
"
:
prop
=
"
item.name
"
>
<
FormItem
:
label
=
"
item.name
"
:
prop
=
"
item.name
"
>
<
p
<
p
v
-
for
=
"
file in formData[item.id]
"
v
-
for
=
"
file in formData[item.id]
"
...
@@ -224,9 +224,9 @@ export default {
...
@@ -224,9 +224,9 @@ export default {
}
)
}
)
}
,
}
,
// 查看详情时初始化
// 查看详情时初始化
modalDetailsInit
(
row
)
{
modalDetailsInit
(
row
,
itemName
)
{
this
.
isDetails
=
true
this
.
isDetails
=
true
this
.
modalTitle
=
`${row
.place_name
}
- 详情`
this
.
modalTitle
=
`${row
[itemName]
}
- 详情`
this
.
formData
=
cloneDeep
(
row
)
this
.
formData
=
cloneDeep
(
row
)
}
,
}
,
...
...
src/pages/activityManagement/index.vue
浏览文件 @
ce7e9792
此差异已折叠。
点击以展开。
src/pages/blacklistManagement/index.vue
浏览文件 @
ce7e9792
此差异已折叠。
点击以展开。
src/pages/siteManagement/index.vue
浏览文件 @
ce7e9792
...
@@ -360,7 +360,7 @@ export default {
...
@@ -360,7 +360,7 @@ export default {
this
.
editModalLoading
=
true
this
.
editModalLoading
=
true
this
.
asc
.
getApiPlaceGetPlaceInfo
({
id
:
row
.
id
}).
then
(
res
=>
{
this
.
asc
.
getApiPlaceGetPlaceInfo
({
id
:
row
.
id
}).
then
(
res
=>
{
// console.log('编辑详情', res)
// console.log('编辑详情', res)
this
.
$refs
.
ceditmodal
.
modalDetailsInit
(
res
.
response
)
this
.
$refs
.
ceditmodal
.
modalDetailsInit
(
res
.
response
,
'
place_name
'
)
this
.
editModalLoading
=
false
this
.
editModalLoading
=
false
})
})
},
},
...
...
src/pages/systemConfiguration/index.vue
浏览文件 @
ce7e9792
...
@@ -34,7 +34,21 @@
...
@@ -34,7 +34,21 @@
</Row>
</Row>
</Form>
</Form>
</Card>
</Card>
<Card
class=
"bigCard"
title=
"评价快捷用语"
></Card>
<Card
class=
"bigCard kjyyCard"
title=
"评价快捷用语"
>
<template
#extra
>
<a
@
click=
"fastContentAdd"
><Icon
type=
"md-add"
/></a>
</
template
>
<p
v-for=
"item in fastContentList"
:key=
"item.id"
name=
"fastCP"
>
<span>
{{ item.content }}
</span>
<span>
<a><Icon
type=
"md-create"
@
click=
"fastContentEditRow(item)"
/></a>
<Poptip
confirm
transfer
title=
"是否确认删除?"
@
on-ok=
"fastContentDelRow(item)"
>
<a
name=
"del"
><Icon
type=
"md-close"
/></a>
</Poptip>
</span>
</p>
</Card>
<Card
class=
"smallCard"
title=
"加时配置"
>
<Card
class=
"smallCard"
title=
"加时配置"
>
<Form
label-colon
label-position=
"top"
>
<Form
label-colon
label-position=
"top"
>
<Row>
<Row>
...
@@ -118,7 +132,10 @@
...
@@ -118,7 +132,10 @@
</Col>
</Col>
<Col
span=
"24"
>
<Col
span=
"24"
>
<FormItem
label=
"自动好评星数"
>
<FormItem
label=
"自动好评星数"
>
<Rate
allow-half
v-model=
"configData.auto_goodevaluate_num"
/>
<Rate
v-model=
"configData.auto_goodevaluate_num"
allow-half
icon=
"md-star"
/>
</FormItem>
</FormItem>
</Col>
</Col>
<Col
span=
"24"
>
<Col
span=
"24"
>
...
@@ -151,15 +168,29 @@
...
@@ -151,15 +168,29 @@
<p>
</p>
<p>
</p>
<Button
class=
"save-bt"
type=
"primary"
@
click=
"saveBt('black_day')"
>
保存
</Button>
<Button
class=
"save-bt"
type=
"primary"
@
click=
"saveBt('black_day')"
>
保存
</Button>
</Card>
</Card>
<!-- 快捷用语新增修改Modal -->
<CEditModal
ref=
"ceditmodal"
v-model=
"fastContentModalShow"
:formItem=
"formItem"
:loading=
"fastContentModalLoading"
:formLabelWidth=
"100"
:width=
"800"
@
onSubmit=
"fastContentSubmit"
@
onClose=
"fastContentModalShow = false"
></CEditModal>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
CEditModal
from
'
@/components/CEditModal.vue
'
import
{
cloneDeep
}
from
'
lodash
'
import
{
cloneDeep
}
from
'
lodash
'
export
default
{
export
default
{
name
:
'
list
'
,
name
:
'
list
'
,
components
:
{},
components
:
{
CEditModal
,
},
data
(){
data
(){
return
{
return
{
configData
:
{
configData
:
{
...
@@ -191,6 +222,23 @@ export default {
...
@@ -191,6 +222,23 @@ export default {
// 快捷用语
// 快捷用语
fastContentList
:
[],
fastContentList
:
[],
// 快捷用语编辑Modal
fastContentModalShow
:
false
,
fastContentModalLoading
:
false
,
fastContentIsEdit
:
false
,
// 新增编辑表单项
formItem
:
[
{
id
:
'
content
'
,
name
:
'
快捷用语
'
,
type
:
'
input
'
,
disabled
:
false
,
require
:
false
,
optList
:
[]
},
{
id
:
'
is_enable
'
,
name
:
'
启用
'
,
type
:
'
switch
'
,
disabled
:
false
,
require
:
false
,
optList
:
[]
},
],
defaultFormData
:
{
id
:
""
,
content
:
""
,
createby
:
""
,
createtime
:
""
,
is_enable
:
0
,
is_del
:
0
},
}
}
},
},
computed
:
{},
computed
:
{},
...
@@ -202,7 +250,7 @@ export default {
...
@@ -202,7 +250,7 @@ export default {
methods
:
{
methods
:
{
getData
()
{
getData
()
{
this
.
asc
.
getApiSysConfigGetSysConfigAll
().
then
(
res
=>
{
this
.
asc
.
getApiSysConfigGetSysConfigAll
().
then
(
res
=>
{
console
.
log
(
'
获取系统配置
'
,
res
)
//
console.log('获取系统配置', res)
res
.
response
.
forEach
(
a
=>
{
res
.
response
.
forEach
(
a
=>
{
this
.
configData
[
a
.
id
]
=
a
.
value
this
.
configData
[
a
.
id
]
=
a
.
value
})
})
...
@@ -211,14 +259,14 @@ export default {
...
@@ -211,14 +259,14 @@ export default {
// 获取快捷用语
// 获取快捷用语
getFastContent
()
{
getFastContent
()
{
this
.
asc
.
getApiSysConfigGetCommentContentList
().
then
(
res
=>
{
this
.
asc
.
getApiSysConfigGetCommentContentList
().
then
(
res
=>
{
console
.
log
(
'
快捷用语
'
,
res
)
//
console.log('快捷用语', res)
this
.
fastContentList
=
res
.
response
this
.
fastContentList
=
res
.
response
})
})
},
},
// 保存按钮
// 保存按钮
async
saveBt
(...
id
)
{
async
saveBt
(...
id
)
{
console
.
log
(
'
保存按钮
'
,
id
)
//
console.log('保存按钮', id)
for
(
var
i
=
0
;
i
<
id
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
id
.
length
;
i
++
)
{
let
obj
=
{
let
obj
=
{
id
:
id
[
i
],
id
:
id
[
i
],
...
@@ -232,6 +280,56 @@ export default {
...
@@ -232,6 +280,56 @@ export default {
}
}
this
.
$Message
.
success
(
'
修改成功
'
)
this
.
$Message
.
success
(
'
修改成功
'
)
},
},
// 新增快捷用语
fastContentAdd
()
{
this
.
fastContentModalShow
=
true
this
.
fastContentIsEdit
=
false
this
.
$refs
.
ceditmodal
.
modalInit
(
'
add
'
,
this
.
defaultFormData
)
},
// 编辑快捷用语
fastContentEditRow
(
row
)
{
// console.log(row)
this
.
fastContentModalShow
=
true
this
.
fastContentIsEdit
=
true
this
.
$refs
.
ceditmodal
.
modalInit
(
'
edit
'
,
row
)
},
// 保存快捷用语
fastContentSubmit
(
val
)
{
this
.
$Modal
.
confirm
({
title
:
'
提示
'
,
content
:
'
是否确认提交?
'
,
loading
:
true
,
onOk
:
()
=>
{
this
.
asc
.
postApiSysConfigCommentContentSave
(
val
).
then
(
res
=>
{
// console.log('保存快捷用语结果', res)
if
(
res
.
code
==
1
)
{
this
.
$Message
.
success
(
res
.
response
)
this
.
fastContentModalShow
=
false
this
.
getFastContent
()
}
else
{
this
.
$Message
.
error
(
res
.
msg_detail
)
}
}).
finally
(()
=>
{
this
.
$Modal
.
remove
()
})
}
})
},
// 删除快捷用语
fastContentDelRow
(
row
)
{
// console.log('删除快捷用语', row)
this
.
asc
.
getApiSysConfigCommentContentDel
({
id
:
row
.
id
,
is_del
:
1
}).
then
(
res
=>
{
// console.log('删除快捷用语结果', res)
if
(
res
.
code
==
1
)
{
this
.
$Message
.
success
(
res
.
response
)
this
.
getFastContent
()
}
else
{
this
.
$Message
.
error
(
res
.
msg_detail
)
}
})
},
}
}
}
}
</
script
>
</
script
>
...
@@ -245,20 +343,41 @@ export default {
...
@@ -245,20 +343,41 @@ export default {
justify-content: space-between;
justify-content: space-between;
.bigCard, .smallCard{
.bigCard, .smallCard{
margin-bottom: 16px;
margin-bottom: 16px;
/deep/.ivu-card-body{
height: calc(~"100% - 51px");
.ivu-form-item{
.ivu-form-item{
margin-bottom: 12px;
margin-bottom: 12px;
}
}
}
}
}
.bigCard{
.bigCard{
width: calc(~"(100% - 16px) / 2");
width: calc(~"(100% - 16px) / 2");
}
}
.smallCard{
.smallCard{
width: calc(~"(100% - 32px) / 3");
width: calc(~"(100% - 32px) / 3");
/deep/.ivu-card-body{
/
/ /
deep/.ivu-card-body{
height: calc(~"100% - 51px");
//
height: calc(~"100% - 51px");
}
//
}
}
}
/deep/.kjyyCard{
.ivu-card-body{
overflow: auto;
p[name=fastCP]{
display: flex;
justify-content: space-between;
a[name=del]{
color: #ed4014;
}
a[name=del]:hover{
color: #f16643;
}
a[name=del]:active{
color: #e13d13;
}
}
}
}
/deep/.cplhsCard{
/deep/.cplhsCard{
.ivu-card-body{
.ivu-card-body{
// height: calc(~"100% - 51px");
// height: calc(~"100% - 51px");
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录