first commit

This commit is contained in:
2025-02-20 14:59:35 +08:00
parent d7be84fac6
commit d4a3bb8ffc
2541 changed files with 336536 additions and 0 deletions
+618
View File
@@ -0,0 +1,618 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ZHIQIM-CONTEXT PUBLIC "-//ZHIQIM //DTD Zhiqim-Context Configuration 1.5.0//EN" "http://zhiqim.org/xmldtds/zhiqim_context_1_5_0.dtd">
<zhiqim-context>
<!-- 组件配置 -->
<component name="管理台" path="/org/zhiqim/manager/resource"/>
<component name="大文件上传组件" path="/org/zhiqim/uploadlarge/resource"/>
<component name="媒体编辑" path="/com/zhiqim/media/manage/resource"/>
<component name="富文本编辑器" path="/org/zhiqim/texteditor/resource"/>
<!-- 属性配置 -->
<attribute name="系统名称" key="name" value="设计运营后台"/>
<attribute name="系统版本" key="version" value="V1.0"/>
<!-- 会话用户 -->
<sessionUser name="会话用户" path="*" class="org.zhiqim.manager.ZmrSessionUser"/>
<!-- 接口调用 -->
<action name="接口地址" path="/designRest.htm" class="com.zhiqim.yangcai.design.action.DesignRestAction"/>
<action name="退款接口地址" path="/designRefund.htm" class="com.zhiqim.yangcai.design.action.DesignRefundAction"/>
<action name="快捷联系" path="/quickContact.htm" class="com.zhiqim.yangcai.design.action.QuickContextAction"/>
<action name="快捷联系(返回json)" path="/quickContactInfo.htm" class="com.zhiqim.yangcai.design.action.QuickContextInfoAction"/>
<action name="组织选择对话框" interceptor="chkZmrLogin" path="/${zhiqim_manager}/orgSelector.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/zhiqim_manager/orgSelector.zml" class="com.zhiqim.yangcai.design.action.OrgSelectorAction"/>
<!-- 文件下载 -->
<action name="文件下载" path="/downFile.htm" class="com.zhiqim.yangcai.design.action.DownloadFileAction"/>
<action name="文件下载" path="/downQuestionsFile.htm" class="com.zhiqim.yangcai.design.action.DownloadQuestionsFileAction"/>
<action name="文件右边列表" interceptor="chkZmrLogin" path="/attaFileList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/attaFileList.zml" class="com.zhiqim.yangcai.design.action.AttaFileListAction" />
<action name="标签右边列表" interceptor="chkZmrLogin" path="/tagAttaInfoList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/tagAttaInfoList.zml" class="com.zhiqim.yangcai.design.action.TagAttaInfoListAction" />
<action name="初稿缩略图" path="/*-FristThumFile.png" class="com.zhiqim.yangcai.design.action.PNGAction"/>
<action name="读取成品文件显示缩略图" path="*-endFile" class="com.zhiqim.yangcai.design.action.ThumImgAction"/>
<action name="申诉显示图片" path="/*-img" class="com.zhiqim.yangcai.design.action.ThumImgAction"/>
<action name="质检违规证据图" path="/*-qcImg" class="com.zhiqim.yangcai.design.action.ThumImgAction"/>
<action name="放大图片" path="/showLargeImg.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/showLargeImg.zml"/>
<!-- ******************************编辑器 start****************************************** -->
<!-- 品类管理 -->
<action name="列表" interceptor="chkZmrLogin" path="/designPinleiList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/editor/designPinleiList.zml" class="com.zhiqim.yangcai.design.action.editor.DesignPinleiAction" method="list"/>
<action name="绑定产品类型" interceptor="chkZmrLogin" path="/bindingType.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/editor/bindingType.zml" class="com.zhiqim.yangcai.design.action.editor.BindingTypeAction"/>
<action name="开放产品类型查询" path="/getBindingType.htm" class="com.zhiqim.yangcai.design.action.editor.GetDesignTypeAction"/>
<!-- ******************************编辑器end****************************************** -->
<!-- ******************************20230824后加页面 start****************************************** -->
<action name="设计师组接单管理" interceptor="chkZmrLogin" path="/designerGroupDispatch2.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/designerGroupDispatch2.zml" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupDispatch2Action" method="list"/>
<action name="设计师组修改配置页面" interceptor="chkZmrLogin" path="/designerGroupDispatchModify2.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/designerGroupDispatchModify2.zml" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupDispatch2Action" method="modify"/>
<action name="设计师组修改配置处理" interceptor="chkZmrLogin" path="/designerGroupDispatchUpdate2.htm" redirect="/designerGroupDispatch2.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupDispatch2Action" method="update"/>
<action name="设计师绩效统计导出" interceptor="chkZmrLogin" path="/exportPerformance.htm" class="com.zhiqim.yangcai.design.action.stat.design.ExportPerformanceSchedule" />
<action name="点三推送订单数据" path="/diansanOrderData.htm" class="com.zhiqim.yangcai.design.action.editor.DiansanOrderDataAction"/>
<!-- ******************************20230824后加页面 end****************************************** -->
<!-- ******************************基础配置****************************************** -->
<!-- 设计类型管理 -->
<action name="列表" interceptor="chkZmrLogin" path="/designTypeList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/designTypeList.zml" class="com.zhiqim.yangcai.design.action.sys.DesignTypeAction" method="list"/>
<action name="添加页面" interceptor="chkZmrLogin" path="/designTypeAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/designTypeAdd.zml" class="com.zhiqim.yangcai.design.action.sys.DesignTypeAction" method="add"/>
<action name="增加处理" interceptor="chkZmrLogin" path="/designTypeInsert.htm" redirect="/designTypeList.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.DesignTypeAction" method="insert"/>
<action name="修改页面" interceptor="chkZmrLogin" path="/designTypeModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/designTypeModify.zml" class="com.zhiqim.yangcai.design.action.sys.DesignTypeAction" method="modify"/>
<action name="修改处理" interceptor="chkZmrLogin" path="/designTypeUpdate.htm" redirect="/designTypeList.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.DesignTypeAction" method="update"/>
<action name="设计规范" interceptor="chkZmrLogin" path="/designTypeDetails.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/designTypeDetails.zml" class="com.zhiqim.yangcai.design.action.sys.DesignTypeAction"/>
<!-- 行业管理 -->
<action name="行业管理" interceptor="chkZmrLogin" path="/industryList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/industryList.zml" class="com.zhiqim.yangcai.design.action.sys.IndustryListAction"/>
<action name="增加行业页面" interceptor="chkZmrLogin" path="/industryAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/industryAdd.zml" class="com.zhiqim.yangcai.design.action.sys.IndustryListAction" method="add"/>
<action name="增加行业处理" interceptor="chkZmrLogin" path="/industryInsert.htm" redirect="/industryList.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.IndustryListAction" method="insert"/>
<action name="修改行业页面" interceptor="chkZmrLogin" path="/industryModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/industryModify.zml" class="com.zhiqim.yangcai.design.action.sys.IndustryListAction" method="modify"/>
<action name="修改行业处理" interceptor="chkZmrLogin" path="/industryUpdate.htm" redirect="/industryList.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.IndustryListAction" method="update"/>
<action name="删除行业处理" interceptor="chkZmrLogin" path="/industryDelete.htm" redirect="/industryList.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.sys.IndustryListAction" method="delete"/>
<action name="业务公共参数配置" interceptor="chkZmrLogin" path="/businessParam.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/businessParam.zml" redirect="/businessParam.htm"/>
<!-- 印前审核退回原因预录 -->
<action name="印前原因预录列表" interceptor="chkZmrLogin" path="/checkBackReasonList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/checkBackReasonList.zml" class="com.zhiqim.yangcai.design.action.sys.CheckBackReasonAction" method="list"/>
<!--退款原因配置 -->
<action name="退款原因配置页面" interceptor="chkZmrLogin" path="/designOrderRefundReason.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/designOrderRefundReason.zml" class="com.zhiqim.yangcai.design.action.order.DesignOrderRefundReasonAction" />
<action name="退款原因配置页面" interceptor="chkZmrLogin" path="/designOrderRefundReasonAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/designOrderRefundReasonAdd.zml"/>
<action name="退款原因配置页面" interceptor="chkZmrLogin" path="/designOrderRefundReasonModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/designOrderRefundModify.zml" class="com.zhiqim.yangcai.design.action.order.DesignOrderRefundModifyAction"/>
<!-- ******************************基础配置****************************************** -->
<!-- 印前审核退回原因预录 -->
<action name="行为规范" interceptor="chkZmrLogin" path="/designStandardList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/designStandardList.zml" class="com.zhiqim.yangcai.design.action.sys.DesignStandardAction" method="list"/>
<action name="行为规范详情" interceptor="chkZmrLogin" path="/designStandardDetails.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/designStandardDetails.zml" class="com.zhiqim.yangcai.design.action.sys.DesignStandardDetailsAction" />
<!-- 组织派单属性管理 -->
<action name="商户接单管理列表" interceptor="chkZmrLogin" path="/receiveMerManage.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/receiveMerManage.zml" class="com.zhiqim.yangcai.design.action.sys.ReceiveMerManage"/>
<action name="增加接单商户" interceptor="chkZmrLogin" path="/receiveMerAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/receiveMerAdd.zml" class="com.zhiqim.yangcai.design.action.sys.ReceiveMerManage" method="add"/>
<action name="增加接单商户处理" interceptor="chkZmrLogin" path="/receiveMerInsert.htm" redirect="/receiveMerManage.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.ReceiveMerManage" method="insert"/>
<action name="修改接单商户" interceptor="chkZmrLogin" path="/receiveMerModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/receiveMerModify.zml" class="com.zhiqim.yangcai.design.action.sys.ReceiveMerManage" method="modify"/>
<action name="修改接单商户处理" interceptor="chkZmrLogin" path="/receiveMerUpdate.htm" redirect="/receiveMerManage.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.ReceiveMerManage" method="update"/>
<action name="删除接单商户" interceptor="chkZmrLogin" path="/receiveMerDelete.htm" redirect="/receiveMerManage.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.sys.ReceiveMerManage" method="delete"/>
<action name="接单商户信息修改" interceptor="chkZmrLogin" path="/receiveMerModifyInfo.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/sys/receiveMerModifyInfo.zml" class="com.zhiqim.yangcai.design.action.sys.ReceiveMerModifyAction"/>
<!-- 订单折算参数管理 -->
<action name="订单折算参数列表" interceptor="chkZmrLogin" path="/orderConvertList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/orderConvertList.zml" class="com.zhiqim.yangcai.design.action.sys.OrderConvertAction"/>
<action name="增加订单折算参数" interceptor="chkZmrLogin" path="/orderConvertAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/orderConvertAdd.zml" class="com.zhiqim.yangcai.design.action.sys.OrderConvertAction" method="add"/>
<action name="增加订单折算参数处理" interceptor="chkZmrLogin" path="/orderConvertInsert.htm" redirect="/orderConvertList.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.OrderConvertAction" method="insert"/>
<action name="修改订单折算参数" interceptor="chkZmrLogin" path="/orderConvertModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/orderConvertModify.zml" class="com.zhiqim.yangcai.design.action.sys.OrderConvertAction" method="modify"/>
<action name="修改订单折算参数处理" interceptor="chkZmrLogin" path="/orderConvertUpdate.htm" redirect="/orderConvertList.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.OrderConvertAction" method="update"/>
<action name="删除订单折算参数" interceptor="chkZmrLogin" path="/orderConvertDelete.htm" redirect="/orderConvertList.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.sys.OrderConvertAction" method="delete"/>
<!-- 产品绩效单价 -->
<action name="产品单价列表" interceptor="chkZmrLogin" path="/productConvert.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/productConvert.zml" class="com.zhiqim.yangcai.design.action.sys.ProductConvertAction"/>
<action name="添加产品单价" interceptor="chkZmrLogin" path="/productConvertAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/productConvertAdd.zml" class="com.zhiqim.yangcai.design.action.sys.ProductConvertAction" method="add"/>
<action name="添加产品单价处理" interceptor="chkZmrLogin" path="/productConvertInsert.htm" redirect="/productConvert.htm" success="操作成功" class="com.zhiqim.yangcai.design.action.sys.ProductConvertAction" method="insert"/>
<action name="更新产品单价" interceptor="chkZmrLogin" path="/productConvertModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/productConvertModify.zml" class="com.zhiqim.yangcai.design.action.sys.ProductConvertAction" method="modify"/>
<action name="更新产品单价处理" interceptor="chkZmrLogin" path="/productConvertUpdate.htm" redirect="/productConvert.htm" success="操作成功" class="com.zhiqim.yangcai.design.action.sys.ProductConvertAction" method="update"/>
<action name="删除产品单价" interceptor="chkZmrLogin" path="/productConvertDelete.htm" redirect="/productConvert.htm" success="操作成功" class="com.zhiqim.yangcai.design.action.sys.ProductConvertAction" method="delete"/>
<!-- 质检参数 -->
<action name="质检参数列表" interceptor="chkZmrLogin" path="/qcParameter.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/qcParameter.zml" class="com.zhiqim.yangcai.design.action.sys.QcParameterAction" method="list"/>
<action name="质检参数增加页面" interceptor="chkZmrLogin" path="/qcParameterAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/qcParameterAdd.zml" class="com.zhiqim.yangcai.design.action.sys.QcParameterAction" method="add"/>
<action name="质检参数增加处理" interceptor="chkZmrLogin" path="/qcParameterInsert.htm" redirect="qcParameter.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.QcParameterAction" method="insert"/>
<action name="质检参数修改页面" interceptor="chkZmrLogin" path="/qcParameterModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/qcParameterModify.zml" class="com.zhiqim.yangcai.design.action.sys.QcParameterAction" method="modify"/>
<action name="质检参数修改处理" interceptor="chkZmrLogin" path="/qcParameterUpdate.htm" redirect="qcParameter.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.QcParameterAction" method="update"/>
<action name="质检参数删除处理" interceptor="chkZmrLogin" path="/qcParameterDelete.htm" redirect="qcParameter.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.sys.QcParameterAction" method="delete"/>
<!-- 质检加分类型 -->
<action name="质检加分类型列表" interceptor="chkZmrLogin" path="/qcAwardedType.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/qcAwardedType.zml" class="com.zhiqim.yangcai.design.action.sys.QcAwardedTypeAction" method="list"/>
<action name="质检加分类型增加页面" interceptor="chkZmrLogin" path="/qcAwardedTypeAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/qcAwardedTypeAdd.zml" class="com.zhiqim.yangcai.design.action.sys.QcAwardedTypeAction" method="add"/>
<action name="质检加分类型增加处理" interceptor="chkZmrLogin" path="/qcAwardedTypeInsert.htm" redirect="/qcAwardedType.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.QcAwardedTypeAction" method="insert"/>
<action name="质检加分类型修改页面" interceptor="chkZmrLogin" path="/qcAwardedTypeModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/qcAwardedTypeModify.zml" class="com.zhiqim.yangcai.design.action.sys.QcAwardedTypeAction" method="modify"/>
<action name="质检加分类型修改处理" interceptor="chkZmrLogin" path="/qcAwardedTypeUpdate.htm" redirect="/qcAwardedType.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.QcAwardedTypeAction" method="update"/>
<action name="质检加分类型删除处理" interceptor="chkZmrLogin" path="/qcAwardedTypeDelete.htm" redirect="/qcAwardedType.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.sys.QcAwardedTypeAction" method="delete"/>
<!-- 质检绩效参数 -->
<action name="质检绩效参数列表" interceptor="chkZmrLogin" path="/qcPerformanceParam.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/qcPerformanceParam.zml" class="com.zhiqim.yangcai.design.action.sys.QcPerformanceParamAction" method="list"/>
<action name="质检绩效参数增加" interceptor="chkZmrLogin" path="/qcPerformanceParamAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/qcPerformanceParamAdd.zml" class="com.zhiqim.yangcai.design.action.sys.QcPerformanceParamAction" method="add"/>
<action name="质检绩效参数增加处理" interceptor="chkZmrLogin" path="/qcPerformanceParamInsert.htm" redirect="/qcPerformanceParam.htm" success="插入成功" class="com.zhiqim.yangcai.design.action.sys.QcPerformanceParamAction" method="insert"/>
<action name="质检绩效参数修改" interceptor="chkZmrLogin" path="/qcPerformanceParamModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/qcPerformanceParamModify.zml" class="com.zhiqim.yangcai.design.action.sys.QcPerformanceParamAction" method="modify"/>
<action name="质检绩效参数修改处理" interceptor="chkZmrLogin" path="/qcPerformanceParamUpdate.htm" redirect="/qcPerformanceParam.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.QcPerformanceParamAction" method="update"/>
<!-- 时效绩效参数管理 -->
<action name="时效绩效参数列表" interceptor="chkZmrLogin" path="/timelinessParameterList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/timelinessParameterList.zml" class="com.zhiqim.yangcai.design.action.sys.TimelinessParameterAction" method="list"/>
<action name="增加时效绩效参数" interceptor="chkZmrLogin" path="/timelinessParameterAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/timelinessParameterAdd.zml" class="com.zhiqim.yangcai.design.action.sys.TimelinessParameterAction" method="add"/>
<action name="增加时效绩效参数处理" interceptor="chkZmrLogin" path="/timelinessParameterInsert.htm" redirect="/timelinessParameterList.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.TimelinessParameterAction" method="insert"/>
<action name="修改时效绩效参数" interceptor="chkZmrLogin" path="/timelinessParameterModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/timelinessParameterModify.zml" class="com.zhiqim.yangcai.design.action.sys.TimelinessParameterAction" method="modify"/>
<action name="修改时效绩效参数处理" interceptor="chkZmrLogin" path="/timelinessParameterUpdate.htm" redirect="/timelinessParameterList.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.TimelinessParameterAction" method="update"/>
<action name="删除时效绩效参数" interceptor="chkZmrLogin" path="/timelinessParameterDelete.htm" redirect="/timelinessParameterList.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.sys.TimelinessParameterAction" method="delete"/>
<!-- 商户管理 -->
<action name="订单商户列表" interceptor="chkZmrLogin" path="/orderMerchantList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/orderMerchantList.zml" class="com.zhiqim.yangcai.design.action.sys.OrderMerchantAction"/>
<action name="增加商户" interceptor="chkZmrLogin" path="/orderMerchantAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/orderMerchantAdd.zml" class="com.zhiqim.yangcai.design.action.sys.OrderMerchantAction" method="add"/>
<action name="增加处理" interceptor="chkZmrLogin" path="/orderMerchantInsert.htm" redirect="/orderMerchantList.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.OrderMerchantAction" method="insert"/>
<action name="修改商户" interceptor="chkZmrLogin" path="/orderMerchantModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/orderMerchantModify.zml" class="com.zhiqim.yangcai.design.action.sys.OrderMerchantAction" method="modify"/>
<action name="修改处理" interceptor="chkZmrLogin" path="/orderMerchantUpdate.htm" redirect="/orderMerchantList.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.OrderMerchantAction" method="update"/>
<!-- 团队管理 -->
<action name="团队管理列表" interceptor="chkZmrLogin" path="/teamManagement.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/teamManagement.zml" class="com.zhiqim.yangcai.design.action.sys.TeamManagementAction"/>
<action name="增加团队" interceptor="chkZmrLogin" path="/teamManagementAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/teamManagementAdd.zml" class="com.zhiqim.yangcai.design.action.sys.TeamManagementAction" />
<action name="增加团队处理" interceptor="chkZmrLogin" path="/teamManagementAddTeam.htm" redirect="/teamManagement.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.TeamManagementAction" method="insert"/>
<action name="修改团队" interceptor="chkZmrLogin" path="/teamManagementUpdate.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/teamManagementUpdate.zml" class="com.zhiqim.yangcai.design.action.sys.TeamManagementAction" method="modify"/>
<action name="设计师管理" interceptor="chkZmrLogin" path="/teamDesignerManage.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/designer/teamDesignerManage.zml" class="com.zhiqim.yangcai.design.action.designer.TeamManageAction" />
<action name="订单商户列表" interceptor="chkZmrLogin" path="/teamMerchantList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/teamMerchantList.zml" class="com.zhiqim.yangcai.design.action.sys.OrderMerchantAction"/>
<action name="修改处理" interceptor="chkZmrLogin" path="/orderMerchantUpdateTeam.htm" redirect="/teamManagement.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.TeamManagementAction" method="update"/>
<action name="部门增加操作员" interceptor="chkZmrLogin" path="/deptTeam.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/deptTeam.zml" class="com.zhiqim.yangcai.design.action.sys.DeptTeamAction"/>
<action name="增加组织" interceptor="chkZmrLogin" path="/deptOrg.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/deptOrg.zml" class="com.zhiqim.yangcai.design.action.sys.deptOrgAction"/>
<!-- 接口管理 -->
<action name="接口日志列表" interceptor="chkZmrLogin" path="/apiInvokeLog.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/apiInvokeLog.zml" class="com.zhiqim.yangcai.design.action.sys.ApiInvokeLogAction" method="list"/>
<action name="接口日志删除" interceptor="chkZmrLogin" path="/apiInvokeLogDelete.htm" redirect="/apiInvokeLog.htm" tips="删除成功" class="com.zhiqim.yangcai.design.action.sys.ApiInvokeLogAction" method="delete"/>
<!-- 售后参数管理 -->
<action name="售后责任类型" interceptor="chkZmrLogin" path="/afterPicType.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/afterPicType.zml" class="com.zhiqim.yangcai.design.action.sys.AfterPicTypeAction"/>
<action name="售后责任类型增加页面" interceptor="chkZmrLogin" path="/afterPicTypeAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/afterPicTypeAdd.zml" class="com.zhiqim.yangcai.design.action.sys.AfterPicTypeAction" method="add"/>
<action name="售后责任类型增加处理" interceptor="chkZmrLogin" path="/afterPicTypeInsert.htm" redirect="/afterPicType.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.AfterPicTypeAction" method="insert"/>
<action name="售后责任类型修改页面" interceptor="chkZmrLogin" path="/afterPicTypeModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/afterPicTypeModify.zml" class="com.zhiqim.yangcai.design.action.sys.AfterPicTypeAction" method="modify"/>
<action name="售后责任类型修改处理" interceptor="chkZmrLogin" path="/afterPicTypeUpdate.htm" redirect="/afterPicType.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.AfterPicTypeAction" method="update"/>
<action name="售后责任类型删除" interceptor="chkZmrLogin" path="/afterPicTypeDelete.htm" redirect="/afterPicType.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.AfterPicTypeAction" method="delete"/>
<action name="售后问题类型" interceptor="chkZmrLogin" path="/afterProblemType.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/afterProblemType.zml" class="com.zhiqim.yangcai.design.action.sys.AfterProblemTypeAction"/>
<action name="售后问题类型增加页面" interceptor="chkZmrLogin" path="/afterProblemTypeAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/afterProblemTypeAdd.zml" class="com.zhiqim.yangcai.design.action.sys.AfterProblemTypeAction" method="add"/>
<action name="售后问题类型增加处理" interceptor="chkZmrLogin" path="/afterProblemTypeInsert.htm" redirect="/afterProblemType.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.AfterProblemTypeAction" method="insert"/>
<action name="售后问题类型修改页面" interceptor="chkZmrLogin" path="/afterProblemTypeModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sys/afterProblemTypeModify.zml" class="com.zhiqim.yangcai.design.action.sys.AfterProblemTypeAction" method="modify"/>
<action name="售后问题类型修改处理" interceptor="chkZmrLogin" path="/afterProblemTypeUpdate.htm" redirect="/afterProblemType.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.AfterProblemTypeAction" method="update"/>
<action name="售后问题类型删除" interceptor="chkZmrLogin" path="/afterProblemTypeDelete.htm" redirect="/afterProblemType.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.AfterProblemTypeAction" method="delete"/>
<!-- 订单管理 -->
<action name="历史标签日志" interceptor="chkZmrLogin" path="/historyOrderTagLog.htm" redirect="/orderTagList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/presenter/historyOrderTagLog.zml" class="com.zhiqim.yangcai.design.action.order.HistoryOrderTagLogAction"/>
<action name="订单标签列表" interceptor="chkZmrLogin" path="/orderTagList.htm" redirect="/orderTagList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderTagList.zml" class="com.zhiqim.yangcai.design.action.order.OrderTagListAction"/>
<action name="订单列表" interceptor="chkZmrLogin" path="/orderList.htm" redirect="/orderList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderList.zml" class="com.zhiqim.yangcai.design.action.order.OrderListAction"/>
<action name="订单日志" interceptor="chkZmrLogin" path="/orderLogList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderLogList.zml" class="com.zhiqim.yangcai.design.action.order.OrderLogListAction"/>
<action name="退款列表" interceptor="chkZmrLogin" path="/orderRefundList.htm" redirect="/orderRefundList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderRefundList.zml" class="com.zhiqim.yangcai.design.action.order.OrderRefundListAction"/>
<action name="退款截图" interceptor="chkZmrLogin" path="/selectRefundOrderImg.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/selectRefundOrderImg.zml" class="com.zhiqim.yangcai.design.action.order.SelectRefundOrderImgAction"/>
<action name="待办列表" interceptor="chkZmrLogin" path="/orderBacklog.htm" redirect="/orderBacklog.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderBacklog.zml" class="com.zhiqim.yangcai.design.action.order.OrderBackLogAction"/>
<!-- 订单设计审核 -->
<action name="初稿待审列表" interceptor="chkZmrLogin" path="/orderDraftCheckWait.htm" redirect="/orderDraftCheckWait.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderDraftCheckWait.zml" class="com.zhiqim.yangcai.design.action.order.OrderDraftCheckWaitAction"/>
<action name="定稿待审列表" interceptor="chkZmrLogin" path="/orderEndCheckWait.htm" redirect="/orderEndCheckWait.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderEndCheckWait.zml" class="com.zhiqim.yangcai.design.action.order.OrderEndCheckWaitAction"/>
<!-- 订单印前审核 -->
<action name="待审列表" interceptor="chkZmrLogin" path="/orderCheckWait.htm" redirect="/orderCheckWait.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderCheckWait.zml" class="com.zhiqim.yangcai.design.action.order.OrderCheckWaitAction"/>
<action name="审核退回原因" interceptor="chkZmrLogin" path="/orderCheckBackInfo.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/presenter/orderCheckBackInfo.zml"/>
<action name="已审列表" interceptor="chkZmrLogin" path="/orderCheckFinish.htm" redirect="/orderCheckFinish.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderCheckFinish.zml" class="com.zhiqim.yangcai.design.action.order.OrderCheckFinishAction"/>
<action name="审核退回列表" interceptor="chkZmrLogin" path="/orderCheckBackList.htm" redirect="/orderCheckBackList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/orderCheckBackList.zml" class="com.zhiqim.yangcai.design.action.order.OrderCheckBackListAction"/>
<action name="订单审核退回详情" interceptor="chkZmrLogin" path="/historyBackDetails.htm" redirect="/orderCheckBackList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/presenter/historyBackDetails.zml" class="com.zhiqim.yangcai.design.action.order.HistoryBackDetailsAction"/>
<action name="设计份数修改" interceptor="chkZmrLogin" path="/designCopiesr.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/designCopiesr.zml" class="com.zhiqim.yangcai.design.action.order.DesignCopiesrAction"/>
<!-- 进度备注 -->
<action name="已审列表" interceptor="chkZmrLogin" path="/progressNote.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/progressNote.zml" class="com.zhiqim.yangcai.design.action.order.ProgressNoteAction"/>
<action name="退款申诉审核" interceptor="chkZmrLogin" path="/complaintOrder.htm" redirect="/complaintOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/complaintOrder.zml" class="com.zhiqim.yangcai.design.action.order.ComplaintOrderAction"/>
<action name="申诉详情预览" interceptor="chkZmrLogin" path="/complaintView.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/complaintView.zml" class="com.zhiqim.yangcai.design.action.order.ComplaintViewAction"/>
<action name="我的质检" interceptor="chkZmrLogin" path="/qcPersonal.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/qcPersonal.zml" class="com.zhiqim.yangcai.design.action.order.QcPersonalAction"/>
<action name="申请加分" interceptor="chkZmrLogin" path="/qcApplyScore.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/qcApplyScore.zml" class="com.zhiqim.yangcai.design.action.order.QcApplyScoreAction" />
<action name="质检加分列表" interceptor="chkZmrLogin" path="/qcApplyScoreList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/qcApplyScoreList.zml" class="com.zhiqim.yangcai.design.action.order.QcApplyScoreListAction"/>
<action name="质检加分详情" interceptor="chkZmrLogin" path="/qcApplyDetail.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/qcApplyDetail.zml" class="com.zhiqim.yangcai.design.action.order.QcApplyDetailAction"/>
<action name="质检订单列表" interceptor="chkZmrLogin" path="/qcOrderList.htm" redirect="/qcOrderList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/qcOrderList.zml" class="com.zhiqim.yangcai.design.action.order.QcOrderListAction"/>
<action name="质检判定页面" interceptor="chkZmrLogin" path="/qcJudge.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/qcJudge.zml" class="com.zhiqim.yangcai.design.action.order.QcJudgeAction"/>
<action name="质检违规列表" interceptor="chkZmrLogin" path="/qcViolationsList.htm" redirect="/qcViolationsList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/qcViolationsList.zml" class="com.zhiqim.yangcai.design.action.order.QcViolationsListAction"/>
<action name="质检违规详情" interceptor="chkZmrLogin" path="/qcViolationsDetail.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/qcViolationsDetail.zml" class="com.zhiqim.yangcai.design.action.order.QcViolationsDetailAction"/>
<!-- 投诉订单 -->
<action name="投诉单列表" interceptor="chkZmrLogin" path="/complainTotalOrderList.htm" redirect="/complainTotalOrderList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/complain/complainTotalOrderList.zml" class="com.zhiqim.yangcai.design.action.complain.ComplainTotalOrderListAction"/>
<action name="待处理投诉单" interceptor="chkZmrLogin" path="/complainWantDealList.htm" redirect="/complainWantDealList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/complain/complainWantDealList.zml" class="com.zhiqim.yangcai.design.action.complain.ComplainWantDealListAction"/>
<action name="投诉统计" interceptor="chkZmrLogin" path="/complainFinishList.htm" redirect="/complainFinishList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/complain/complainFinishList.zml" class="com.zhiqim.yangcai.design.action.complain.ComplainFinishlListAction"/>
<action name="投诉单详情" interceptor="chkZmrLogin" path="/complainDetail.htm" redirect="/complainTotalOrderList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/complain/complainDetail.zml" class="com.zhiqim.yangcai.design.action.complain.ComplainDetailAction"/>
<action name="投诉单处理" interceptor="chkZmrLogin" path="/complainDeal.htm" redirect="/complainWantDealList.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/complain/complainDeal.zml" class="com.zhiqim.yangcai.design.action.complain.ComplainDealAction"/>
<action name="指定设计师" interceptor="chkZmrLogin" path="/assignDesigner.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/assignDesigner.zml" class="com.zhiqim.yangcai.design.action.order.AssignDesignerAction"/>
<action name="多选指定设计师" interceptor="chkZmrLogin" path="/assignDesigners.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/assignDesigners.zml" class="com.zhiqim.yangcai.design.action.order.AssignDesignerActions"/>
<action name="放弃订单" interceptor="chkZmrLogin" path="/waiveOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/waiveOrder.zml" class="com.zhiqim.yangcai.design.action.order.WaiveOrderAction"/>
<action name="修改单价" interceptor="chkZmrLogin" path="/doEditDesignPrice.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/doEditDesignPrice.zml"/>
<action name="修改单价" interceptor="chkZmrLogin" path="/doEditDesignPriceDZ.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/doEditDesignPriceDZ.zml"/>
<action name="修改加急费" interceptor="chkZmrLogin" path="/doEditUrgentPrice.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/doEditUrgentPrice.zml"/>
<action name="修改稿件类型" interceptor="chkZmrLogin" path="/doEditDraftType.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/doEditDraftType.zml"/>
<action name="修改订单状态" interceptor="chkZmrLogin" path="/doEditStatus.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/doEditStatus.zml"/>
<action name="修改订单" interceptor="chkZmrLogin" path="/doEditDesignOrder.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/doEditDesignOrder.zml" class="com.zhiqim.yangcai.design.action.order.DoEditDesignOrderAction"/>
<action name="指定组织" interceptor="chkZmrLogin" path="/assignOrg.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/assignOrg.zml" class="com.zhiqim.yangcai.design.action.order.AssignOrgAction"/>
<!-- 抢单大厅 -->
<action name="抢单大厅" interceptor="chkZmrLogin" path="/receiveOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/receiveOrder.zml" class="com.zhiqim.yangcai.design.action.order.ReceiveOrderAction"/>
<action name="抢单功能" interceptor="chkZmrLogin" path="/contendOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/contendOrder.zml" class="com.zhiqim.yangcai.design.action.order.ContendOrderAction"/>
<action name="资料上传" interceptor="chkZmrLogin" path="/uploadData.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/uploadData.zml" class="com.zhiqim.yangcai.design.action.order.UploadDataAction"/>
<action name="修改行业" interceptor="chkZmrLogin" path="/modifyIndustry.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/modifyIndustry.zml" class="com.zhiqim.yangcai.design.action.order.ModifyIndustryAction"/>
<action name="审稿详情" interceptor="chkZmrLogin" path="/checkBackDetail.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/checkBackDetail.zml" class="com.zhiqim.yangcai.design.action.order.CheckBackDetailAction"/>
<action name="修改状态" interceptor="chkZmrLogin" path="/changeStatus.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/order/changeStatus.zml" class="com.zhiqim.yangcai.design.action.order.ChangeStatusAction"/>
<action name="快超时订单" interceptor="chkZmrLogin" path="/timeoutOrderNear.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/timeoutOrderNear.zml" class="com.zhiqim.yangcai.design.action.order.TimeoutOrderNearAction"/>
<action name="当日超时订单" interceptor="chkZmrLogin" path="/timeoutOrderToday.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/timeoutOrderToday.zml" class="com.zhiqim.yangcai.design.action.order.TimeoutOrderTodayAction"/>
<action name="历史超时订单" interceptor="chkZmrLogin" path="/timeoutOrderHistory.htm" redirect="/timeoutOrderHistory.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/timeoutOrderHistory.zml" class="com.zhiqim.yangcai.design.action.order.TimeoutOrderHistoryAction"/>
<action name="定稿未超时订单" interceptor="chkZmrLogin" path="/notTimeoutCompleteOrderHistory.htm" redirect="/notTimeoutCompleteOrderHistory.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/notTimeoutCompleteOrderHistory.zml" class="com.zhiqim.yangcai.design.action.order.NotTimeoutCompleteOrderHistoryAction"/>
<action name="定稿超时订单" interceptor="chkZmrLogin" path="/timeoutCompleteOrderHistory.htm" redirect="/timeoutCompleteOrderHistory.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/timeoutCompleteOrderHistory.zml" class="com.zhiqim.yangcai.design.action.order.TimeoutCompleteOrderHistoryAction"/>
<action name="初稿超时折线图" interceptor="chkZmrLogin" path="/timeoutOrderHistoryStat.htm" redirect="/timeoutOrderHistoryStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/timeoutOrderHistoryStat.zml" class="com.zhiqim.yangcai.design.action.order.TimeoutOrderHistoryStatAction"/>
<action name="组织初稿时效统计" interceptor="chkZmrLogin" path="/timelinessOrgStat.htm" redirect="/timelinessOrgStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/timelinessOrgStat.zml" class="com.zhiqim.yangcai.design.action.order.TimelinessOrgStatAction"/>
<action name="旺旺订单" interceptor="chkZmrLogin" path="/wangwangOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/wangwangOrder.zml" class="com.zhiqim.yangcai.design.action.order.WangwangOrderAction"/>
<!-- 分拣、派单超时 -->
<action name="分拣超时" interceptor="chkZmrLogin" path="/timeoutMerDispatch.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/timeoutMerDispatch.zml" class="com.zhiqim.yangcai.design.action.order.TimeoutMerDispatchAction"/>
<action name="派单超时" interceptor="chkZmrLogin" path="/timeoutDispatchOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/timeoutDispatchOrder.zml" class="com.zhiqim.yangcai.design.action.order.TimeoutDispatchOrderAction"/>
<action name="初稿超时" interceptor="chkZmrLogin" path="/timeoutDraftOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/timeoutDraftOrder.zml" class="com.zhiqim.yangcai.design.action.order.TimeoutDraftOrderAction"/>
<!-- 标签管理 -->
<action name="标签行业" interceptor="chkZmrLogin" path="/labelIndustry.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelIndustry.zml" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction"/>
<action name="增加标签行业页面" interceptor="chkZmrLogin" path="/labelIndustryAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelIndustryAdd.zml" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction" method="add"/>
<action name="增加标签行业处理" interceptor="chkZmrLogin" path="/labelIndustryInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelIndustry.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction" method="insert"/>
<action name="修改标签行业页面" interceptor="chkZmrLogin" path="/labelIndustryModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelIndustryModify.zml" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction" method="modify"/>
<action name="修改标签行业处理" interceptor="chkZmrLogin" path="/labelIndustryUpdate.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelIndustry.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction" method="update"/>
<action name="删除标签行业处理" interceptor="chkZmrLogin" path="/labelIndustryDelete.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelIndustry.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.label.LabelIndustryAction" method="delete"/>
<action name="标签属性" interceptor="chkZmrLogin" path="/labelAttributeCat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttributeCat.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction"/>
<action name="增加标签属性页面" interceptor="chkZmrLogin" path="/labelAttributeCatAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttributeCatAdd.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction" method="add"/>
<action name="增加标签属性处理" interceptor="chkZmrLogin" path="/labelAttributeCatInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelAttributeCat.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction" method="insert"/>
<action name="修改标签属性页面" interceptor="chkZmrLogin" path="/labelAttributeCatModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttributeCatModify.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction" method="modify"/>
<action name="修改标签属性处理" interceptor="chkZmrLogin" path="/labelAttributeCatUpdate.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelAttributeCat.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction" method="update"/>
<action name="删除标签属性处理" interceptor="chkZmrLogin" path="/labelAttributeCatDelete.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/labelAttributeCat.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeCatAction" method="delete"/>
<action name="标签属性值" interceptor="chkZmrLogin" path="/labelAttribute.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttribute.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction"/>
<action name="添加标签属性值页面" interceptor="chkZmrLogin" path="/labelAttributeAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttributeAdd.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction" method="add"/>
<action name="添加标签属性值处理" interceptor="chkZmrLogin" path="/labelAttributeInsert.htm" redirect="/labelAttribute.htm" success="添加成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction" method="insert"/>
<action name="修改标签属性值值页面" interceptor="chkZmrLogin" path="/labelAttributeModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/label/labelAttributeModify.zml" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction" method="modify"/>
<action name="修改标签属性值处理" interceptor="chkZmrLogin" path="/labelAttributeUpdate.htm" redirect="/labelAttribute.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction" method="update"/>
<action name="删除标签属性值处理" interceptor="chkZmrLogin" path="/labelAttributeDelete.htm" redirect="/labelAttribute.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.label.LabelAttributeAction" method="delete"/>
<!-- 我的模板 -->
<action name="我的草稿模板" interceptor="chkZmrLogin" path="/templateDraftMy.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateDraftMy.zml" />
<action name="我的订单模板" interceptor="chkZmrLogin" path="/templateOrderMy.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateOrderMy.zml" />
<action name="我的模板" interceptor="chkZmrLogin" path="/templateMy.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateMy.zml"/>
<action name="我收藏的" interceptor="chkZmrLogin" path="/templateCollect.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateCollect.zml"/>
<action name="分享给我的" interceptor="chkZmrLogin" path="/templateShare.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateShare.zml"/>
<action name="所有模板" interceptor="chkZmrLogin" path="/allTemplate.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/allTemplate.zml" />
<action name="精品模板" interceptor="chkZmrLogin" path="/bestTemplate.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/bestTemplate.zml" />
<action name="模板审核" interceptor="chkZmrLogin" path="/templateAudit.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateAudit.zml" />
<action name="精品审核" interceptor="chkZmrLogin" path="/templateBestAudit.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/templateBestAudit.zml" />
<action name="模版审核日志" interceptor="chkZmrLogin" path="/desTemplateLogList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/desTemplateLogList.zml" class="com.zhiqim.yangcai.design.action.template.DesTemplateLogAction"/>
<action name="模板关联标签" interceptor="chkZmrLogin" path="/templateLabel.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/templateLabel.zml" class="com.zhiqim.yangcai.design.action.template.TemplateLabelAction"/>
<action name="模板详情" interceptor="chkZmrLogin" path="/templateShow.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/templateShow.zml" class="com.zhiqim.yangcai.design.action.template.TemplateShowAction"/>
<action name="模板下载" interceptor="chkZmrLogin" path="/templateDownload.htm" class="com.zhiqim.yangcai.design.action.template.TemplateDownloadAction"/>
<action name="新建我的模板" path="/newMyTemplate.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/inner/newMyTemplate.zml" class="com.zhiqim.yangcai.design.action.template.NewMyTemplateAction"/>
<action name="用户素材管理" path="/userMaterialList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/template/userMaterialList.zml" class="com.zhiqim.yangcai.design.action.template.UserMaterialAction" method="list"/>
<action name="添加系统素材" path="/addSysMaterial.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/addSysMaterial.zml" class="com.zhiqim.yangcai.design.action.template.UserMaterialAction" method="add"/>
<action name="外部稿件上传" interceptor="chkZmrLogin" path="/externalDraftUpload.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/externalDraftUpload.zml"/>
<action name="外部稿件下载" interceptor="chkZmrLogin" path="/externalDraftDownload.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/externalDraftDownload.zml" class="com.zhiqim.yangcai.design.action.template.ExternalDraftDownloadAction"/>
<!-- 作品库 -->
<action name="作品上传" interceptor="chkZmrLogin" path="/worksUpload.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/worksUpload.zml" class="com.zhiqim.yangcai.design.action.works.WorksUploadAction"/>
<action name="标签关联" interceptor="chkZmrLogin" path="/labelRelation.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/labelRelation.zml" class="com.zhiqim.yangcai.design.action.works.LabelRelationAction"/>
<action name="我的作品" interceptor="chkZmrLogin" path="/worksMy.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksMy.zml" class="com.zhiqim.yangcai.design.action.works.WorksMyAction"/>
<action name="我收藏的" interceptor="chkZmrLogin" path="/worksCollect.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksCollect.zml" class="com.zhiqim.yangcai.design.action.works.WorksCollectAction"/>
<action name="我的精品" interceptor="chkZmrLogin" path="/worksBest.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksBest.zml" class="com.zhiqim.yangcai.design.action.works.WorksBestAction"/>
<action name="分享给我的" interceptor="chkZmrLogin" path="/worksShare.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksShare.zml" class="com.zhiqim.yangcai.design.action.works.WorksShareAction"/>
<action name="小组作品" interceptor="chkZmrLogin" path="/groupWorks.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/groupWorks.zml" class="com.zhiqim.yangcai.design.action.works.GroupWorksAction"/>
<action name="所有作品" interceptor="chkZmrLogin" path="/allWorks.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/allWorks.zml" class="com.zhiqim.yangcai.design.action.works.AllWorksAction"/>
<action name="精品作品" interceptor="chkZmrLogin" path="/bestWorks.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/bestWorks.zml" class="com.zhiqim.yangcai.design.action.works.BestWorksAction"/>
<action name="精品审核" interceptor="chkZmrLogin" path="/worksAudit.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksAudit.zml" class="com.zhiqim.yangcai.design.action.works.WorksAuditAction"/>
<action name="作品详情" interceptor="chkZmrLogin" path="/worksShow.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/worksShow.zml" class="com.zhiqim.yangcai.design.action.works.WorksShowAction"/>
<action name="作品下载" interceptor="chkZmrLogin" path="/worksDownload.htm" class="com.zhiqim.yangcai.design.action.works.WorksDownloadAction"/>
<action name="外网下载" path="/cdrWorksDownload.htm" class="com.zhiqim.yangcai.design.action.works.CdrWorksDownloadAction"/>
<action name="作品列表" interceptor="chkZmrLogin" path="/worksList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/worksList.zml" class="com.zhiqim.yangcai.design.action.works.WorksListAction"/>
<action name="对外所有作品" path="/pcWorks.htm" view="/zview/works/pcWorks.zml" class="com.zhiqim.yangcai.design.action.works.AllWorksAction"/>
<action name="对外作品详情" path="/worksShowPC.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/worksShowPC.zml" class="com.zhiqim.yangcai.design.action.works.WorksShowPCAction"/>
<!-- 作品素材管理 -->
<action name="分类列表" interceptor="chkZmrLogin" path="/works/materialCatList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/materialCatList.zml" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="list"/>
<action name="分类增加" interceptor="chkZmrLogin" path="/works/materialCatAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/materialCatAdd.zml" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="add"/>
<action name="分类增加处理" interceptor="chkZmrLogin" path="/works/materialCatInsert.htm" redirect="/works/materialCatList.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="insert"/>
<action name="分类修改" interceptor="chkZmrLogin" path="/works/materialCatModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/materialCatModify.zml" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="modify"/>
<action name="分类修改处理" interceptor="chkZmrLogin" path="/works/materialCatUpdate.htm" redirect="/works/materialCatList.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="update"/>
<action name="分类删除处理" interceptor="chkZmrLogin" path="/works/materialCatDelete.htm" redirect="/works/materialCatList.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.works.MaterialCatAction" method="delete"/>
<action name="素材列表" interceptor="chkZmrLogin" path="/works/materialContList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/works/materialContList.zml" class="com.zhiqim.yangcai.design.action.works.MaterialContAction" method="list"/>
<action name="素材增加" interceptor="chkZmrLogin" path="/works/materialContAdd.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/materialContAdd.zml" class="com.zhiqim.yangcai.design.action.works.MaterialContAction" method="add"/>
<action name="素材修改" interceptor="chkZmrLogin" path="/works/materialContModify.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/works/materialContModify.zml" class="com.zhiqim.yangcai.design.action.works.MaterialContAction" method="modify"/>
<!-- 通用 -->
<action name="选择行业" interceptor="chkZmrLogin" path="/industrySelect.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/template/inner/industrySelect.zml" class="com.zhiqim.yangcai.design.action.template.IndustrySelectAction"/>
<!-- 设计师搜索模板管理 -->
<action name="模板预览" interceptor="chkZmrLogin" path="/templatePreview.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/des/templatePreview.zml" class="com.zhiqim.yangcai.design.action.des.TemplatePreviewAction"/>
<action name="模板客户预览" path="/templateCustomerPreview.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/des/templateCustomerPreview.zml" class="com.zhiqim.yangcai.design.action.des.TemplateCustomerPreviewAction"/>
<action name="弹框截图" interceptor="chkZmrLogin" path="/copyImage.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/des/inner/copyImage.zml" />
<!-- 派单管理 -->
<action name="派单属性" interceptor="chkZmrLogin" path="/dispatchProperty.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/dispatchProperty.zml" class="com.zhiqim.yangcai.design.action.dispatch.DispatchPropertyAction"/>
<action name="增加派单属性页面" interceptor="chkZmrLogin" path="/dispatchPropertyAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/dispatchPropertyAdd.zml" class="com.zhiqim.yangcai.design.action.dispatch.DispatchPropertyAction" method="add"/>
<action name="增加派单属性处理" interceptor="chkZmrLogin" path="/dispatchPropertyInsert.htm" redirect="/dispatchProperty.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.dispatch.DispatchPropertyAction" method="insert"/>
<action name="修改派单属性页面" interceptor="chkZmrLogin" path="/dispatchPropertyModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/dispatchPropertyModify.zml" class="com.zhiqim.yangcai.design.action.dispatch.DispatchPropertyAction" method="modify"/>
<action name="修改派单属性处理" interceptor="chkZmrLogin" path="/dispatchPropertyUpdate.htm" redirect="/dispatchProperty.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.dispatch.DispatchPropertyAction" method="update" />
<action name="删除派单属性处理" interceptor="chkZmrLogin" path="/dispatchPropertyDelete.htm" redirect="/dispatchProperty.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.dispatch.DispatchPropertyAction" method="delete"/>
<action name="待派单订单" interceptor="chkZmrLogin" path="/waitDisOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/waitDisOrder.zml" class="com.zhiqim.yangcai.design.action.dispatch.WaitDisOrderAction"/>
<action name="派单日志" interceptor="chkZmrLogin" path="/dispatchLog.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/dispatchLog.zml" class="com.zhiqim.yangcai.design.action.dispatch.DispatchLogAction"/>
<action name="待分拣订单" interceptor="chkZmrLogin" path="/waitDisMerOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/waitDisMerOrder.zml" class="com.zhiqim.yangcai.design.action.dispatch.WaitDisMerOrderAction"/>
<action name="商户分拣日志" interceptor="chkZmrLogin" path="/merDispatchLog.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/merDispatchLog.zml" class="com.zhiqim.yangcai.design.action.dispatch.MerDispatchLogAction"/>
<action name="上班日志查询" interceptor="chkZmrLogin" path="/workSearchLog.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/workSearchLog.zml" class="com.zhiqim.yangcai.design.action.dispatch.WorkSearchLogAction"/>
<action name="在线日志" interceptor="chkZmrLogin" path="/onlineLog.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/onlineLog.zml" class="com.zhiqim.yangcai.design.action.dispatch.OnlineLogAction"/>
<action name="通知日志" interceptor="chkZmrLogin" path="/noticeLog.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/noticeLog.zml" class="com.zhiqim.yangcai.design.action.dispatch.NoticeLogAction"/>
<action name="接单时长" interceptor="chkZmrLogin" path="/desOnlineTimeLog.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/desOnlineTimeLog.zml" class="com.zhiqim.yangcai.design.action.dispatch.DesOnliceTimeLogAction"/>
<action name="分拣统计" interceptor="chkZmrLogin" path="/dispatchStat.htm" redirect="/dispatchStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/dispatchStat.zml" class="com.zhiqim.yangcai.design.action.dispatch.DispatchStatAction"/>
<action name="待派统计" interceptor="chkZmrLogin" path="/dispatchWaitStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/dispatchWaitStat.zml" class="com.zhiqim.yangcai.design.action.dispatch.DispatchWaitStatAction"/>
<!--结算管理 -->
<action name="结算管理" interceptor="chkZmrLogin" path="/accountsManage.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/accounts/accountsManage.zml" class="com.zhiqim.yangcai.design.action.accounts.accountsManageAction"/>
<action name="结算管理导出" interceptor="chkZmrLogin" path="/accountsManageExport.htm" class="com.zhiqim.yangcai.design.action.accounts.accountsManageExportAction" />
<!--短信管理 -->
<action name="短信发送日志" interceptor="chkZmrLogin" path="/smsSendLog.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/sms/smsSendLog.zml" class="com.zhiqim.yangcai.design.action.sms.SmsSendLogAction"/>
<!--评分管理 -->
<action name="模板权重" interceptor="chkZmrLogin" path="/templateWeight.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/templateWeight.zml" class="com.zhiqim.yangcai.design.action.score.TemplateWeightAction"/>
<action name="增加模板权重页面" interceptor="chkZmrLogin" path="/templateWeightAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/templateWeightAdd.zml" class="com.zhiqim.yangcai.design.action.score.TemplateWeightAction" method="add"/>
<action name="增加模板权重处理" interceptor="chkZmrLogin" path="/templateWeightInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/templateWeight.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.score.TemplateWeightAction" method="insert"/>
<action name="修改模板权重页面" interceptor="chkZmrLogin" path="/templateWeightModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/templateWeightModify.zml" class="com.zhiqim.yangcai.design.action.score.TemplateWeightAction" method="modify"/>
<action name="修改模板权重处理" interceptor="chkZmrLogin" path="/templateWeightUpdate.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/templateWeight.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.score.TemplateWeightAction" method="update"/>
<action name="删除模板权重处理" interceptor="chkZmrLogin" path="/templateWeightDelete.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/templateWeight.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.score.TemplateWeightAction" method="delete"/>
<action name="模板评分类型" interceptor="chkZmrLogin" path="/templateScore.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/templateScore.zml" class="com.zhiqim.yangcai.design.action.score.TemplateScoreAction"/>
<action name="增加模板评分类型页面" interceptor="chkZmrLogin" path="/templateScoreAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/templateScoreAdd.zml" class="com.zhiqim.yangcai.design.action.score.TemplateScoreAction" method="add"/>
<action name="增加模板评分类型处理" interceptor="chkZmrLogin" path="/templateScoreInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/templateScore.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.score.TemplateScoreAction" method="insert"/>
<action name="关键词分数权重" interceptor="chkZmrLogin" path="/keywordWeight.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/keywordWeight.zml" class="com.zhiqim.yangcai.design.action.score.KeywordWeightAction"/>
<action name="增加关键词分数权重页面" interceptor="chkZmrLogin" path="/keywordWeightAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/keywordWeightAdd.zml" class="com.zhiqim.yangcai.design.action.score.KeywordWeightAction" method="add"/>
<action name="增加关键词分数权重处理" interceptor="chkZmrLogin" path="/keywordWeightInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/keywordWeight.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.score.KeywordWeightAction" method="insert"/>
<action name="修改关键词分数权重页面" interceptor="chkZmrLogin" path="/keywordWeightModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/keywordWeightModify.zml" class="com.zhiqim.yangcai.design.action.score.KeywordWeightAction" method="modify"/>
<action name="修改关键词分数权重处理" interceptor="chkZmrLogin" path="/keywordWeightUpdate.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/keywordWeight.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.score.KeywordWeightAction" method="update"/>
<action name="删除关键词分数权重处理" interceptor="chkZmrLogin" path="/keywordWeightDelete.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/keywordWeight.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.score.KeywordWeightAction" method="delete"/>
<action name="关键词评分参数" interceptor="chkZmrLogin" path="/keywordScore.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/keywordScore.zml" class="com.zhiqim.yangcai.design.action.score.KeywordScoreAction"/>
<action name="增加关键词评分参数页面" interceptor="chkZmrLogin" path="/keywordScoreAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/keywordScoreAdd.zml" class="com.zhiqim.yangcai.design.action.score.KeywordScoreAction" method="add"/>
<action name="增加关键词评分参数处理" interceptor="chkZmrLogin" path="/keywordScoreInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/keywordScore.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.score.KeywordScoreAction" method="insert"/>
<!-- 考试题库 -->
<action name="考试题库" interceptor="chkZmrLogin" path="/designOrderQuestions.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/designOrderQuestions.zml" class="com.zhiqim.yangcai.design.action.order.ConfigQuestionsAction"/>
<action name="新增考试订单" interceptor="chkZmrLogin" path="/configQuestionsAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/configQuestionsAdd.zml"/>
<action name="更新考试订单" interceptor="chkZmrLogin" path="/configQuestionsModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/configQuestionsModify.zml" class="com.zhiqim.yangcai.design.action.order.ConfigQuestionsModifyAciton"/>
<!--设计师评分配置 -->
<action name="设计师等级配置" interceptor="chkZmrLogin" path="/scoreDesignerLever.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/scoreDesignerLever.zml" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerLeverAction"/>
<action name="增加设计师等级配置页面" interceptor="chkZmrLogin" path="/scoreDesignerLeverAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/scoreDesignerLeverAdd.zml" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerLeverAction" method="add"/>
<action name="增加设计师等级配置处理" interceptor="chkZmrLogin" path="/scoreDesignerLeverInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerLeverAction" method="insert"/>
<action name="修改设计师等级配置页面" interceptor="chkZmrLogin" path="/scoreDesignerLeverModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/scoreDesignerLeverModify.zml" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerLeverAction" method="modify"/>
<action name="修改设计师等级配置处理" interceptor="chkZmrLogin" path="/scoreDesignerLeverUpdate.htm" view="/ztmpl/zhiqim_manager/template.htm" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerLeverAction" method="update"/>
<action name="删除设计师等级配置处理" interceptor="chkZmrLogin" path="/scoreDesignerLeverDelete.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/scoreDesignerLever.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerLeverAction" method="delete"/>
<action name="积分细则" interceptor="chkZmrLogin" path="/scoreType.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/scoreType.zml" class="com.zhiqim.yangcai.design.action.score.ScoreTypeAction"/>
<action name="设计师积分数据" interceptor="chkZmrLogin" path="/scoreDesignerRecord.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/scoreDesignerRecord.zml" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerRecordAction"/>
<action name="积分详情" interceptor="chkZmrLogin" path="/scoreDesignerRecordDetail.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/scoreDesignerRecordDetail.zml" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerRecordDetailAction"/>
<action name="人工修正" interceptor="chkZmrLogin" path="/scoreDesignerRecordDetailAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/score/scoreDesignerRecordAdd.zml" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerRecordDetailAction" method="add"/>
<action name="人工修正处理" interceptor="chkZmrLogin" path="/scoreDesignerRecordDetailInsert.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/scoreDesignerRecord.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.score.ScoreDesignerRecordDetailAction" method="insert"/>
<!--关键词管理 -->
<action name="关键词排行" interceptor="chkZmrLogin" path="/keywordTop.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/keyword/keywordTop.zml" class="com.zhiqim.yangcai.design.action.keyword.KeywordTopAction"/>
<action name="行业关键词" interceptor="chkZmrLogin" path="/keywordIndustryTop.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/keyword/keywordIndustryTop.zml" class="com.zhiqim.yangcai.design.action.keyword.KeywordIndustryTopAction"/>
<!-- ************************************************************ -->
<!-- ****************售后部分************************************* -->
<!-- ************************************************************ -->
<action name="售后单列表" interceptor="chkZmrLogin" path="/designAfterOrder.htm" redirect="/designAfterOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/after/designAfterOrder.zml" class="com.zhiqim.yangcai.design.action.after.DesignAfterOrderAction"/>
<action name="售后申诉单列表" interceptor="chkZmrLogin" path="/afterBlameReturn.htm" redirect="/afterBlameReturn.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/after/afterBlameReturn.zml" class="com.zhiqim.yangcai.design.action.after.AfterBlameReturnOrderAction"/>
<action name="需处理的售后单" interceptor="chkZmrLogin" path="/waitHandleAfterOrder.htm" redirect="/waitHandleAfterOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/after/waitHandleAfterOrder.zml" class="com.zhiqim.yangcai.design.action.after.WaitHandleAfterOrderAction"/>
<action name="个人售后单列表" interceptor="chkZmrLogin" path="/personalAfterOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/after/personalAfterOrder.zml" class="com.zhiqim.yangcai.design.action.after.PersonalAfterOrderAction"/>
<action name="我导致的售后单" interceptor="chkZmrLogin" path="/handledAfterOrder.htm" redirect="/handledAfterOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/after/handledAfterOrder.zml" class="com.zhiqim.yangcai.design.action.after.HandledAfterOrderAction"/>
<action name="售后赔付比修改" interceptor="chkZmrLogin" path="/doEditDesignAfsId.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/after/doEditDesignAfsId.zml"/>
<!-- ************************************************************ -->
<!-- ****************统计部分************************************* -->
<!-- ************************************************************ -->
<!-- 统计报表 -->
<action name="已初稿状态订单统计" interceptor="chkZmrLogin" path="/draftStatusOrderStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/draftStatusOrderStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.DraftStatusOrderStatAction"/>
<action name="初稿订单统计" interceptor="chkZmrLogin" path="/draftOrderConvert.htm" redirect="/draftOrderConvert.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/draftOrderConvert.zml" class="com.zhiqim.yangcai.design.action.stat.design.DraftOrderConvertAction"/>
<action name="设计师绩效统计" interceptor="chkZmrLogin" path="/designerPerformance.htm" redirect="/designerPerformance.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/designerPerformance.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignerPerformanceAction"/>
<action name="设计师定稿率统计" interceptor="chkZmrLogin" path="/completeDesignRateStat.htm" redirect="/completeDesignRateStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/completeDesignRateStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.CompleteDesignRateStatAction"/>
<!-- <action name="组织定稿率统计" interceptor="chkZmrLogin" path="/completeOrgRateStat.htm" redirect="/completeOrgRateStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/completeOrgRateStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.CompleteOrgRateStatAction"/>
<action name="订单类型统计" interceptor="chkZmrLogin" path="/designOrderTypeStat.htm" redirect="/designOrderTypeStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/designOrderTypeStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignOrderTypeStatAction"/>
<action name="组织定稿统计" interceptor="chkZmrLogin" path="/designFinalizeOrgCase.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/designFinalizeOrgCase.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignFinalizeOrgCaseAction"/>
<action name="初稿订单时效统计" interceptor="chkZmrLogin" path="/draftOrderTimeliness.htm" redirect="/draftOrderTimeliness.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/draftOrderTimeliness.zml" class="com.zhiqim.yangcai.design.action.stat.design.DraftOrderTimelinessAction"/>
<action name="初稿订单时效统计清单" interceptor="chkZmrLogin" path="/draftOrderTimelinessInfo.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/stat/design/inner/draftOrderTimelinessInfo.zml" class="com.zhiqim.yangcai.design.action.stat.design.DraftOrderTimelinessInfoAction"/>
<action name="初稿订单时效统计(组织)" interceptor="chkZmrLogin" path="/draftOrderOrgTimeliness.htm" redirect="/draftOrderOrgTimeliness.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/draftOrderOrgTimeliness.zml" class="com.zhiqim.yangcai.design.action.stat.design.DraftOrderOrgTimelinessAction"/>
<action name="初稿订单时效统计清单(组织)" interceptor="chkZmrLogin" path="/draftOrderOrgTimelinessInfo.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/stat/design/inner/draftOrderOrgTimelinessInfo.zml" class="com.zhiqim.yangcai.design.action.stat.design.DraftOrderOrgTimelinessInfoAction"/>
<action name="定稿订单时效统计" interceptor="chkZmrLogin" path="/completeOrderTimeliness.htm" redirect="/completeOrderTimeliness.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/completeOrderTimeliness.zml" class="com.zhiqim.yangcai.design.action.stat.design.CompleteOrderTimelinessAction"/>
<action name="定稿订单时效统计清单" interceptor="chkZmrLogin" path="/completeOrderTimelinessInfo.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/stat/design/inner/completeOrderTimelinessInfo.zml" class="com.zhiqim.yangcai.design.action.stat.design.CompleteOrderTimelinessInfoAction"/>
<action name="初稿产品时效统计" interceptor="chkZmrLogin" path="/draftOrderTypeTimeliness.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/draftOrderTypeTimeliness.zml" class="com.zhiqim.yangcai.design.action.stat.design.DraftOrderTypeTimelinessAction"/>
<action name="定稿产品时效统计" interceptor="chkZmrLogin" path="/completeOrderTypeTimeliness.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/completeOrderTypeTimeliness.zml" class="com.zhiqim.yangcai.design.action.stat.design.CompleteOrderTypeTimelinessAction"/>
<action name="设计总订单数量统计" interceptor="chkZmrLogin" path="/designOrderCountStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/designOrderCountStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignOrderCountStatAction"/>-->
<!-- 修改绩效统计报表 -->
<action name="设计师修改绩效统计" interceptor="chkZmrLogin" path="/meritsTotal.htm" redirect="/meritsTotal.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/merits/meritsTotal.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignOrderMeriysAction"/>
<!-- 超时统计 -->
<action name="设计师定稿超时" interceptor="chkZmrLogin" path="/timeoutDesignerComplete.htm" redirect="/timeoutDesignerComplete.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/timeoutDesignerComplete.zml" class="com.zhiqim.yangcai.design.action.stat.design.TimeoutDesignerCompleteAction"/>
<action name="组织定稿超时" interceptor="chkZmrLogin" path="/timeoutOrgComplete.htm" redirect="/timeoutOrgComplete.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/timeoutOrgComplete.zml" class="com.zhiqim.yangcai.design.action.stat.design.TimeoutOrgCompleteAction"/>
<action name="个人退款率统计" interceptor="chkZmrLogin" path="/personalRefundRateStat.htm" redirect="/personalRefundRateStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/refund/personalRefundRateStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.PersonalRefundRateStatAction"/>
<action name="个人退款申诉" interceptor="chkZmrLogin" path="/personalRefundComplaint.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/stat/refund/personalRefundComplaint.zml"/>
<action name="设计退款率统计" interceptor="chkZmrLogin" path="/designOrderRefundRateStat.htm" redirect="/designOrderRefundRateStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/refund/designOrderRefundRateStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignOrderRefundRateStatAction"/>
<action name="设计退款统计饼图" interceptor="chkZmrLogin" path="/designOrderRefundStat.htm" redirect="/designOrderRefundStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/refund/designOrderRefundStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignOrderRefundStatAction"/>
<action name="组织退款统计" interceptor="chkZmrLogin" path="/designRefundOrgTotalStatistics.htm" redirect="/designRefundOrgTotalStatistics.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/refund/designRefundOrgTotalStatistics.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignRefundOrgTotalStatisticsAction"/>
<action name="产品退款统计" interceptor="chkZmrLogin" path="/designRefundPrdTypeStatistics.htm" redirect="/designRefundPrdTypeStatistics.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/refund/designRefundPrdTypeStatistics.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignRefundPrdTypeStatisticsAction"/>
<action name="个人绩效统计" interceptor="chkZmrLogin" path="/personalPerformanceStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/performance/personalPerformanceStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.PersonalPerformanceStatAction"/>
<action name="设计师绩效统计" interceptor="chkZmrLogin" path="/designerPerformanceStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/performance/designerPerformanceStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignerPerformanceStatAction"/>
<action name="设计组绩效统计" interceptor="chkZmrLogin" path="/designGroupPerformanceStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/performance/designGroupPerformanceStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.DesignGroupPerformanceStatAction"/>
<action name="质检原因统计" interceptor="chkZmrLogin" path="/qcReasonStat.htm" redirect="/qcReasonStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/qc/qcReasonStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.QcReasonStatAction"/>
<action name="设计师质检统计" interceptor="chkZmrLogin" path="/qcDesignerStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/qc/qcDesignerStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.QcDesignerStatAction"/>
<action name="质检处理统计" interceptor="chkZmrLogin" path="/qcDisposeStat.htm" redirect="/qcDisposeStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/qc/qcDisposeStat.zml" class="com.zhiqim.yangcai.design.action.stat.design.QcDisposeStatAction"/>
<!-- 售后统计 -->
<action name="个人售后统计" interceptor="chkZmrLogin" path="/personalAfterStatistics.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/after/personalAfterStatistics.zml" class="com.zhiqim.yangcai.design.action.stat.after.PersonalAfterStatisticsAction"/>
<action name="售后订单统计" interceptor="chkZmrLogin" path="/designAfterStatistics.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/after/designAfterStatistics.zml" class="com.zhiqim.yangcai.design.action.stat.after.DesignAfterStatisticsAction"/>
<action name="售后创建统计" interceptor="chkZmrLogin" path="/designAfterCreateStatistics.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/after/designAfterCreateStatistics.zml" class="com.zhiqim.yangcai.design.action.stat.after.DesignAfterCreateStatisticsAction"/>
<action name="售后原因统计" interceptor="chkZmrLogin" path="/designAfterReasonStatistics.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/after/designAfterReasonStatistics.zml" class="com.zhiqim.yangcai.design.action.stat.after.DesignAfterReasonStatisticsAction"/>
<action name="售后组织统计" interceptor="chkZmrLogin" path="/designAfterOrgStatistics.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/after/designAfterOrgStatistics.zml" class="com.zhiqim.yangcai.design.action.stat.after.DesignAfterOrgStatisticsAction"/>
<!-- 审核退回统计 -->
<action name="印前审核退回统计" interceptor="chkZmrLogin" path="/orderBackEffectStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/back/orderBackEffectStat.zml" class="com.zhiqim.yangcai.design.action.stat.back.OrderBackEffectStatAction"/>
<action name="印前原因退回统计" interceptor="chkZmrLogin" path="/beforecauseChart.htm" redirect="/beforecauseChart.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/back/beforecauseChart.zml" class="com.zhiqim.yangcai.design.action.stat.back.BeforeCauseChartAction"/>
<action name="印前部门定稿统计" interceptor="chkZmrLogin" path="/sectionFinalizeCompleteStat.htm" redirect="/sectionFinalizeCompleteStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/back/sectionFinalizeCompleteStat.zml" class="com.zhiqim.yangcai.design.action.stat.back.SectionFinalizeCompleteStatAction"/>
<action name="初稿审核退回统计" interceptor="chkZmrLogin" path="/draftOrderBackStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/back/draftOrderBackStat.zml" class="com.zhiqim.yangcai.design.action.stat.back.DraftOrderBackStatAction"/>
<action name="定稿审核退回统计" interceptor="chkZmrLogin" path="/endOrderBackStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/back/endOrderBackStat.zml" class="com.zhiqim.yangcai.design.action.stat.back.EndOrderBackStatAction"/>
<!-- 消息盒子 -->
<attribute name="系统引导" key="websocket" value="com.zhiqim.yangcai.design.messagebox.ZqmMessageBoxWS" />
<action name="消息盒子(我接收的)" interceptor="chkZmrLogin" path="/${zhiqim_manager}/message.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/zhiqim_manager/message.zml" class="com.zhiqim.yangcai.design.messagebox.MessageAction"/>
<action name="消息盒子(我发送的)" interceptor="chkZmrLogin" path="/${zhiqim_manager}/messageFromMe.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/zhiqim_manager/messageFromMe.zml" class="com.zhiqim.yangcai.design.messagebox.MessageFromMeAction"/>
<!-- 待办事项 -->
<action name="我的待办事项" interceptor="chkZmrLogin" path="/${zhiqim_manager}/backLogWork.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/zhiqim_manager/backLogWork.zml" class="com.zhiqim.yangcai.design.messagebox.BackLogWorkAction"/>
<!-- 客户标签 -->
<action name="补充标签" interceptor="chkZmrLogin" path="/fillLabelInfo.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/templateOrder/fillLabelInfo.zml" class="com.zhiqim.yangcai.design.action.template.FillLabelInfoAction" />
<!-- 移动端作品库部分 -->
<action name="移动端作品库首页" path="/mobileWorksHome.htm" view="/ztmpl/zhiqim_manager/empty.htm" include="/zview/mobileWorks/mobileWorksHome.zml" class="com.zhiqim.yangcai.design.action.mobileworks.MobileWorksAction" />
<action name="移动端单个作品详情页" path="/mobileWorkDetail.htm" view="/ztmpl/zhiqim_manager/empty.htm" include="/zview/mobileWorks/mobileWorkDetail.zml" class="com.zhiqim.yangcai.design.action.mobileworks.MobileWorksDetailAction" />
<!-- 移动端模板库部分 -->
<action name="移动端模板库首页" path="/mobileTemplateHome.htm" view="/ztmpl/zhiqim_manager/empty.htm" include="/zview/mobileTemplate/mobileTemplateHome.zml" class="com.zhiqim.yangcai.design.action.mobiletemplate.MobileTemplateAction" />
<action name="移动端单个模板详情页" path="/mobileTemplateDetail.htm" class="com.zhiqim.yangcai.design.action.mobiletemplate.MobileTemplateDetailAction" />
<!-- 秒绘电子名片支持接口 -->
<action name="查询电子名片设计元素json字符串" path="/dzmpSupportList.htm" class="com.zhiqim.yangcai.design.action.dzmpsupport.DzmpSupportAction" method="list" />
<action name="编辑电子名片设计元素json字符串" path="/dzmpSupportUpdate.htm" class="com.zhiqim.yangcai.design.action.dzmpsupport.DzmpSupportAction" method="update" />
<action name="电子名片用户绑定设计平台名片" path="/dzmpUserBindingCard.htm" class="com.zhiqim.yangcai.design.action.dzmpsupport.DzmpUserBindCardAction" />
<!-- 微信公众号对接企业微信API的支持接口 -->
<action name="获取设计师个人信息" path="/wkwechatSupportGetDesignerInfo.htm" class="com.zhiqim.yangcai.design.action.wkwechatsupport.WkwechatSupportAction" />
<action name="定稿线程池统计" interceptor="chkZmrLogin" path="/pdfQueue.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/pdfQueue.zml" class="com.zhiqim.yangcai.design.action.PdfQueueAction" />
<!-- 预约-组织临时额度配置管理 -->
<action name="预约-组织临时额度配置" interceptor="chkZmrLogin" path="/subscribeOrgTempQuota.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/subscribe/subscribeOrgTempQuota.zml" class="com.zhiqim.yangcai.design.action.subscribe.SubscribeOrgTempQuotaAction"/>
<action name="增加预约-组织临时额度配置" interceptor="chkZmrLogin" path="/subscribeOrgTempQuotaAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/subscribe/subscribeOrgTempQuotaAdd.zml" class="com.zhiqim.yangcai.design.action.subscribe.SubscribeOrgTempQuotaAction" method="add"/>
<action name="增加预约-组织临时额度配置处理" interceptor="chkZmrLogin" path="/subscribeOrgTempQuotaInsert.htm" redirect="/subscribeOrgTempQuota.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.subscribe.SubscribeOrgTempQuotaAction" method="insert"/>
<action name="修改预约-组织临时额度配置页面" interceptor="chkZmrLogin" path="/subscribeOrgTempQuotaModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/subscribe/subscribeOrgTempQuotaModify.zml" class="com.zhiqim.yangcai.design.action.subscribe.SubscribeOrgTempQuotaAction" method="modify"/>
<action name="修改预约-组织临时额度配置处理" interceptor="chkZmrLogin" path="/subscribeOrgTempQuotaUpdate.htm" redirect="/subscribeOrgTempQuota.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.subscribe.SubscribeOrgTempQuotaAction" method="update" />
<action name="删除预约-组织临时额度配置处理" interceptor="chkZmrLogin" path="/subscribeOrgTempQuotaDelete.htm" redirect="/subscribeOrgTempQuota.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.subscribe.SubscribeOrgTempQuotaAction" method="delete"/>
<!-- 订单预约管理 -->
<action name="订单预约管理" interceptor="chkZmrLogin" path="/designerSubscribe.htm" redirect="/designerSubscribe.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/subscribe/designerSubscribe.zml" class="com.zhiqim.yangcai.design.action.subscribe.DesignerSubscribeAction"/>
<!-- 订单分析 -->
<action name="订单分析" interceptor="chkZmrLogin" path="/orderAnalysis.htm" redirect="/orderAnalysis.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/design/orderAnalysis.zml" class="com.zhiqim.yangcai.design.action.stat.design.OrderAnalysisAction"/>
<!-- 订单预约统计 -->
<action name="订单预约统计(组员)" interceptor="chkZmrLogin" path="/subscribeStat.htm" redirect="/subscribeStat.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/subscribe/subscribeStat.zml" class="com.zhiqim.yangcai.design.action.stat.subscribe.SubscribeStatAction"/>
<action name="订单预约统计(组织)" interceptor="chkZmrLogin" path="/subscribeStatAll.htm" redirect="/subscribeStatAll.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/stat/subscribe/subscribeStatAll.zml" class="com.zhiqim.yangcai.design.action.stat.subscribe.SubscribeStatAllAction"/>
<!-- 设计师个人信息 -->
<action name="用户中心" interceptor="chkZmrLogin" path="/${zhiqim_manager}/profile.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/designerworks/profile.zml" class="com.zhiqim.yangcai.design.action.designerworks.ProfileAction" />
<action name="设计师简介" interceptor="chkZmrLogin" path="/designerProfile.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/designerworks/designerProfile.zml" class="com.zhiqim.yangcai.design.action.designerworks.DesignerProfileAction" />
<action name="设计师作品" interceptor="chkZmrLogin" path="/designerWorks.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/designerworks/designerWorks.zml" class="com.zhiqim.yangcai.design.action.designerworks.DesignerWorksAction" />
<action name="设计师注册" interceptor="chkZmrLogin" path="/designerReg.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/designerworks/designerReg.zml" class="com.zhiqim.yangcai.design.action.designerworks.DesignerRegAction" />
<action name="注册审核拒绝" interceptor="chkZmrLogin" path="/regCheckBack.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/designerworks/regCheckBack.zml" class="com.zhiqim.yangcai.design.action.designerworks.RegCheckBackAction" />
<action name="注册审核通过" interceptor="chkZmrLogin" path="/checkApproved.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/designerworks/checkApproved.zml" class="com.zhiqim.yangcai.design.action.designerworks.RegCheckApprovedAction" />
<action name="修改个人接单数量" interceptor="chkZmrLogin" path="/${zhiqim_manager}/modifyOrderNum.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/designerworks/modifyOrderNum.zml" />
<!-- 设计师虚拟账户 -->
<action name="虚拟账户" interceptor="chkZmrLogin" path="/virtualAccount.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/virtualAccount.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountAction"/>
<action name="虚拟账交易明细" interceptor="chkZmrLogin" path="/virtualAccountTransactionDetails.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/virtualAccountTransactionDetails.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountTransactionDetailsAction"/>
<action name="虚拟账户明细" interceptor="chkZmrLogin" path="/virtualAccountDetails.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/virtualAccountDetails.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountDetailsAction"/>
<action name="发放工资" interceptor="chkZmrLogin" path="/sendSalary.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/sendSalary.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountAction"/>
<action name="冻结资金" interceptor="chkZmrLogin" path="/freezeSalary.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/freezeSalary.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountAction"/>
<action name="异常稽核" interceptor="chkZmrLogin" path="/abnormalAudit.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/account/abnormalAudit.zml" class="com.zhiqim.yangcai.design.action.account.VirtualAccountAction"/>
<action name="设计师工资导出" interceptor="chkZmrLogin" path="/exportWageSchedule.htm" class="com.zhiqim.yangcai.design.action.account.ExportWageSchedule" />
<!-- 操作员未完成订单下载 -->
<action name="操作员未完成订单下载" interceptor="chkZmrLogin" path="/downloadDesignOperatorOrder.htm" class="com.zhiqim.yangcai.design.action.DownloadDesignOperatorOrderAction"/>
<!-- 设计师组管理 -->
<action name="设计师组管理" interceptor="chkZmrLogin" path="/designerGroup.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/designerGroup.zml" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupAction" method="list"/>
<action name="设计师组增加页面" interceptor="chkZmrLogin" path="/designerGroupAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/designerGroupAdd.zml" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupAction" method="add"/>
<action name="设计师组增加处理" interceptor="chkZmrLogin" path="/designerGroupInsert.htm" redirect="/designerGroup.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupAction" method="insert"/>
<action name="设计师组修改页面" interceptor="chkZmrLogin" path="/designerGroupModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/designerGroupModify.zml" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupAction" method="modify"/>
<action name="设计师组修改处理" interceptor="chkZmrLogin" path="/designerGroupUpdate.htm" redirect="/designerGroup.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupAction" method="update"/>
<action name="设计师组删除处理" interceptor="chkZmrLogin" path="/designerGroupDelete.htm" redirect="/designerGroup.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupAction" method="delete"/>
<!-- 设计师组接单管理 -->
<action name="设计师组接单管理" interceptor="chkZmrLogin" path="/designerGroupDispatch.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/designerGroupDispatch.zml" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupDispatchAction" method="list"/>
<action name="设计师组增加接单配置页面" interceptor="chkZmrLogin" path="/designerGroupDispatchAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/designerGroupDispatchAdd.zml" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupDispatchAction" method="add"/>
<action name="设计师组增加配置处理" interceptor="chkZmrLogin" path="/designerGroupDispatchInsert.htm" redirect="/designerGroupDispatch.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupDispatchAction" method="insert"/>
<action name="设计师组修改配置页面" interceptor="chkZmrLogin" path="/designerGroupDispatchModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/designerGroupDispatchModify.zml" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupDispatchAction" method="modify"/>
<action name="设计师组修改配置处理" interceptor="chkZmrLogin" path="/designerGroupDispatchUpdate.htm" redirect="/designerGroupDispatch.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupDispatchAction" method="update"/>
<action name="设计师组删除配置处理" interceptor="chkZmrLogin" path="/designerGroupDispatchDelete.htm" redirect="/designerGroupDispatch.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.sys.DesignerGroupDispatchAction" method="delete"/>
<action name="设计师组分拣日志" interceptor="chkZmrLogin" path="/designerGroupDispatchLog.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/designerGroupDispatchLog.zml" class="com.zhiqim.yangcai.design.action.dispatch.DesignerGroupDispatchLogAction"/>
<action name="待分拣设计师组订单" interceptor="chkZmrLogin" path="/waitDisDesignerGroupOrder.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/dispatch/waitDisDesignerGroupOrder.zml" class="com.zhiqim.yangcai.design.action.dispatch.WaitDisDesignerGroupOrderAction"/>
<action name="设计师管理" interceptor="chkZmrLogin" path="/designerManage.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/designer/designerManage.zml" class="com.zhiqim.yangcai.design.action.designer.DesignerManageAction" />
<action name="设计师详情" interceptor="chkZmrLogin" path="/designerCourseDetail.htm" view="/ztmpl/zhiqim_manager/inner.htm" include="/zview/designer/designerCourseDetail.zml" class="com.zhiqim.yangcai.design.action.designer.DesignerCourseDetailAction" />
<action name="设计师管理导出" interceptor="chkZmrLogin" path="/designerManageExport.htm" class="com.zhiqim.yangcai.design.action.designer.DesignerManageExportAction" />
<!--知识库文章管理 -->
<action name="文章列表" interceptor="chkZmrLogin" path="/article.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/article/article.zml" class="com.zhiqim.yangcai.design.action.question.ArticleAction" method="list"/>
<action name="增加文章页面" interceptor="chkZmrLogin" path="/articleAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/article/articleAdd.zml" class="com.zhiqim.yangcai.design.action.question.ArticleAction" method="add"/>
<action name="增加文章处理" interceptor="chkZmrLogin" path="/articleInsert.htm" redirect="/article.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.question.ArticleAction" method="insert"/>
<action name="修改文章页面" interceptor="chkZmrLogin" path="/articleModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/article/articleModify.zml" class="com.zhiqim.yangcai.design.action.question.ArticleAction" method="modify"/>
<action name="修改文章处理" interceptor="chkZmrLogin" path="/articleUpdate.htm" redirect="/article.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.question.ArticleAction" method="update"/>
<action name="删除文章处理" interceptor="chkZmrLogin" path="/articleDelete.htm" redirect="/article.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.question.ArticleAction" method="delete"/>
<!-- 分类管理 -->
<action name="分类列表" interceptor="chkZmrLogin" path="/category.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/article/category.zml" class="com.zhiqim.yangcai.design.action.question.CategoryAction" method="list"/>
<action name="增加分类页面" interceptor="chkZmrLogin" path="/categoryAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/article/categoryAdd.zml" class="com.zhiqim.yangcai.design.action.question.CategoryAction" method="add"/>
<action name="增加分类处理" interceptor="chkZmrLogin" path="/categoryInsert.htm" redirect="/category.htm" success="增加成功" class="com.zhiqim.yangcai.design.action.question.CategoryAction" method="insert"/>
<action name="修改分类页面" interceptor="chkZmrLogin" path="/categoryModify.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/article/categoryModify.zml" class="com.zhiqim.yangcai.design.action.question.CategoryAction" method="modify"/>
<action name="修改分类处理" interceptor="chkZmrLogin" path="/categoryUpdate.htm" redirect="/category.htm" success="修改成功" class="com.zhiqim.yangcai.design.action.question.CategoryAction" method="update"/>
<action name="删除分类处理" interceptor="chkZmrLogin" path="/categoryDelete.htm" redirect="/category.htm" success="删除成功" class="com.zhiqim.yangcai.design.action.question.CategoryAction" method="delete"/>
<!-- 前台展示 -->
<action name="问题页" path="/question.htm" view="/zview/article/question.zml" class="com.zhiqim.yangcai.design.action.question.QuestionAction"/>
<action name="搜索页" path="/search.htm" view="/zview/article/search.zml" class="com.zhiqim.yangcai.design.action.question.SearchAction"/>
<!--对外设计师官网帮助文档Api -->
<action name="查询文章富文本内容" path="/categoryLevel2Content.htm" class="com.zhiqim.yangcai.design.action.question.api.CategoryLeval2ContentForUccnAction"/>
<action name="查询二级分类下文章明细" path="/categoryLevel2Detail.htm" class="com.zhiqim.yangcai.design.action.question.api.CategoryLeval2DetailForUccnAction"/>
<action name="模糊搜索" path="/searchForUccn.htm" class="com.zhiqim.yangcai.design.action.question.api.ArticleSearchForUccnAction"/>
<!--退款订单 -->
<action name="同意退款" interceptor="chkZmrLogin" path="/designOrderAgreeRefund.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/order/designOrderAgreeRefund.zml"/>
<action name="退款订单详情" interceptor="chkZmrLogin" path="/designOrderRefundInfo.htm" view="/ztmpl/zhiqim_manager/template.htm" redirect="/category.htm" include="/zview/order/designOrderRefundInfo.zml" class="com.zhiqim.yangcai.design.action.order.DesignOrderRefundInfoAction"/>
<!--公告 -->
<action name="公告首页" interceptor="chkZmrLogin" path="/noticeList.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/notice/noticeList.zml" class="com.zhiqim.yangcai.design.action.notice.NoticeListAction" method="list"/>
<action name="添加公告" interceptor="chkZmrLogin" path="/noticeAdd.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/notice/noticeAdd.zml"/>
<action name="添加公告" interceptor="chkZmrLogin" redirect="/noticeList.htm" path="/noticeAddInfo.htm" success="操作成功" view="/ztmpl/zhiqim_manager/template.htm" class="com.zhiqim.yangcai.design.action.notice.NoticeListAction" method="insert"/>
<action name="修改公告" interceptor="chkZmrLogin" redirect="/noticeList.htm" path="/noticeModify.htm" success="操作成功" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/notice/noticeModify.zml" class="com.zhiqim.yangcai.design.action.notice.NoticeListAction" method="modify"/>
<action name="修改公告" interceptor="chkZmrLogin" redirect="/noticeList.htm" path="/noticeUpdate.htm" success="操作成功" view="/ztmpl/zhiqim_manager/template.htm" class="com.zhiqim.yangcai.design.action.notice.NoticeListAction" method="update"/>
<action name="删除公告" interceptor="chkZmrLogin" redirect="/noticeList.htm" path="/noticeDelete.htm" success="操作成功" view="/ztmpl/zhiqim_manager/template.htm" class="com.zhiqim.yangcai.design.action.notice.NoticeListAction" method="delete"/>
<action name="公告详情" interceptor="chkZmrLogin" path="/noticeInfo.htm" include="/zview/notice/noticeInfo.zml" view="/ztmpl/zhiqim_manager/template.htm"/>
<action name="历史公告" interceptor="chkZmrLogin" path="/noticeHistory.htm" view="/ztmpl/zhiqim_manager/template.htm" include="/zview/notice/noticeHistory.zml" class="com.zhiqim.yangcai.design.action.notice.NoticeHistoryAction"/>
</zhiqim-context>
+921
View File
@@ -0,0 +1,921 @@
<#---------------------------------------------------->
<#-- 以下为变量定义 ------------------------>
<#---------------------------------------------------->
<#--脚注标注-->
<#var zmr_copyname="2021 秒绘科技"/>
<#var zmr_copyright="Copyright&nbsp;&nbsp;&copy;&nbsp;"+zmr_copyname+"&nbsp;All&nbsp;Rights&nbsp;Reserved"/>
${Styles.src(zhiqim.css)}
${Scripts.src(zhiqim.js)}
${Styles.src(context.getRootPath("/zinc/css/yangcai_question_main_v1.4.0R2018031701.css"))}
${Scripts.src(context.getRootPath("/zinc/css/zhiqim_search_auto_list_v1.4.0R2018031701.js"))}
<#--属性定义-->
<#var name="设计运营后台"/>
<#var version="V1.0"/>
<#var zhiqim_uploadlarge.js = new ZmrCdnRuntime(context, "/service/res/zhiqim_upload_large_v1.5.0.r2018111001.js")/>
<#--刷新左边区域自定义块-->
<#function zhiqim_manager_topnav_left_defined()>
<script>
Z.onload(function()
{
});
</script>
</#function>
<#-- 重写模板编辑版本号-->
<#var media_editor_js_version="v1.5.0_r2020121101"/>
<#-- 重写模板定稿、预览-->
<#function zhqim_media_edit_print(mediaId)>
<script>
//提交初稿设计订单
function doSubmitDraftOrderTempalte(mediaId)
{
var orderIsDzmpCardType = '${orderIsCardType}';
if (orderIsDzmpCardType == 'true') {
// 保存名片关联信息
doUpdateCardInfo('${cardId}','${designId}', false);
}
// 保存后的回调方法
function callbackAfterSave(mediaId)
{
var ajax2 = new Z.Ajax();
ajax2.setClassName("TemplateOrderPresenter");
ajax2.setMethodName("doSubmitDraftOrderTempalte");
ajax2.addParam("mediaId", mediaId);
ajax2.setFailure(function(){
setTimeout(function()
{
doDraftOrder_ajaxLoading.close()
Z.failure(ajax2.responseText);
},400);
});
ajax2.setSuccess(function(){
setTimeout(function()
{
doDraftOrder_ajaxLoading.close();
Z.success("初稿成功");
},400);
});
ajax2.execute();
}
// 1:定义加载框
window.doDraftOrder_ajaxLoading = Z.loading({text:"正在提交初稿文件,请稍后...", shadow:true , width:400});
if (hasSvg2pdfAPI)
{
doSubmitDraftLocalSave(callbackAfterSave, mediaId);
}
else
{
doAutoSaveMedia(callbackAfterSave, mediaId, true);
}
}
//完成定稿,预览设计稿
function doPreviewFinalOrderTempalte(mediaId)
{
//生成PDF文件并预览展示,保存后的回调方法
function callbackAfterSave(mediaId)
{
var doHandle = (hasSvg2pdfAPI) ? 0 : 1;
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doPreviewFinalOrderTempalte");
ajax.addParam("mediaId", mediaId);
ajax.addParam("doHandle", doHandle);
ajax.setFailure(function(){
previewFinal_ajaxLoading.close();
Z.failure(ajax.responseText);
});
ajax.setSuccess(function(){
doPreviewFinalOrderDialog(mediaId);
});
ajax.execute();
}
//检测订单模板的版面数
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doCheckTempatePage");
ajax.addParam("mediaId", mediaId);
ajax.setFailure(function(){
Z.failure(ajax.responseText);
});
ajax.setSuccess(function()
{
//加载框
window.previewFinal_ajaxLoading = Z.loading({shadow: true, text:"定稿预览处理中...", width:200});
if (hasSvg2pdfAPI)
{
callbackAfterSave(mediaId);
}
else
{
doAutoSaveMedia(callbackAfterSave, mediaId, true);
}
});
ajax.setLoading(document, true);
ajax.execute();
}
//预览定稿展示
function doPreviewFinalOrderDialog(mediaId)
{
if (hasSvg2pdfAPI)
{
ServiceAPI.mediaId = mediaId;
doPreviewFileLocalSave(previewFinal_ajaxLoading);
}
else
{
doPreviewDialogQuery(mediaId);
}
}
function previewPdfLocal()
{//重写pdfMaker,预览pdf方法
// ajax 查询订单金额
var amount = 0;
var ajax = new Z.Ajax();
ajax.setSync();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doQueryOrderAmount");
ajax.addParam("mediaId", media.canvas.mediaId);
ajax.setFailure(function(){
previewFinal_ajaxLoading.close();
});
ajax.setSuccess(function(){
amount = parseFloat(this.responseText || 0);
});
ajax.execute();
if (amount <= 0)
return doClearErrorLocalSave("订单金额查询有误!");
previewFinal_ajaxLoading.close();
var mediaId = ServiceAPI.mediaId;
var height = Z.D.clientHeight() - 200;
var html = '<div id="previewId" class="z-text-center" style="height:'+height+'px">';
//html += ' <object type="text/html" width="100%" height="100%" data="'+objUrl+'"></object>';
//html += ' <iframe width="100%" height="100%" src="'+objUrl.+'"></iframe>';
//html += '<embed src="'+objUrl+'" type="application/pdf" width="100%" height="100%">';
//html += '<embed src="'+objUrl+'" type="text/html" width="100%" height="100%">';
//html += ' <object type="application/pdf" width="100%" height="100%" data="'+objUrl+'"></object>';
html += '</div>';
html += '<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">';
html += ' <button id="save" type="button" class="z-button z-large z-w120 z-cyan"';
html += 'onclick="confirmSubmitFinalOrderTempalte('+mediaId+','+amount+')">完成定稿</button>&nbsp;';
html += ' <button type="button" class="z-button z-large z-mg-l10" onclick="previewPdfDialogLocal.close();">关闭</button>';
html += '</div>';
top.previewPdfDialogLocal = new Z.Dialog();
previewPdfDialogLocal.title = "预览定稿文件";
previewPdfDialogLocal.text = html;
previewPdfDialogLocal.width = parseInt(Z.D.clientWidth()/2);
previewPdfDialogLocal.height = parseInt(height + 60);
previewPdfDialogLocal.fixed = true;
previewPdfDialogLocal.execute();
// 重写弹窗关闭方法
var closeFun = previewPdfDialogLocal.close;
previewPdfDialogLocal.close = function()
{
closeFun.call(previewPdfDialogLocal);
previewPdfDialogLocal = null;
doClearPreviewLocalSave();
}
previewPdfDialogLocal.$title.find(".z-font.z-error").hide();
Z('<i class="z-font z-error"></i>').appendTo(previewPdfDialogLocal.$title).on("click",previewPdfDialogLocal.close);
// pdfJs显示效果
pdfjsLib.renderAllFromData({node:"#previewId",scale:300/72},ServiceAPI.pdfFinaly.result).then(function()
{
// 样式校准
var previewWidth = Z.D.id("previewId").getBoundingClientRect().width - 30;
var $$canvas = Z("#previewId canvas");
$$canvas.each(function($canvas)
{
var canvasWidth = $canvas.width;
if (previewWidth > canvasWidth)
return;
var canvasHeight = $canvas.height;
$canvas.style.width = previewWidth + "px";
$canvas.style.height = previewWidth/canvasWidth*canvasHeight + "px";
});
});
}
//定稿预览显示
function doPreviewDialogQuery(mediaId)
{
//ajax查询处理状态
function doQueryPreviewProgressing(mediaId)
{
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doQueryPreviewFinalOrderTempalteProgressing");
ajax.addParam("mediaId", mediaId);
ajax.setFailure(function(){
previewFinal_ajaxLoading.close();
Z.failure(ajax.responseText);
});
ajax.setSuccess(function(){
var obj = Z.J.toObject(ajax.responseText);
var mediaHandlePdfModel = obj.mediaHandlePdfModel;
if (mediaHandlePdfModel)
{
console.log("预览处理状态:"+mediaHandlePdfModel.handleStatus)
if (mediaHandlePdfModel.handleStatus == 0 || mediaHandlePdfModel.handleStatus == 1)
{// 待处理 // 处理中
setTimeout(doQueryPreviewProgressing, 5000, mediaId);
}
else if (mediaHandlePdfModel.handleStatus == 3)
{//处理失败
previewFinal_ajaxLoading.close();
Z.failure(mediaHandlePdfModel.errorMsg);
}
else if (mediaHandlePdfModel.handleStatus == 2)
{// 处理完成
previewFinal_ajaxLoading.close();
var height = Z.D.clientHeight() - 200;
var amount = obj.amount;
var html = '<div id="previewId" style="height:'+height+'px">';
html += window.pdfjsLib?'':'<object type="text/html" width="100%" height="100%" data="'+obj.url+'"></object>';
html += '</div>';
html += '<div class="z-absolute z-w100p z-h60 z-text-center z-bg-gray z-pd10" style="bottom:0;left:0">';
html += ' <button id="save" type="button" class="z-button z-large z-w120 z-cyan" onclick="confirmSubmitFinalOrderTempalte('+mediaId+','+amount+')">完成定稿</button>&nbsp;';
html += ' <button type="button" class="z-button z-large z-mg-l10" onclick="Z.Dialog.close(location.hash);">关闭</button>';
html += '</div>';
var dialog = new Z.Dialog();
dialog.title = "预览定稿文件";
dialog.text = html;
dialog.width = parseInt(Z.D.clientWidth()/2);
dialog.height = parseInt(height + 60);
dialog.fixed = true;
dialog.execute();
window.pdfjsLib && pdfjsLib.renderAll("#previewId", obj.url);
}
else
{
previewFinal_ajaxLoading.close();
console.log("定稿预览收到异常处理状态")
}
}
else
{//查不到处理对象
previewFinal_ajaxLoading.close();
console.log("定稿预览找不到处理对象")
Z.failure("预览处理失败");
}
});
ajax.execute();
}
//延时处理 查询
setTimeout(doQueryPreviewProgressing, 500, mediaId);
}
//确认定稿操作
function confirmSubmitFinalOrderTempalte(mediaId, amount)
{
//提交定稿确认弹窗
var tips = "确定完成对稿吗?定稿后该订单模板不再支持修改!";
if (amount >= 10000)
{
tips="此订单金额较大,请仔细核对无误再定稿,以免造成售后损失。定稿后该订单模板不再支持修改!"
}
Z.confirm(tips, function()
{
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doCheckTempatePage");
ajax.addParam("mediaId", mediaId);
ajax.setFailure(function(){
Z.failure(ajax.responseText);
});
ajax.setSuccess(function()
{
//加载筐
window.submitFinal_ajaxLoading = Z.loading({shadow: true, text:"定稿处理中...", width:180});
var doHandle = (hasSvg2pdfAPI) ? 0 : 1;
var ajax2 = new Z.Ajax();
ajax2.setClassName("TemplateOrderPresenter");
ajax2.setMethodName("doSubmitFinalOrderTempalte");
ajax2.addParam("mediaId", mediaId);
ajax2.addParam("doHandle", doHandle);
ajax2.setFailure(function(){
window.submitFinal_ajaxLoading.close();
Z.failure(ajax2.responseText);
});
ajax2.setSuccess(function()
{
//直接使用预览的pdf文件来定稿
var obj = Z.J.toObject(this.responseText ? this.responseText : "{}");
if(obj.success == "true")
{
submitFinal_ajaxLoading.close();
Z.success("定稿完成", function(){Z.L.reload()});
}
else
{
//重新生成pdf文件来定稿
if (hasSvg2pdfAPI)
{
doSubmitFinalLocalSave(this.responseText);
}
else
{
doSubmitFinalAjaxSave(mediaId);
}
}
});
ajax2.setLoading(document, true);
ajax2.execute();
});
ajax.setLoading("save", '正在提交', {disabled:true});
ajax.execute();
});
}
//客户端提交定稿,生成PDF
function doSubmitFinalLocalSave(responseText)
{
var fileData = Z.J.toObject(responseText);
// 上传完成,更新数据
var callback = function()
{
submitFinal_ajaxLoading.close();
Z.success("定稿完成", function(){Z.L.reload()});
}
//上传pdf
doUploadPdfLocal(fileData.fileName, fileData.uploadPath, callback, {
className: "TemplateOrderPresenter",
methodName: "doSubmitFinalLocalSave",
mediaId: mediaId, // mediaID
mediaUrl: ServiceAPI.imgPath, // 缩略图
pdfPath: fileData.pdfPath, // pdf成品
});
}
//ajax提交定稿,生成PDF
function doSubmitFinalAjaxSave(mediaId)
{//发送异步处理成功
function queryProgressing(mediaId)
{
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doQueryFinalOrderTemplateProgressing");
ajax.addParam("mediaId", mediaId);
ajax.setFailure(function(){
submitFinal_ajaxLoading.close();
Z.failure(ajax.responseText);
});
ajax.setSuccess(function()
{
var obj = Z.J.toObject(ajax.responseText);
var mediaHandlePdfModel = obj.mediaHandlePdfModel;
if (mediaHandlePdfModel)
{
var handleStatus = mediaHandlePdfModel.handleStatus;
console.log("定稿处理状态:"+handleStatus);
if (handleStatus == 0 || handleStatus == 1)
{//待处理 处理中
setTimeout(queryProgressing, 500, mediaId)
}
else if (handleStatus == 2)
{//处理完成
submitFinal_ajaxLoading.close();
Z.success("定稿完成", function(){Z.L.reload()});
}
else if (handleStatus == 3)
{//处理失败
submitFinajaxaxLoading.close();
Z.failure(mediaHandlePdfModel.errorMsg);
}
else
{
submitFinal_ajaxLoading.close();
console.log("定稿预览收到异常处理状态")
}
}
else
{//查不到处理对象
submitFinal_ajaxLoading.close();
console.log("定稿处理找不到处理对象");
Z.failure("定稿处理失败");
}
});
ajax.execute();
}
setTimeout(queryProgressing, 500, mediaId);
}
</script>
<#if !isTemplateEdit>
<style>
.topnav .topToolBar .topToolRight{flex-basis: 480px;}
.topnav .topToolRight #draftBtn{background-color:#009049;}
.topnav .topToolRight #finalBtn{background-color:#de1e08;}
</style>
<div id="draftBtn" class="nav topTool" onclick="doSubmitDraftOrderTempalte('${mediaId}');">提交初稿</div>
<div id="finalBtn" class="nav topTool" onclick="doPreviewFinalOrderTempalteCheckLabel('${mediaId}');">完成定稿</div>
</#if>
</#function>
<#-- 重写模板左边订单选项-->
<#function zhqim_media_edit_order_item_defined(mediaId)>
<script>
function openWangWang(buyerNick)
{//打开旺旺
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utz-8");
}
function openQQ(userQq)
{//打开QQ
if (!Z.V.isInteger(userQq))
{
Z.alert("客户未提供QQ号,请旺旺联系");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
}
function doTemplateOrderEdit(mediaId)
{//编辑
Z.l.href ="/zhiqimMediaEditor/mediaDesign.htm?mediaId=" + mediaId;
}
function doTemplateOrderDelete(mediaId, designId)
{//删除
if (Z.V.isEmpty(mediaId))
{
Z.alert("请选择模板");
return;
}
Z.confirm("你确定要删除该模板吗?", function(){
var ajax = new Z.Ajax();
ajax.setClassName("TemplatePresenter");
ajax.setMethodName("doTemplateDelete");
ajax.addParam("mediaId", mediaId);
ajax.addParam("designId", designId);
ajax.setFailureAlert();
ajax.setSuccess(function(){
Z.success("删除成功", function(){Z.L.reload();});
});
ajax.execute();
});
}
function doTabnavCss(value)
{
if (value == 1)
{
Z("#tabnav_user").addClass("z-active");
Z("#tabnav_template").removeClass("z-active");
Z("#tabnav_user_content").addClass("z-active");
Z("#tabnav_template_content").removeClass("z-active");
}
else if (value == 2)
{
Z("#tabnav_user").removeClass("z-active");
Z("#tabnav_template").addClass("z-active");
Z("#tabnav_user_content").removeClass("z-active");
Z("#tabnav_template_content").addClass("z-active");
}
else if (value == 3)
{
Z("#tabnav_userText").addClass("z-active");
Z("#tabnav_paramText").removeClass("z-active");
Z("#tabnav_userText_content").addClass("z-active");
Z("#tabnav_paramText_content").removeClass("z-active");
}
else if (value == 4)
{
Z("#tabnav_userText").removeClass("z-active");
Z("#tabnav_paramText").addClass("z-active");
Z("#tabnav_userText_content").removeClass("z-active");
Z("#tabnav_paramText_content").addClass("z-active");
}
}
function doQueryOrderInfo(mediaId)
{//订单API
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doTemplateOrderQuery");
ajax.addParam("mediaId", mediaId);
ajax.setCallback("side_order");
ajax.setLoading("side_order");
ajax.execute();
}
function doCopyOtherPage(mediaSrcId, bid, mediaId)
{//复制其它页
Z.confirm("你确定要复制该版面?", function()
{
// 新建 coverMaterial,字符串传参
var lastBgObj = media.bgList[media.bgList.length - 1];
var newBid = lastBgObj.bid + 1;
var bgObj = new Z.Bg();
bgObj.bid = newBid;
media.bgList.push(bgObj);
var newCMList = setCoverMaterial(bgObj, media.canvas.widthMm, media.canvas.heightMm);
// ajax调用
var ajax = new Z.Ajax();
ajax.setClassName("MediaPresenter");
ajax.setMethodName("doCopyOtherPage");
ajax.addParam("mediaSrcId", mediaSrcId);
ajax.addParam("bid", bid);
ajax.addParam("newBid", newBid);
ajax.addParam("mediaId", mediaId);
ajax.addParam("coverMaterialList", Z.AR.toString(newCMList));
ajax.setFailure(media.bgList.pop);
ajax.setFailureAlert();
ajax.setSuccess(function()
{
//定义 media
var newMedia = Z.J.toObject(this.responseText);
media = new Z.Media({canvas: newMedia.canvas, bgList: newMedia.bgList, materialList: newMedia.materialList, coverMaterialList: newMedia.coverMaterialList});
//刷新画布
loadCanvas();
//刷新版面
refreshPageList();
Z.tips("复制成功");
});
ajax.setLoading(document);
ajax.execute();
});
}
function doDownFile(attaId)
{//下载
Z.l.href ="/templateDownload.htm?attaId=" + attaId + "&type=orderFile";
}
//标签选择客户类型
function doSelectConsumerType(flag){
Z("#consumerType_"+flag).addClass("z-blue").siblings("button").removeClass("z-blue");
}
//通过关键词查主行业
function doQueryIndustryByKey(){
var industryKey=Z("#industryKey").val();
var labelOid = Z("#labelOid").val();
var unmatchkey=Z("#unmatchkey").val();
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doQueryIndustryByKey");
ajax.addParam("industryKey",industryKey);
ajax.addParam("labelOid",labelOid);
ajax.addParam("unmatchkey",unmatchkey);
ajax.setFailureAlert();
ajax.setSuccess(function(){
var map=Z.J.toObject(this.responseText);
var industrys=map.industrys;
var newUnmatchkey=map.unmatchkey;
var htmlstr="";
Z.each(industrys, function(industry, i){
htmlstr+='<button id="industry_'+industry.industryId+'" type="button" class="z-button z-mg3 main-industry" value="'+industry.industryId+'" onclick="doQueryIndustryLabel('+industry.industryId+')">'+industry.industryName+'</button>';
});
Z("#mainIndustry").html(htmlstr);
Z("#subIndustry").html("");
Z("#applicationScenario").html("");
Z("#designStyle").html("");
Z("#unmatchkey").val(newUnmatchkey);
// 推荐行业页面元素遍历拼接
var recommendIndHtml = "";
var recommendIndustrys = map.recommendIndustryList;
Z.each(recommendIndustrys, function(industry, i){
recommendIndHtml += '<button id="recommend_industry_'+industry.industryId+'" type="button" class="z-button z-mg3 recommend-industry" value="'+industry.industryId+'" onclick="doQueryIndustryLabel('+industry.industryId+', 1)">'+industry.industryName+'</button>';
});
Z("#recommendIndustry").html(recommendIndHtml);
});
ajax.setLoading("queryIndustryByKey", '<i class="z-font z-return"></i>正在处理',{disabled:true});
ajax.execute();
}
function doQueryOrderLabel(mediaId){
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doTemplateOrderLabelQuery");
ajax.addParam("mediaId", mediaId);
ajax.setCallback("side_label");
ajax.setLoading("side_label");
ajax.execute();
}
//查询标签
function doQueryIndustryLabel(industryId, isRecommend){
if(isRecommend)
{
Z("#recommend_industry_"+industryId).addClass("z-blue").siblings("button").removeClass("z-blue");
Z(".main-industry").removeClass("z-blue");
}
else
{
Z("#industry_"+industryId).addClass("z-blue").siblings("button").removeClass("z-blue");
Z(".recommend-industry").removeClass("z-blue");
}
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doQueryIndustryLabel");
ajax.addParam("industryId",industryId);
ajax.setFailureAlert();
ajax.setSuccess(function(){
var map=Z.J.toObject(this.responseText);
var htmlSI="";
var htmlAS="";
var htmlDS="";
var labelList=map.labelList;
var dimensionList=map.dimensionList;
var dimensionMap=new Map();
for (var i in dimensionList) {
dimensionMap.set(dimensionList[i].dimensionId,dimensionList[i].dimensionName);
}
Z.each(labelList, function(label, i){
if("子行业"==dimensionMap.get(label.dimensionId)){
htmlSI+='<button id="label_'+label.id+'" type="button" class="z-button z-mg3" value="'+label.id+'" onclick="doLabelSelected('+label.id+')">'+label.labelName+'</button>';
}
if("应用场景"==dimensionMap.get(label.dimensionId)){
htmlAS+='<button id="label_'+label.id+'" type="button" class="z-button z-mg3" value="'+label.id+'" onclick="doLabelSelected('+label.id+')">'+label.labelName+'</button>';
}
if("设计风格"==dimensionMap.get(label.dimensionId)){
htmlDS+='<button id="label_'+label.id+'" type="button" class="z-button z-mg3" value="'+label.id+'" onclick="doLabelSelected('+label.id+')">'+label.labelName+'</button>';
}
});
Z("#subIndustry").html(htmlSI);
Z("#applicationScenario").html(htmlAS);
Z("#designStyle").html(htmlDS);
});
ajax.execute();
}
//选择标签
function doLabelSelected(id){
Z("#label_"+id).addClass("z-blue").siblings("button").removeClass("z-blue");
}
//保存标签
function doSaveLabel(){
var unmatchkey=Z("#unmatchkey").val();
var labelOid = Z("#labelOid").val();
var consumerType=Z("button[id^='consumerType'][class*='z-blue']").val();//客户类型
var industryId=Z("div[id='mainIndustry'] button[class*='z-blue']").val();//主行业
// 如果选择了推荐行业则保存时替换为主行业id
var recommendIndustryId = Z("div[id='recommendIndustry'] button[class*='z-blue']").val();// 推荐行业
if (!industryId)
{
if (Z.V.isEmpty(recommendIndustryId))
{
Z.alert("请选择主行业或者推荐行业");
return;
}
industryId = recommendIndustryId;
}
var subIndustryId=Z("div[id='subIndustry'] button[class*='z-blue']").val();//子行业
var applicationScenarioId=Z("div[id='applicationScenario'] button[class*='z-blue']").val();//应用场景
var designStyleId=Z("div[id='designStyle'] button[class*='z-blue']").val();//设计风格
var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doSaveIndustryLabel");
ajax.addParam("labelOid",labelOid);
ajax.addParam("consumerType",consumerType);
ajax.addParam("industryId",industryId);
ajax.addParam("subIndustryId",subIndustryId);
ajax.addParam("applicationScenarioId",applicationScenarioId);
ajax.addParam("designStyleId",designStyleId);
ajax.addParam("unmatchkey",unmatchkey);
ajax.setFailureAlert();
ajax.setSuccess(function(){
Z("#unmatchkey").val("");
Z.alert("保存成功");
});
ajax.setLoading("saveLabel", '<i class="z-font z-return"></i>正在处理',{disabled:true});
ajax.execute();
}
function doCancelLabel(){
Z("button[id^='consumerType'][class*='z-blue']").removeClass("z-blue");
Z("div[id='mainIndustry'] button[class*='z-blue']").removeClass("z-blue");
Z("div[id='subIndustry'] button[class*='z-blue']").removeClass("z-blue");
Z("div[id='applicationScenario'] button[class*='z-blue']").removeClass("z-blue");
Z("div[id='designStyle'] button[class*='z-blue']").removeClass("z-blue");
Z("#subIndustry").html("");
Z("#applicationScenario").html("");
Z("#designStyle").html("");
}
function doPreviewFinalOrderTempalteCheckLabel(mediaId){
/*
if(orderIsCardType&&!curPageCardId){
Z.alert("在定稿前请先生成电子名片二维码并保存");
return;
}
*/
// 智能电子名片定稿时需要二次确认
var orderIsDzmpCardType = '${orderIsCardType}';
if (orderIsDzmpCardType == 'true') {
beforeShowDzmpQrcode("endDraft");
return;
}
doPreviewFinalOrderTempalte(mediaId);
/* var ajax = new Z.Ajax();
ajax.setClassName("TemplateOrderPresenter");
ajax.setMethodName("doPreviewFinalOrderTempalteCheckLabel");
ajax.addParam("mediaId",mediaId);
ajax.setFailureAlert();
ajax.setSuccess(function(){
var map=Z.J.toObject(this.responseText);
if(map.flag==false){
var dialog = new Z.Dialog();
dialog.title = "补充订单【"+map.designId+"】的标签信息";
dialog.url = "/fillLabelInfo.htm?designId="+map.designId+"&mediaId="+mediaId;
dialog.width = 900;
dialog.height = 360;
dialog.execute();
}else{
}
});
ajax.setLoading("finalBtn", '<i class="z-font z-return"></i>正在处理',{disabled:true});
ajax.execute();
*/
}
</script>
<li onclick="doChangeSidebar(this,'order');doQueryOrderInfo('${mediaId}');"><i class="z-font z-text zi-px24"></i><br>订单</li>
<!-- <li id="label" onclick="doChangeSidebar(this,'label');doQueryOrderLabel('${mediaId}');"><i class="z-font z-add zi-px24"></i><br>标签</li> -->
</#function>
<!-- 重写我的素材选项-->
<#function zhqim_media_my_material_defined()>
<script>
var allMaterialCatList = Z.J.toObject('${Global.get(MaterialCatCache.class).list()}'); // 素材分类对象
Z.onload(function(){
doQueryUserMaterial("1");
});
function doQueryUserMaterial(page)
{//查询我的素材
var ajax = new Z.Ajax();
ajax.setClassName("UserMaterialPresenter");
ajax.setMethodName("doQueryUserMaterial");
ajax.addParam("page", page);
ajax.setFailureAlert();
ajax.setSuccess(function()
{
var list = Z.J.toObject(this.responseText);
var ulHtml = "<ul>";
for(var i=0;i<list.length;i++)
{
var data = list[i];
ulHtml += '<li class="userMaterialListItem" onclick=addSvgCodeFromMine("' + data.svgId + '",' + 'doUseUserMaterial); oncontextmenu=\'tagMenuShowMine(event, "' + data.svgId + '");\'>' + data.svgCode;
ulHtml += '</li>';
}
ulHtml += "</ul>";
Z("#collection_result>.result-ul").html("").append(Z(ulHtml));
});
ajax.execute();
}
function doUseUserMaterial(svgId)
{//使用素材
// 主方法,ajax 调用
var ajax = new Z.Ajax();
ajax.setClassName("UserMaterialPresenter");
ajax.setMethodName("getUserMaterialSvg");
ajax.addParam(svgId);
ajax.setFailure(function(){Z.failure(this.responseText);});
ajax.setSuccess(function(){analysisOfResponseMine(this.responseText);});
ajax.execute();
}
function doAddUserMaterial(typeCode, catCode, keywords, svgCode)
{//添加素材
var ajax = new Z.Ajax();
ajax.setClassName("UserMaterialPresenter");
ajax.setMethodName("doAddUserMaterial");
ajax.addParam("typeCode", typeCode);
ajax.addParam("catCode", catCode);
ajax.addParam("keywords", keywords);
ajax.addParam("svgCode", svgCode);
ajax.setFailureAlert();
ajax.setSuccess(function()
{
Z.alert("添加成功", function(){doQueryUserMaterial("1");});
});
ajax.execute();
}
function doDelUserMaterial(elem)
{//删除个人素材
var svgId = Z(elem).attr("data-svgid");
var ajax = new Z.Ajax();
ajax.setClassName("UserMaterialPresenter");
ajax.setMethodName("doDelUserMaterial");
ajax.addParam(svgId);
ajax.setFailure(function(){Z.failure(this.responseText);});
ajax.setSuccess(function(){doQueryUserMaterial("1");});
ajax.execute();
}
/** 标签右键菜单 **/
function tagMenuShowMine(event, svgId)
{
Z.E.forbidden(event);
createContextMenu({
"event": event,
"elemId": "tagUserMaterialMenu",
"editItem": [
["删除素材","doDelUserMaterial(this)"]
]
});
Z("#tagUserMaterialMenu ul:nth-child(1)>li:first-child").attr("data-svgid",svgId);
}
</script>
<style>
.userMaterialListItem{padding:5px;}
.userMaterialListItem > svg{height:auto;}
.
</style>
<div class="side-btnList">
<span class="side-btnSelect active" data-type="0">全部</span>
<span class="side-btnSelect" data-type="1" style="pointer-events:none;opacity:.7;">文字</span>
<span class="side-btnSelect" data-type="2" style="pointer-events:none;opacity:.7;">图片</span>
<span class="side-btnSelect" data-type="3" style="pointer-events:none;opacity:.7;">形状</span>
<span class="side-btnSelect" data-type="4" style="pointer-events:none;opacity:.7;">二维码</span>
</div>
<div class="bjbox">
<div id="collection_result" class="bjimg materialListShow">
<div class="result-ul"></div>
<div class="result-page"><span></span></div>
<div class="result-tips z-text-center z-hide">已经到底了!!</div>
</div>
</div>
</#function>
<#--计算左侧宽高值-->
<#function yangcai_calc_Left_width_height(width, height)>
<script>
function calcLeftWidthHeight()
{
Z("#left").css("width", Z.D.clientWidth() - ${zmr_sidebar_width} - 20 - ${width} - 5);//左20PD,右5PD
Z("#left").css("height", Z.D.clientHeight() - ${zmr_topnav_height} - ${zmr_breadcrumb_height} - 20 - ${height} - 5);//上20PD,下5PD
}
Z.onload(calcLeftWidthHeight);
Z(window).resize(calcLeftWidthHeight);
</script>
</#function>
<#--计算指定元素的宽度-->
<#function yangcai_designer_calc_width(width, containerId)>
<script>
function calcLeftWidthHeight()
{
Z("#${containerId}").css("width", Z.D.clientWidth() - ${zmr_sidebar_width} - 20 - ${width} - 5);//左20PD,右5PD
}
Z.onload(calcLeftWidthHeight);
Z(window).resize(calcLeftWidthHeight);
</script>
</#function>
<#function sweet_alert_reuse_method()>
${Scripts.src("/zinc/js/sweetalert2.min.js")}
<link rel="stylesheet" href="/zinc/css/sweetalert2.min.css">
</#function>
<#function Mydome()>
<link rel="stylesheet" href="/zinc/css/dome.css">
</#function>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

+2
View File
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /
+26
View File
@@ -0,0 +1,26 @@
/*
Highcharts JS v5.0.7 (2017-01-17)
Data module
(c) 2012-2016 Torstein Honsi
License: www.highcharts.com/license
*/
(function(p){"object"===typeof module&&module.exports?module.exports=p:p(Highcharts)})(function(p){(function(g){var p=g.win.document,m=g.each,z=g.pick,w=g.inArray,x=g.isNumber,A=g.splat,n,u=function(b,a){this.init(b,a)};g.extend(u.prototype,{init:function(b,a){this.options=b;this.chartOptions=a;this.columns=b.columns||this.rowsToColumns(b.rows)||[];this.firstRowAsNames=z(b.firstRowAsNames,!0);this.decimalRegex=b.decimalPoint&&new RegExp("^(-?[0-9]+)"+b.decimalPoint+"([0-9]+)$");this.rawColumns=[];
this.columns.length?this.dataFound():(this.parseCSV(),this.parseTable(),this.parseGoogleSpreadsheet())},getColumnDistribution:function(){var b=this.chartOptions,a=this.options,d=[],f=function(b){return(g.seriesTypes[b||"line"].prototype.pointArrayMap||[0]).length},e=b&&b.chart&&b.chart.type,c=[],k=[],t=0,h;m(b&&b.series||[],function(b){c.push(f(b.type||e))});m(a&&a.seriesMapping||[],function(b){d.push(b.x||0)});0===d.length&&d.push(0);m(a&&a.seriesMapping||[],function(a){var d=new n,r,v=c[t]||f(e),
q=g.seriesTypes[((b&&b.series||[])[t]||{}).type||e||"line"].prototype.pointArrayMap||["y"];d.addColumnReader(a.x,"x");for(r in a)a.hasOwnProperty(r)&&"x"!==r&&d.addColumnReader(a[r],r);for(h=0;h<v;h++)d.hasReader(q[h])||d.addColumnReader(void 0,q[h]);k.push(d);t++});a=g.seriesTypes[e||"line"].prototype.pointArrayMap;void 0===a&&(a=["y"]);this.valueCount={global:f(e),xColumns:d,individual:c,seriesBuilders:k,globalPointArrayMap:a}},dataFound:function(){this.options.switchRowsAndColumns&&(this.columns=
this.rowsToColumns(this.columns));this.getColumnDistribution();this.parseTypes();!1!==this.parsed()&&this.complete()},parseCSV:function(){var b=this,a=this.options,d=a.csv,f=this.columns,e=a.startRow||0,c=a.endRow||Number.MAX_VALUE,k=a.startColumn||0,t=a.endColumn||Number.MAX_VALUE,h,g,y=0;d&&(g=d.replace(/\r\n/g,"\n").replace(/\r/g,"\n").split(a.lineDelimiter||"\n"),h=a.itemDelimiter||(-1!==d.indexOf("\t")?"\t":","),m(g,function(a,d){var g=b.trim(a),r=0===g.indexOf("#");d>=e&&d<=c&&!r&&""!==g&&(a=
a.split(h),m(a,function(b,a){a>=k&&a<=t&&(f[a-k]||(f[a-k]=[]),f[a-k][y]=b)}),y+=1)}),this.dataFound())},parseTable:function(){var b=this.options,a=b.table,d=this.columns,f=b.startRow||0,e=b.endRow||Number.MAX_VALUE,c=b.startColumn||0,k=b.endColumn||Number.MAX_VALUE;a&&("string"===typeof a&&(a=p.getElementById(a)),m(a.getElementsByTagName("tr"),function(b,a){a>=f&&a<=e&&m(b.children,function(b,e){("TD"===b.tagName||"TH"===b.tagName)&&e>=c&&e<=k&&(d[e-c]||(d[e-c]=[]),d[e-c][a-f]=b.innerHTML)})}),this.dataFound())},
parseGoogleSpreadsheet:function(){var b=this,a=this.options,d=a.googleSpreadsheetKey,f=this.columns,e=a.startRow||0,c=a.endRow||Number.MAX_VALUE,k=a.startColumn||0,g=a.endColumn||Number.MAX_VALUE,h,v;d&&jQuery.ajax({dataType:"json",url:"https://spreadsheets.google.com/feeds/cells/"+d+"/"+(a.googleSpreadsheetWorksheet||"od6")+"/public/values?alt\x3djson-in-script\x26callback\x3d?",error:a.error,success:function(a){a=a.feed.entry;var d,t=a.length,q=0,n=0,l;for(l=0;l<t;l++)d=a[l],q=Math.max(q,d.gs$cell.col),
n=Math.max(n,d.gs$cell.row);for(l=0;l<q;l++)l>=k&&l<=g&&(f[l-k]=[],f[l-k].length=Math.min(n,c-e));for(l=0;l<t;l++)d=a[l],h=d.gs$cell.row-1,v=d.gs$cell.col-1,v>=k&&v<=g&&h>=e&&h<=c&&(f[v-k][h-e]=d.content.$t);m(f,function(a){for(l=0;l<a.length;l++)void 0===a[l]&&(a[l]=null)});b.dataFound()}})},trim:function(b,a){"string"===typeof b&&(b=b.replace(/^\s+|\s+$/g,""),a&&/^[0-9\s]+$/.test(b)&&(b=b.replace(/\s/g,"")),this.decimalRegex&&(b=b.replace(this.decimalRegex,"$1.$2")));return b},parseTypes:function(){for(var b=
this.columns,a=b.length;a--;)this.parseColumn(b[a],a)},parseColumn:function(b,a){var d=this.rawColumns,f=this.columns,e=b.length,c,k,g,h,n=this.firstRowAsNames,m=-1!==w(a,this.valueCount.xColumns),r=[],p=this.chartOptions,q,u=(this.options.columnTypes||[])[a],p=m&&(p&&p.xAxis&&"category"===A(p.xAxis)[0].type||"string"===u);for(d[a]||(d[a]=[]);e--;)c=r[e]||b[e],g=this.trim(c),h=this.trim(c,!0),k=parseFloat(h),void 0===d[a][e]&&(d[a][e]=g),p||0===e&&n?b[e]=g:+h===k?(b[e]=k,31536E6<k&&"float"!==u?b.isDatetime=
!0:b.isNumeric=!0,void 0!==b[e+1]&&(q=k>b[e+1])):(k=this.parseDate(c),m&&x(k)&&"float"!==u?(r[e]=c,b[e]=k,b.isDatetime=!0,void 0!==b[e+1]&&(c=k>b[e+1],c!==q&&void 0!==q&&(this.alternativeFormat?(this.dateFormat=this.alternativeFormat,e=b.length,this.alternativeFormat=this.dateFormats[this.dateFormat].alternative):b.unsorted=!0),q=c)):(b[e]=""===g?null:g,0!==e&&(b.isDatetime||b.isNumeric)&&(b.mixed=!0)));m&&b.mixed&&(f[a]=d[a]);if(m&&q&&this.options.sort)for(a=0;a<f.length;a++)f[a].reverse(),n&&f[a].unshift(f[a].pop())},
dateFormats:{"YYYY-mm-dd":{regex:/^([0-9]{4})[\-\/\.]([0-9]{2})[\-\/\.]([0-9]{2})$/,parser:function(b){return Date.UTC(+b[1],b[2]-1,+b[3])}},"dd/mm/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(b){return Date.UTC(+b[3],b[2]-1,+b[1])},alternative:"mm/dd/YYYY"},"mm/dd/YYYY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{4})$/,parser:function(b){return Date.UTC(+b[3],b[1]-1,+b[2])}},"dd/mm/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,
parser:function(b){return Date.UTC(+b[3]+2E3,b[2]-1,+b[1])},alternative:"mm/dd/YY"},"mm/dd/YY":{regex:/^([0-9]{1,2})[\-\/\.]([0-9]{1,2})[\-\/\.]([0-9]{2})$/,parser:function(b){return Date.UTC(+b[3]+2E3,b[1]-1,+b[2])}}},parseDate:function(b){var a=this.options.parseDate,d,f,e=this.options.dateFormat||this.dateFormat,c;if(a)d=a(b);else if("string"===typeof b){if(e)a=this.dateFormats[e],(c=b.match(a.regex))&&(d=a.parser(c));else for(f in this.dateFormats)if(a=this.dateFormats[f],c=b.match(a.regex)){this.dateFormat=
f;this.alternativeFormat=a.alternative;d=a.parser(c);break}c||(c=Date.parse(b),"object"===typeof c&&null!==c&&c.getTime?d=c.getTime()-6E4*c.getTimezoneOffset():x(c)&&(d=c-6E4*(new Date(c)).getTimezoneOffset()))}return d},rowsToColumns:function(b){var a,d,f,e,c;if(b)for(c=[],d=b.length,a=0;a<d;a++)for(e=b[a].length,f=0;f<e;f++)c[f]||(c[f]=[]),c[f][a]=b[a][f];return c},parsed:function(){if(this.options.parsed)return this.options.parsed.call(this,this.columns)},getFreeIndexes:function(b,a){var d,f=[],
e=[],c;for(d=0;d<b;d+=1)f.push(!0);for(b=0;b<a.length;b+=1)for(c=a[b].getReferencedColumnIndexes(),d=0;d<c.length;d+=1)f[c[d]]=!1;for(d=0;d<f.length;d+=1)f[d]&&e.push(d);return e},complete:function(){var b=this.columns,a,d=this.options,f,e,c,k,g=[],h;if(d.complete||d.afterComplete){for(c=0;c<b.length;c++)this.firstRowAsNames&&(b[c].name=b[c].shift());f=[];e=this.getFreeIndexes(b.length,this.valueCount.seriesBuilders);for(c=0;c<this.valueCount.seriesBuilders.length;c++)h=this.valueCount.seriesBuilders[c],
h.populateColumns(e)&&g.push(h);for(;0<e.length;){h=new n;h.addColumnReader(0,"x");c=w(0,e);-1!==c&&e.splice(c,1);for(c=0;c<this.valueCount.global;c++)h.addColumnReader(void 0,this.valueCount.globalPointArrayMap[c]);h.populateColumns(e)&&g.push(h)}0<g.length&&0<g[0].readers.length&&(h=b[g[0].readers[0].columnIndex],void 0!==h&&(h.isDatetime?a="datetime":h.isNumeric||(a="category")));if("category"===a)for(c=0;c<g.length;c++)for(h=g[c],e=0;e<h.readers.length;e++)"x"===h.readers[e].configName&&(h.readers[e].configName=
"name");for(c=0;c<g.length;c++){h=g[c];e=[];for(k=0;k<b[0].length;k++)e[k]=h.read(b,k);f[c]={data:e};h.name&&(f[c].name=h.name);"category"===a&&(f[c].turboThreshold=0)}b={series:f};a&&(b.xAxis={type:a},"category"===a&&(b.xAxis.uniqueNames=!1));d.complete&&d.complete(b);d.afterComplete&&d.afterComplete(b)}}});g.Data=u;g.data=function(b,a){return new u(b,a)};g.wrap(g.Chart.prototype,"init",function(b,a,d){var f=this;a&&a.data?g.data(g.extend(a.data,{afterComplete:function(e){var c,k;if(a.hasOwnProperty("series"))if("object"===
typeof a.series)for(c=Math.max(a.series.length,e.series.length);c--;)k=a.series[c]||{},a.series[c]=g.merge(k,e.series[c]);else delete a.series;a=g.merge(e,a);b.call(f,a,d)}}),a):b.call(f,a,d)});n=function(){this.readers=[];this.pointIsArray=!0};n.prototype.populateColumns=function(b){var a=!0;m(this.readers,function(a){void 0===a.columnIndex&&(a.columnIndex=b.shift())});m(this.readers,function(b){void 0===b.columnIndex&&(a=!1)});return a};n.prototype.read=function(b,a){var d=this.pointIsArray,f=d?
[]:{},e;m(this.readers,function(c){var e=b[c.columnIndex][a];d?f.push(e):f[c.configName]=e});void 0===this.name&&2<=this.readers.length&&(e=this.getReferencedColumnIndexes(),2<=e.length&&(e.shift(),e.sort(),this.name=b[e.shift()].name));return f};n.prototype.addColumnReader=function(b,a){this.readers.push({columnIndex:b,configName:a});"x"!==a&&"y"!==a&&void 0!==a&&(this.pointIsArray=!1)};n.prototype.getReferencedColumnIndexes=function(){var b,a=[],d;for(b=0;b<this.readers.length;b+=1)d=this.readers[b],
void 0!==d.columnIndex&&a.push(d.columnIndex);return a};n.prototype.hasReader=function(b){var a,d;for(a=0;a<this.readers.length;a+=1)if(d=this.readers[a],d.configName===b)return!0}})(p)});
@@ -0,0 +1,26 @@
/*
Highcharts JS v5.0.7 (2017-01-17)
Exporting module
(c) 2010-2016 Torstein Honsi
License: www.highcharts.com/license
*/
(function(h){"object"===typeof module&&module.exports?module.exports=h:h(Highcharts)})(function(h){(function(f){var h=f.defaultOptions,n=f.doc,A=f.Chart,u=f.addEvent,F=f.removeEvent,D=f.fireEvent,q=f.createElement,B=f.discardElement,v=f.css,p=f.merge,C=f.pick,k=f.each,r=f.extend,G=f.isTouchDevice,E=f.win,H=f.Renderer.prototype.symbols;r(h.lang,{printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",
contextButtonTitle:"Chart context menu"});h.navigation={buttonOptions:{theme:{},symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24}};p(!0,h.navigation,{menuStyle:{border:"1px solid #999999",background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",background:"none",color:"#333333",fontSize:G?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"},buttonOptions:{symbolFill:"#666666",
symbolStroke:"#666666",symbolStrokeWidth:3,theme:{fill:"#ffffff",stroke:"none",padding:5}}});h.exporting={type:"image/png",url:"https://export.highcharts.com/",printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",_titleKey:"contextButtonTitle",menuItems:[{textKey:"printChart",onclick:function(){this.print()}},{separator:!0},{textKey:"downloadPNG",onclick:function(){this.exportChart()}},{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},
{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}]}}};f.post=function(a,c,e){var b;a=q("form",p({method:"post",action:a,enctype:"multipart/form-data"},e),{display:"none"},n.body);for(b in c)q("input",{type:"hidden",name:b,value:c[b]},null,a);a.submit();B(a)};r(A.prototype,{sanitizeSVG:function(a,c){if(c&&c.exporting&&c.exporting.allowHTML){var e=a.match(/<\/svg>(.*?$)/);e&&(e=
'\x3cforeignObject x\x3d"0" y\x3d"0" width\x3d"'+c.chart.width+'" height\x3d"'+c.chart.height+'"\x3e\x3cbody xmlns\x3d"http://www.w3.org/1999/xhtml"\x3e'+e[1]+"\x3c/body\x3e\x3c/foreignObject\x3e",a=a.replace("\x3c/svg\x3e",e+"\x3c/svg\x3e"))}a=a.replace(/zIndex="[^"]+"/g,"").replace(/isShadow="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|&quot;)(\S+)("|&quot;)\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'\x3csvg xmlns:xlink\x3d"http://www.w3.org/1999/xlink" ').replace(/ (NS[0-9]+\:)?href=/g,
" xlink:href\x3d").replace(/\n/," ").replace(/<\/svg>.*?$/,"\x3c/svg\x3e").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1\x3d"rgb($2)" $1-opacity\x3d"$3"').replace(/&nbsp;/g,"\u00a0").replace(/&shy;/g,"\u00ad");return a=a.replace(/<IMG /g,"\x3cimage ").replace(/<(\/?)TITLE>/g,"\x3c$1title\x3e").replace(/height=([^" ]+)/g,'height\x3d"$1"').replace(/width=([^" ]+)/g,'width\x3d"$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href\x3d"$1"/\x3e').replace(/ id=([^" >]+)/g,' id\x3d"$1"').replace(/class=([^" >]+)/g,
'class\x3d"$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(a){return a.toLowerCase()})},getChartHTML:function(){return this.container.innerHTML},getSVG:function(a){var c,e,b,w,m,g=p(this.options,a);n.createElementNS||(n.createElementNS=function(a,c){return n.createElement(c)});e=q("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},n.body);b=this.renderTo.style.width;m=this.renderTo.style.height;
b=g.exporting.sourceWidth||g.chart.width||/px$/.test(b)&&parseInt(b,10)||600;m=g.exporting.sourceHeight||g.chart.height||/px$/.test(m)&&parseInt(m,10)||400;r(g.chart,{animation:!1,renderTo:e,forExport:!0,renderer:"SVGRenderer",width:b,height:m});g.exporting.enabled=!1;delete g.data;g.series=[];k(this.series,function(a){w=p(a.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:a.visible});w.isInternal||g.series.push(w)});k(this.axes,function(a){a.userOptions.internalKey=f.uniqueKey()});
c=new f.Chart(g,this.callback);a&&k(["xAxis","yAxis","series"],function(b){var d={};a[b]&&(d[b]=a[b],c.update(d))});k(this.axes,function(a){var b=f.find(c.axes,function(b){return b.options.internalKey===a.userOptions.internalKey}),d=a.getExtremes(),e=d.userMin,d=d.userMax;!b||void 0===e&&void 0===d||b.setExtremes(e,d,!0,!1)});b=c.getChartHTML();b=this.sanitizeSVG(b,g);g=null;c.destroy();B(e);return b},getSVGForExport:function(a,c){var e=this.options.exporting;return this.getSVG(p({chart:{borderRadius:0}},
e.chartOptions,c,{exporting:{sourceWidth:a&&a.sourceWidth||e.sourceWidth,sourceHeight:a&&a.sourceHeight||e.sourceHeight}}))},exportChart:function(a,c){c=this.getSVGForExport(a,c);a=p(this.options.exporting,a);f.post(a.url,{filename:a.filename||"chart",type:a.type,width:a.width||0,scale:a.scale,svg:c},a.formAttributes)},print:function(){var a=this,c=a.container,e=[],b=c.parentNode,f=n.body,m=f.childNodes,g=a.options.exporting.printMaxWidth,d,t;if(!a.isPrinting){a.isPrinting=!0;a.pointer.reset(null,
0);D(a,"beforePrint");if(t=g&&a.chartWidth>g)d=[a.options.chart.width,void 0,!1],a.setSize(g,void 0,!1);k(m,function(a,b){1===a.nodeType&&(e[b]=a.style.display,a.style.display="none")});f.appendChild(c);E.focus();E.print();setTimeout(function(){b.appendChild(c);k(m,function(a,b){1===a.nodeType&&(a.style.display=e[b])});a.isPrinting=!1;t&&a.setSize.apply(a,d);D(a,"afterPrint")},1E3)}},contextMenu:function(a,c,e,b,f,m,g){var d=this,t=d.options.navigation,w=d.chartWidth,h=d.chartHeight,p="cache-"+a,
l=d[p],x=Math.max(f,m),y,z;l||(d[p]=l=q("div",{className:a},{position:"absolute",zIndex:1E3,padding:x+"px"},d.container),y=q("div",{className:"highcharts-menu"},null,l),v(y,r({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},t.menuStyle)),z=function(){v(l,{display:"none"});g&&g.setState(0);d.openMenu=!1},u(l,"mouseleave",function(){l.hideTimer=setTimeout(z,500)}),u(l,"mouseenter",function(){clearTimeout(l.hideTimer)}),p=u(n,"mouseup",function(b){d.pointer.inClass(b.target,
a)||z()}),u(d,"destroy",p),k(c,function(a){if(a){var b;a.separator?b=q("hr",null,null,y):(b=q("div",{className:"highcharts-menu-item",onclick:function(b){b&&b.stopPropagation();z();a.onclick&&a.onclick.apply(d,arguments)},innerHTML:a.text||d.options.lang[a.textKey]},null,y),b.onmouseover=function(){v(this,t.menuItemHoverStyle)},b.onmouseout=function(){v(this,t.menuItemStyle)},v(b,r({cursor:"pointer"},t.menuItemStyle)));d.exportDivElements.push(b)}}),d.exportDivElements.push(y,l),d.exportMenuWidth=
l.offsetWidth,d.exportMenuHeight=l.offsetHeight);c={display:"block"};e+d.exportMenuWidth>w?c.right=w-e-f-x+"px":c.left=e-x+"px";b+m+d.exportMenuHeight>h&&"top"!==g.alignOptions.verticalAlign?c.bottom=h-b-x+"px":c.top=b+m-x+"px";v(l,c);d.openMenu=!0},addButton:function(a){var c=this,e=c.renderer,b=p(c.options.navigation.buttonOptions,a),f=b.onclick,m=b.menuItems,g,d,h=b.symbolSize||12;c.btnCount||(c.btnCount=0);c.exportDivElements||(c.exportDivElements=[],c.exportSVGElements=[]);if(!1!==b.enabled){var k=
b.theme,n=k.states,q=n&&n.hover,n=n&&n.select,l;delete k.states;f?l=function(a){a.stopPropagation();f.call(c,a)}:m&&(l=function(){c.contextMenu(d.menuClassName,m,d.translateX,d.translateY,d.width,d.height,d);d.setState(2)});b.text&&b.symbol?k.paddingLeft=C(k.paddingLeft,25):b.text||r(k,{width:b.width,height:b.height,padding:0});d=e.button(b.text,0,0,l,k,q,n).addClass(a.className).attr({"stroke-linecap":"round",title:c.options.lang[b._titleKey],zIndex:3});d.menuClassName=a.menuClassName||"highcharts-menu-"+
c.btnCount++;b.symbol&&(g=e.symbol(b.symbol,b.symbolX-h/2,b.symbolY-h/2,h,h).addClass("highcharts-button-symbol").attr({zIndex:1}).add(d),g.attr({stroke:b.symbolStroke,fill:b.symbolFill,"stroke-width":b.symbolStrokeWidth||1}));d.add().align(r(b,{width:d.width,x:C(b.x,c.buttonOffset)}),!0,"spacingBox");c.buttonOffset+=(d.width+b.buttonSpacing)*("right"===b.align?-1:1);c.exportSVGElements.push(d,g)}},destroyExport:function(a){var c=a?a.target:this;a=c.exportSVGElements;var e=c.exportDivElements;a&&
(k(a,function(a,e){a&&(a.onclick=a.ontouchstart=null,c.exportSVGElements[e]=a.destroy())}),a.length=0);e&&(k(e,function(a,e){clearTimeout(a.hideTimer);F(a,"mouseleave");c.exportDivElements[e]=a.onmouseout=a.onmouseover=a.ontouchstart=a.onclick=null;B(a)}),e.length=0)}});H.menu=function(a,c,e,b){return["M",a,c+2.5,"L",a+e,c+2.5,"M",a,c+b/2+.5,"L",a+e,c+b/2+.5,"M",a,c+b-1.5,"L",a+e,c+b-1.5]};A.prototype.renderExporting=function(){var a,c=this.options.exporting,e=c.buttons,b=this.isDirtyExporting||!this.exportSVGElements;
this.buttonOffset=0;this.isDirtyExporting&&this.destroyExport();if(b&&!1!==c.enabled){for(a in e)this.addButton(e[a]);this.isDirtyExporting=!1}u(this,"destroy",this.destroyExport)};A.prototype.callbacks.push(function(a){a.renderExporting();u(a,"redraw",a.renderExporting);k(["exporting","navigation"],function(c){a[c]={update:function(e,b){a.isDirtyExporting=!0;p(!0,a.options[c],e);C(b,!0)&&a.redraw()}}})})})(h)});
@@ -0,0 +1,92 @@
/**
* Highcharts-zh_CN plugins v1.0.0 (2017-02-22)
*
* (c) 2017 Jianshu Technology CO.,LTD (https://jianshukeji.com)
*
* Author : John@jianshukeji.com, Blue Monkey
*
* License: Creative Commons Attribution (CC)
*/
(function(H) {
var protocol = window.location.protocol;
var defaultOptionsZhCn = {
lang: {
// Highcharts
contextButtonTitle: '图表导出菜单',
decimalPoint: '.',
downloadJPEG: "下载JPEG图片",
downloadPDF: "下载PDF文件",
downloadPNG: "下载PNG文件",
downloadSVG: "下载SVG文件",
drillUpText: "返回 {series.name}",
invalidDate: '无效的时间',
loading: '加载中...',
months: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
noData: "没有数据",
numericSymbols: null,
printChart: "打印图表",
resetZoom: '重置缩放比例',
resetZoomTitle: '重置为原始大小',
shortMonths: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
thousandsSep: ',',
weekdays: ['星期一', '星期二', '星期三', '星期四', '星期五', '星期六', '星期天'],
// Highstock
rangeSelectorFrom: '开始时间',
rangeSelectorTo: '结束时间',
rangeSelectorZoom: '缩放',
// Highmaps
zoomIn: '缩小',
zoomOut: '放大'
},
global: {
useUTC: true,
//timezoneOffset: -8 * 60,
canvasToolsURL: protocol + '//cdn.hcharts.cn/highcharts/modules/canvas-tools.js',
VMLRadialGradientURL: protocol + +'//cdn.hcharts.cn/highcharts/gfx/vml-radial-gradient.png'
},
title: {
text: '图表标题'
},
tooltip: {
dateTimeLabelFormats: {
millisecond: '%H:%M:%S.%L',
second: '%H:%M:%S',
minute: '%H:%M',
hour: '%H:%M',
day: '%Y-%m-%d',
week: '%Y-%m-%d',
month: '%Y-%m',
year: '%Y'
}
},
exporting: {
url: protocol + '//export.highcharts.com.cn'
},
credits: {
text: 'Highcharts',
href: 'https://highcharts.com.cn',
},
xAxis: {
dateTimeLabelFormats: {
millisecond: '%H:%M:%S.%L',
second: '%H:%M:%S',
minute: '%H:%M',
hour: '%H:%M',
day: '%Y-%m-%d',
week: '%Y-%m-%d',
month: '%Y-%m',
year: '%Y'
}
}
};
H.setOptions(defaultOptionsZhCn);
}(Highcharts));
File diff suppressed because it is too large Load Diff
+39
View File
@@ -0,0 +1,39 @@
.reg-box{width:100%; height:100%; background: url(../../ztmpl/zhiqim_manager/index_bg_00.jpg) no-repeat top center;background-size:auto 100%;}
a,a:visited{color:#333;text-decoration:none;cursor:pointer;}
a:active,a:hover{color:#1e7eec;text-decoration:none;}
.clear:after{content:'';display:block;clear:both;height:0;overflow:hidden;visibility:hidden;}
.clear{zoom:1;}
/****注册 ****/
.header{width:100%;background:rgba(255,255,255,.3); filter:alpha(opacity=30); height:40px; line-height:40px; padding:0 0 0 10px; color:#fff; font-size:14px;}
.reg-footer{position:fixed;bottom:0px; width:100%;height:40px;background:rgba(255,255,255,0.2);line-height:40px;text-align:center;color:#fff;}
.reg-login{width:825px; background:rgba(255,255,255,.3); filter:alpha(opacity=30); border-radius:12px; position: absolute; right:7%; top:50%; margin:-260px 0 0 0;}
.p-login{ margin:-210px 0 0 0;}
input{background:#fff;color:#86BFE9; width:300px; font-size:14px;border:1px solid #3b8edc;border-radius:5px;height:45px;line-height:45px;text-indent:10px;}
.design-logo{float:left; padding:170px 40px 0 40px;}
.p-int{ padding:120px 40px 0 40px;}
input::-webkit-input-placeholder{color:#86BFE9;}
.input-code{ width:192px;}
.reg-h{ font-size:20px; color:#fff; padding:0 0 10px 0;}
.reg{ float:left; width:450px; border-left:1px solid #fff; padding:0 0 0 50px; margin:30px 0;}
.reg-list{ float:left; margin:20px 0 0 0; width:100%;}
.reg-list button{ width:100px; float:right; margin:0 12px 0 0; background:#427ae1; border:none; line-height:42px; border-radius:5px; color:#fff; font-size:14px;}
.reg-list span{ width:86px; float:left; color:#fff; font-size:14px; line-height:45px;}
.reg-btn{ float:left; background:#427ae1; color:#fff; width:180px; line-height:40px; margin:10px 0 0 110px; border:none; border-radius:5px; font-size:14px;}
.p-btn{ margin:30px 0 0 110px;}
.agree-popup{position: fixed; top:50%; left:50%; width:60%; height:600px; margin:-300px 0 0 -30%; background:#fff; display:none; }
.agree-title{ font-size:16px; line-height:48px; border-bottom:1px solid #dfdfdf; color:#666; padding:0 0 0 20px;}
.agree-content{ overflow-y:scroll; height:552px;}
.agree-title span{float:right; line-height:44px; padding:0 20px; font-size:20px; color:#999; cursor:pointer;}
.z-checkbox{ border:2px solid #fff; border-radius:16px; width:18px; height:18px; }
.z-checkbox:hover{ border:2px solid #2fb6d4!important;}
.z-checkbox.z-active{ background-color:#2fb6d4!important; border:#2fb6d4!important; background-position: 0 -191px;}
.reg-check{ text-align:center; font-size:14px; line-height:40px; float:left; width:100%; margin:20px 0 0 0; color:#fff;}
.reg-check a{color:#2fb6d4;}
.reg-title{ font-size:14px; color:#fff; position: absolute; top:34px; right:30px;}
.reg-title a{color:#ffd200;}
.agree-content{padding:20px;}
.agree-content h2{font-size:18px;}
.agree-content p{ font-size:14px; color:#666; line-height:36px;}
@@ -0,0 +1,124 @@
/*瀑布*/
.srcFileList{
/*
-moz-column-count:5;
-webkit-column-count:5;
column-count:5;
-moz-column-gap: 1em;
-webkit-column-gap: 1em;
column-gap: 1em;
*/
overflow:hidden;
}
.srcFileList:before,.srcFileList:after{content:"";display:table;}
.srcFileList:after{clear:both;}
/*一个内容层*/
.item{
padding: 1em;
position:relative;
/*
-moz-page-break-inside: avoid;
-webkit-column-break-inside: avoid;
break-inside: avoid;
*/
width:20%;
float:left;
overflow:hidden;
}
.item>div{
padding: 10px;
background-color: #fff;
width:100%;
height:100%;
overflow:hidden;
position:relative;
}
.item>div:hover{
-webkit-box-shadow: #666 0px 0px 10px;
-moz-box-shadow: #666 0px 0px 10px;
box-shadow: #666 0px 0px 10px;
behavior: url(/PIE.htc);
}
.item>div>img{
width: 100%;
}
.z-tabnav-main>nav span.z-cover{height:35px;line-height:1;}
.z-tabnav-main>nav span.z-cover li{height:auto;}
/** 申请精品 **/
.applyEssenceBtn{width:40px;height:130px;right:20px;top:50%;margin-top:-50px;font-size:16px;text-align:center;line-height:20px;background:#1299ec;color:#fff;box-shadow:0 0 10px 0 rgba(0,0,0,.3);border-radius:5px;cursor:pointer;z-index:999;overflow:hidden;}
.applyEssenceBtn:hover{background:#28a3ef}
.applyEssenceBtn>span{display:block;}
.applyEssenceBtn>span{padding:12px 10px 18px;}
.applyEssenceBtn>span:last-child:hover{background:#0b85d0}
.applyEssenceBtn>span:first-child,.applyEssenceBtn.active>span:last-child{display:block;}
.applyEssenceBtn>span:last-child,.applyEssenceBtn.active>span:first-child{display:none;}
.item>.checkBox{display:none;left:0;top:0;background:rgba(255,255,255,.8);background-clip:content-box;padding:1em;}
/**
.item.selectedItem>.checkBox{display:block;}
.item.selectedItem>.checkBox::before{content:"\f00d";font-family:"z-font" !important;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:0.2px;-moz-osx-font-smoothing:grayscale;
font-size:30px;position: absolute;left:50%;top:50%;width:30px;height:16px;margin-top:-8px;margin-left:-15px;color:#006400;}
**/
.item>.checkBox>input{visibility: hidden;}
/** 悬浮操作按钮 **/
.item>div.z-bg-white.z-pointer:hover .itemCtrBar{display:block;}
.itemCtrBar{top:0;right:0;bottom:0;left:0;padding:10px;display:none;background:rgba(0,0,0,.3);background-origin:content-box;background-clip:content-box;pointer-events:none;}
.itemCtrBar>button,.itemCtrBar>.itemCtrBar-item{pointer-events:auto;}
.itemCtrBar>.itemCtrBar-item{width:30px;height:30px;margin:15px;text-align:center;line-height:26px;border-radius:50%;background:#fff;opacity:.9;}
.itemCtrBar>.itemCtrBar-item-delete,.selectedItem .itemCtrBar>.itemCtrBar-item-success{display:none;}
.selectedItem .itemCtrBar>.itemCtrBar-item-delete{display:block;}
.selectedItemBar{content:"精品";border-color:transparent transparent #f55 #f55;}
/** 显示 **/
.allItem-info::before{position:absolute;font-size:12px;white-space:nowrap;color:#fff;text-indent:-20px;line-height:15px;bottom:0;border-width:16px 22px;border-style:solid;width:0;height:0;}
.allItem-info{width:100%;height:32px;line-height:35px;left:0;bottom:0;color:#fff;background:rgba(0,0,0,.3);text-indent:35px}
/** 精品显示 **/
.bestItem .allItem-info::before{content:"精品";left:0;border-color:transparent transparent #f55 #f55}
/** 模板显示 **/
.modelItem .allItem-info::before{content:"模板";left:0;border-color:transparent transparent #00a2eb #00a2eb;}
/** 订单显示 **/
.orderItem .allItem-info::before{content:"定稿";left:0;border-color:transparent transparent #9e70ca #9e70ca;}
/** 临时显示 **/
.temporaryItem .allItem-info::before{content:"临时";left:0;border-color:transparent transparent #fb53cf #fb53cf;}
/**我的显示**/
.myItem .allItem-info::before{content:"我的";left:0;border-color:transparent transparent #fb53cf #fb53cf;}
/** 已选显示 **/
.selectedItemBar{right:0;top:0;text-indent:-4px;line-height:15px;border-color:#008b8b #008b8b transparent transparent;display:none;}
.selectedItemBar::before{content:"已选";position:relative;top:-14px;}
.selectedItem .selectedItemBar{display:block;}
/** 浮动选择框 **/
.fixedDialog{transition:right .6s;}
.fixedDialog.z-active{right:0 !important;}
.fixedDialog-title{width:36px;padding:10px 3px;font-size:16px;color:#fff;background-clip:padding-box;cursor:pointer;text-align:center;border-top-left-radius:5px;border-bottom-left-radius:5px;border-width:5px 0 5px 5px;border-style:solid;border-color:rgba(0,0,0,.1);}
.fixedDialog-content{height:100%;position:relative;background:#fff;border:1px solid #ccc;}
.fixedDialog-content ul{width:100%;height:100%;}
.fixedDialog-confirm{width:100%;position:absolute;bottom:8px;text-align:center;}
.fixedDialog-hiddenBtn{bottom:0;background:#ccc;width:36px;padding:5px 0;text-align:center;color:#fff;cursor:pointer;}
#fixedDialog_1{height:400px;right:-210px;bottom:100px;}
#fixedDialog_content_1{width:220px;padding:5px 5px 45px 5px;}
#fixedDialog_content_1 li{float:left;position:relative;width:50%;height:25%;padding:10px;text-align:center;border:1px solid #f5f5f5;}
#fixedDialog_content_1 li::before{content:"";display:inline-block;width:0;height:100%;vertical-align:middle;}
#fixedDialog_content_1 li>img{}
#fixedDialog_content_1 li>.z-delete{position:absolute;width:100%;height:100%;left:0;top:0;padding-top:35px;background:rgba(255,255,255,.5);cursor:pointer;text-align:center;font-size:25px;display:none;}
#fixedDialog_content_1 li.z-active:hover>.z-delete{display:block;}
/** 浮动框订单信息 **/
#fixedDialog_2{height:200px;right:-400px;bottom:630px;}
#fixedDialog_content_2{width:410px;padding:10px;}
#fixedDialog_content_2>ul{overflow:auto;}
#fixedDialog_content_2 li{line-height:20px;padding:3px 2px;border-bottom:1px solid #f5f5f5;}
+104
View File
@@ -0,0 +1,104 @@
.bos{
width: 478px;
height: 125px;
float: left;
position: relative;
border: 1px solid #dcdcdc;
border-radius: 2px;
color: #666;
background-color: #f6f6f6;
margin-bottom: 15px;
}
.bos_son span{
display:inline-block
}
.bos_two{
width: 478px;
height: 680px;
}
.bos_two_one{
width: 100%;
height: 155px;
margin-bottom: 20px;
}
.my-textarea{
width: 100%;
height: 100%;
}
.text{
margin-bottom: 10px;
padding-left: 5px;
}
.my_text{
display: inline-block;
}
.btn{
display: inline-block;
margin-left: 242px;
}
.my_bos_two_one{
margin-top: 35px;
}
.my_btn{
position: absolute;
top: 45%;
left: 30.5%;
line-height: 24px;
font-size: 16px;
}
.boxs{
float: left;
width: 515px;
}
.boxs_two{
float: right;
/*margin-left: 100px;*/
width: 1048px;
position: absolute;
top: 20px;
right: 65px;
}
.boxs_two ul li{
width:159px;
height:100%;
text-align: center;
line-height: 45px !important;
}
.boxs_sons{
width: 100%;
height:100%;
border-radius: 2px;
color: #666;
/* border: 1px solid #dcdcdc;*/
border: none;
background-color: #ffffff
}
.my_z-float-right{
width: 116px;
height: 48px !important;
}
.mystyle{
height: 100% !important;
margin-bottom: 6px;
}
.mystyle_svg{
/* height:945px;*/
width: 100%;
height:100%;
}
.boxs_svg{
width:1050px;
height:950px;
}
.mybtn_style_one{
position: absolute;
top:5px;
right:10px;
}
.mybtn_style_two{
position: absolute;
top:5px;
right:115px;
}
+46
View File
@@ -0,0 +1,46 @@
.min-width{min-width:450px;}
.main{position: relative;}
.main .box{padding: 10px 0 0 10px; float: left;}
.main .box .pic{padding: 5px; border: 1px solid #CCCCCC;border-radius: 5px; box-shadow: 0 0 5px #ccc;cursor:pointer}
.main .box .pic >img{width: 150px; height: auto;}
.main .box .pic .cont{width: 150px; height: auto; word-wrap:break-word;}
.main .box .pic .z-content{width:auto !important;}
/*列表*/
.list-file{overflow:hidden;}
.list-file:before,.list-file:after{content:"";display:table;}
.list-file:after{clear:both;}
/*内容项*/
.list-file .item{
padding: 5px;
position:relative;
width:33.3%;
float:left;
overflow:hidden;
}
.list-file .item>div{
padding: 3px;
background-color: #fff;
width:100%;
height:100%;
overflow:hidden;
position:relative;
border: 1px solid #CCCCCC;
border-radius: 5px;
box-shadow: 0 0 5px #ccc;
cursor:pointer;
}
.list-file .item>div:hover{
-webkit-box-shadow: #666 0px 0px 10px;
-moz-box-shadow: #666 0px 0px 10px;
box-shadow: #666 0px 0px 10px;
behavior: url(/PIE.htc);
}
.list-file .item>div>img{width: 100%;}
.list-file .z-content{width:auto !important;}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,112 @@
/**************************************************************************************/
/* 布局(全局、导航、脚注) */
/**************************************************************************************/
/** [全局定义] */
html{overflow-x:auto;}
body{background:#f5f5f5;}
body,table,td,div{font-size:14px;line-height:120%;}
a,a:visited{color:#333;text-decoration:none;cursor:pointer;}
a:active,a:hover{color:#2173b2;text-decoration:none;}
/* [主导航] */
.mainnav{position:fixed;top:0px;width:100%;height:76px;border-bottom:1px solid #dadada;background-color:#fff;z-index:9999;}
.mainnav .mainnav-wrap{margin:0px auto;max-width:1200px;min-width:1000px;height:75px;}
.mainnav .logo{float:left;width:290px;margin-top:8px;}
.mainnav .logo-text{float:right;font-size:18px;font-weight:bold;line-height:58px;}
.mainnav .menu{float:left; font-size:16px;height:75px;text-align:center;margin:10px 5px 0px 30px;}
.mainnav .menu li{float:left; width:80px; line-height:30px; margin:12px 10px;}
.mainnav .menu li:hover{border-bottom:2px solid #4bacc6;color:#4bacc6;cursor:pointer;}
.mainnav .menu li.active{border-bottom:2px solid #4bacc6;color:#4bacc6;}
@media screen and (max-width: 1071px) {
.mainnav .menu li{margin:12px 5px;}
}
.mainnav .help{float:right;line-height:75px;color:#2173b2;}
.mainnav .help a{background-color:#a4132a; color:#ffffff;font-size:16px;border-radius:20px; padding:6px 15px;margin-left:15px;}
/* [导航固定96px] */
.navmargin{position:relative;width:100%;height:96px;}
.scrolltotop{position:fixed;right:20px;bottom:20px;display:none;z-index:99999;border:1px solid #d3d3d3;padding:10px;cursor:pointer;}
.scrolltotop:hover{background-color:#333;}
/* [脚注] */
.footer {position:relative;width:100%;min-width:1200px;z-index:0;display:block;border-top:1px solid #e6e6e6;overflow:hidden;background:#fff;}
.footer-wrap {margin:10px auto;height:160px;width:1200px;text-align:center;color:#333;font-size:14px;}
.footer li {float:left;height:130px;margin:10px 20px 10px 0;text-align:left;line-height:30px;color:#888;}
.footer li a {margin:10px;color:#888;}
.footer li a:hover {color:#4bacc6;}
.footer li.fproduct{width:180px;margin-left:30px;}
.footer li.fhelp{width:222px;}
.footer li.fabout{width:190px;}
.footer li.abountus {width:300px;}
.footer li.fproduct,.footer li.fhelp,.footer li.fabout{border-right:1px dashed #ccc;}
@media screen and (max-width: 1071px) {
.footer li.fproduct{width:140px;}
.footer li.fhelp{width:180px;}
.footer li.fabout{width:150px;}
.footer li.abountus {width:280px;}
}
.footer-cp {position:relative;width:100%;min-width:1200px;height:85px;line-height:85px;background-color:#eee;overflow:hidden;}
.footer-cp-wrap{position:relative;margin:0 auto;width:1200px;height:85px;z-index:0;display:block;overflow:hidden;}
.footer-cp .footer-text{width:1200px;height:85px;line-height:85px;text-align:center;}
@media screen and (max-width: 1071px) {
.footer-cp-wrap{width:1000px;}
.footer-cp .footer-text{width:1000px;margin-left:-100px;}
}
/**************************************************************************************/
/* 容器内容 */
/**************************************************************************************/
/** [容器定义] */
.container {position:relative;margin:0 auto;padding-bottom:20px;height:auto !important;min-height:1200px;width:1200px;overflow:hidden;z-index:0;}
/* [左导航] */
.sidebar {position:relative;float:left;height:100%;padding-bottom:30px;overflow:hidden;width:220px;background:#fff;border:1px solid #e5e5e5;border-radius:3px;}
.sidebar main {position:relative;display:block;width:100%;height:98px;line-height:98px;font-size:16px;text-align:center;color:#333;cursor:pointer;border-bottom:1px solid #f5f5f5;}
.sidebar main.selected{color:#007d7e;border:1px solid #e6e6e6;background-color:#eee;}
.sidebar p{position:relative;padding:0 40px;height:40px;line-height:40px;font-size:16px;color:#333;cursor:pointer;border-bottom:1px solid #eee;}
.sidebar p .z-font{position:absolute;font-size:14px;left:15px;bottom:0;}
.sidebar ul{position:relative;height:auto;overflow:hidden;line-height:40px;background:#f9f9f9;}
.sidebar ul li{display:block;padding:0 40px;line-height:38px;cursor:pointer;font-size:14px;color:#777;border:1px solid transparent;}
.sidebar ul li:hover{color:#2173b2;text-decoration:none;}
.sidebar p.z-selected,.sidebar ul li.z-selected{color:#fff; background-color:#2173b2;}
/* [主体部分] */
.mainbody{position:relative;float:right;width:960px;background:#fff;border:1px solid #e5e5e5;border-radius:3px;}
/* [搜索框]*/
.mainsearch{text-align:center;padding:30px 10px;border-bottom:1px solid #f5f5f5;}
.mainsearch .z-input{width:600px;font-size:14px;border-color:#2173b2;}
.mainsearch .z-button{width:60px;height:38px;margin-left:-1px;font-family:"z-font";font-size:20px;background:#2173b2;border-color:#2173b2;box-shadow:none;color:#fff;}
/* [问题显示主体] */
.questionbody{padding:20px 40px 80px;}
/*文章列表*/
.article-list dd{margin:0;font-size:15px;line-height:38px;}
/*文章内容*/
.article {}
.article,.article div{line-height:30px;font-size:15px;}
.article h1{font-weight:normal;}
/* [搜索结果] */
.search-resultBar {border-bottom:1px solid #fcfcfc;}
.search-resultBar span{display:inline-block;max-width:300px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis;vertical-align:top;color:#a4132a;}
.search-resultList {}
.search-resultList dt{margin:30px 0 10px;}
.search-resultList dt a{display:inline-block;font-size:15px;color:#2173b2;line-height:30px;}
.search-resultList dt a:hover{text-decoration:underline;color:#a4132a;}
.search-resultList dd{margin:0;color:#666;line-height:20px;}
/**************************************************************************************/
/* Mobile配置 */
/**************************************************************************************/
/* [脚注]Mobile */
.m-footer {position:relative;width:100%;border-top:1px solid #e6e6e6;background-color:#eee;padding:4% 0px;}
.m-footer-wrap {width:100%;height:100%;color:#333;text-align:center;font-size:12px;height:28px;line-height:28px;}
@@ -0,0 +1,286 @@
+(function(Z)
{
//BEGIN
Z.SearchAutoList = Z.Class.newInstance();
Z.SearchAutoList.prototype =
{
defaults:
{
elem: null, //输入框/输入框盒子ID
className: null, //Ajax调用的类名
methodName: null, //Ajax调用的类方法
history: true, //历史记录显示
callback: null //选中后的回调函数
},
execute: function()
{
this.$elem = Z.$elem(this.elem, "Z.SearchAutoList");
this.id = this.$elem.attr("id") || "FSearchAutoList";
this.width = this.$elem.offsetWidth();
var height = this.$elem.offsetHeight();
var fontSize = this.$elem.css("fontSize");
this.pdLeft = this.$elem.css("paddingLeft");
this.pdRight = this.$elem.css("paddingRight");
this.lHeight = this.$elem.css("lineHeight");
this.$cover = Z.$cover(this.$elem);
this.$list = Z('<div class="z-absolute z-bg-white z-text-left z-bd z-hide"></div>')
.css({width: this.width, left: 0, top: height-1, fontSize: fontSize, zIndex: 99})
.appendTo(this.$cover);
//事件绑定
this.$elem.on("focus", this.onFocus, this);
this.$elem.on("input", this.onInput, this);
this.$elem.keydown(this.onKeyDown, this);
Z(document).click(this.onDocClick, this);
},
onFocus: function(e)
{//获取焦点事件
this.value = Z.S.trim(this.$elem.val());
if (Z.V.isEmptyBlank(this.value))
{
this.doHistoryList();
return;
}
if (this.beforeValue == this.value)
{//内容不改变
if (this.$list.html() != "")
this.$list.show();
}
else
{//内容已改变
this.beforeValue = this.value;
this.$list.show();
this.doAjax();
}
},
onInput: function(e)
{//input事件
this.value = Z.S.trim(this.$elem.val());
if (Z.V.isEmptyBlank(this.value))
{
this.doHistoryList();
return;
}
if (this.beforeValue != this.value)
{//调用查询
this.beforeValue = this.value;
this.$list.show();
this.doAjax();
}
},
//ajax调用,生成列表
doAjax: function()
{
this.ajax = new Z.Ajax();
this.ajax._this = this;
this.ajax.setClassName(this.className);
this.ajax.setMethodName(this.methodName);
this.ajax.addParam(this.value);
this.ajax.setCallback(function()
{
var _this = this._this;
var titleList = Z.J.toObject(this.responseText);
if (titleList.length == 0)
{
_this.$list.html("").hide();
return;
}
var html = '<ul>';
Z.eachof(_this, titleList, function(item){
html += '<li class="z-text-ellipsis" style="width: ' + _this.width + 'px; padding: 2px ' + _this.pdRight + ' 2px ' + _this.pdLeft +'; line-height:'+ _this.lHeight +'; cursor: pointer;">' + item + "</li>";
});
html += "</ul>";
_this.$list.html(html);
_this.lis = _this.$list.find("li");
_this.lis.click(_this.doSelect, _this);
_this.lis.mouseenter(_this.onMouseEnter, _this);
_this.lis.mouseleave(_this.onMouseLeave, _this);
});
this.ajax.execute();
},
doSelect: function(e)
{//鼠标选中
Z.E.forbidden(e);
this.beforeValue = this.value;
this.value = Z(Z.E.target(e)).text();
this.$elem.val(this.value);
this.$list.hide();
this.doAjax();
this.saveHistory(e);
this.doCallback(e);
},
onDocClick: function(e)
{//空白处点击,隐藏列表
var target = Z.E.target(e);
if (target == this.$elem[0])
return;
this.$list.hide();
if (this.beforeValue != this.value)
{//静默调用
this.beforeValue = this.value;
this.doAjax();
}
},
onKeyDown: function(e)
{//键盘 “上” “下” “回车”按键监听
var keyVal = Z.E.key(e);
if (keyVal != Z.E.KEY.UP && keyVal != Z.E.KEY.DOWN && keyVal != Z.E.KEY.ENTER)
return;
Z.E.forbidden(e);
if (this.lis)
{//有选择列表的搜索框
var liSetLength = this.lis.length;
var liActive = this.$list.find(".z-bg-gray");
var liActiveIndex = -1;
var toIndex = null;
if (liActive.length != 0)
liActiveIndex = Z.EL.parentIndex(liActive[0]);
switch (keyVal)
{
case Z.E.KEY.UP://上
toIndex = liActiveIndex - 1;
if (toIndex <= -1)
toIndex = liSetLength - 1;
break;
case Z.E.KEY.DOWN://下
toIndex = liActiveIndex + 1;
if (toIndex == liSetLength)
toIndex = 0;
break;
case Z.E.KEY.ENTER://回车选中
this.$elem[0].blur();
this.$list.hide();
this.value = Z.S.trim(this.$elem.val());
this.beforeValue = this.value;
this.doAjax();
this.saveHistory(e);
this.doCallback(e);
return;
}
toIndex++;
this.lis.removeClass("z-bg-gray");
var toLi = this.$list.find("li:nth-child(" + toIndex +")").addClass("z-bg-gray");
this.value = toLi.html();
this.$elem.val(toLi.html());
}
else if (keyVal == Z.E.KEY.ENTER)
{//直接在输入框回车搜索
this.value = Z.S.trim(this.$elem.val());
this.beforeValue = this.value;
this.doAjax();
this.saveHistory(e);
this.doCallback(e);
}
},
//选中后的回掉函数
doCallback: function(e)
{
if(!this.callback)
return;
this.callback(e);
},
//历史记录列表展示
doHistoryList: function(e)
{
if (!this.history)
return;
this.$list.html("").hide();
if (!localStorage.getItem(this.id))
return;
var htmlStr = '<ul class="z-text-gray">';
var hisArr = localStorage.getItem(this.id).split(";");
for (var i = 0;i < hisArr.length;i++)
{
htmlStr += '<li class="z-text-ellipsis" style="width: ' + this.width + 'px; padding: 2px ' + this.pdRight + ' 2px ' + this.pdLeft +'; line-height:'+ this.lHeight +'; cursor: pointer;">'
+ hisArr[i] + "</li>";
}
htmlStr += "</ul>";
Z(htmlStr).appendTo(this.$list.show());
var hisBar = '<div class="z-bg-blue z-clearfix" style="padding:0 ' + this.pdRight + ' 0 ' + this.pdLeft +';line-height:'+ this.lHeight +';cursor:default;">'
+ '<span class="z-float-right z-pointer z-deleteBtn">清空历史</span>'
+ '</div>';
Z(hisBar).appendTo(this.$list.show());
//绑定事件
this.lis = this.$list.find("li");
this.lis.click(this.doSelect,this);
this.lis.mouseenter(this.onMouseEnter,this);
this.lis.mouseleave(this.onMouseLeave,this);
//绑定删除事件
var $delBtn = this.$list.find(".z-deleteBtn");
$delBtn.click(this.emptyHistory,this);
},
emptyHistory: function(e)
{
localStorage.removeItem(this.id);
},
//输入完成,存储历史记录
saveHistory: function(e)
{
if (!this.history)
return;
var hisStr = localStorage.getItem(this.id);
if (!hisStr)
return localStorage.setItem(this.id, this.value);
var hisArr = hisStr.split(";");
hisArr.unshift(this.value);
//去重
var resultArr = [];
for(var i = 0; i < hisArr.length; i++)
{
if(!Z.AR.contains(resultArr, hisArr[i]))
resultArr.push(hisArr[i]);
}
//限制个数
if (resultArr.length > 10)
resultArr.length = 10;
hisStr = resultArr.join(";");
localStorage.setItem(this.id, hisStr);
},
//鼠标悬浮,背景颜色变化
onMouseEnter: function(e)
{
var $thisLi = Z(Z.E.target(e));
$thisLi.addClass("z-bg-gray");
},
onMouseLeave: function(e)
{
var $thisLi = Z(Z.E.target(e));
$thisLi.removeClass("z-bg-gray");
}
}
//END
})(zhiqim)
Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 419 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

@@ -0,0 +1,72 @@
+(function(Z)
{
//BEGIN
var Design = window.Design = {};
Z.onload(function()
{
})
Design.doWorksShow = function (value,urlParam)
{//展示弹窗页,全铺满
var ajax = new Z.Ajax();
ajax.setClassName("WorksPresenter");
ajax.setMethodName("doWorksBrowse");
ajax.addParam(value)
ajax.execute();
var dialog = new Z.Dialog();
dialog.shadow = true;
dialog.title = "作品详情";
dialog.fixed = true;
dialog.url = "worksShow.htm?worksId="+value;
dialog.width = Z.D.clientWidth();
dialog.height =Z.D.clientHeight()-40;
dialog.execute();
}
Design.doTemplateShow = function (value,urlParam)
{//展示弹窗页,全铺满
var keywordName = Z("#searchinput").val();
if (keywordName == null)
keywordName = "";
var ajax = new Z.Ajax();
ajax.setClassName("TemplatePresenter");
ajax.setMethodName("doTemplateBrowse");
ajax.addParam("mediaId", value)
ajax.execute();
var dialog = new Z.Dialog();
dialog.shadow = true;
dialog.title = "模板详情";
dialog.fixed = true;
dialog.url = "templateShow.htm?mediaId=" + value + "&keywordName=" + keywordName + "&urlParam=" + urlParam;
dialog.width = Z.D.clientWidth() -30;
dialog.height =Z.D.clientHeight() - 65;
dialog.execute();
}
Design.openWangWang = function(buyerNick)
{//打开旺旺
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utf-8");
};
Design.openQQ = function(userQq)
{//打开QQ
if (!Z.V.isInteger(userQq))
{
Z.alert("客户未提供QQ号,请旺旺联系");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
};
//END
})(zhiqim);
@@ -0,0 +1,88 @@
+(function(Z)
{
//BEGIN
/*****************************************************************************/
//定义设计师工作初始化
/*****************************************************************************/
//启动websocket
Z.onload(function()
{
//1.检查上下班状态
if (Z("#startWork").text() == "正在接单")
{
Z("#stopWork").click(Designer.stopWork);
}
else
{
Z("#startWork").click(Designer.startWork);
}
});
/*****************************************************************************/
//定义设计师工作对象
/*****************************************************************************/
var Designer = window.Designer = {};
Designer.startWork = function()
{//设计师开始接单
var ajax = new Z.Ajax();
ajax.setClassName("DesignerWorkPresenter");
ajax.setMethodName("startWork");
ajax.setFailureAlert();
ajax.setFailure(function(){
if(this.responseText == "1"){
Z.alert("接单前请前往个人中心完善个人简介~", function(){
Z("a[onclick*='profile.htm']").click();
});
return;
}
Z.alert(this.responseText);
})
ajax.setSuccess(function()
{
Z("#startWork").addClass("z-forbidden").addClass("z-bg-gray-deep").removeClass("z-pointer").text("正在接单");
Z("#startWork").offclick(Designer.startWork);
Z("#stopWork").addClass("z-pointer").addClass("z-bg-red-deep").removeClass("z-forbidden").removeClass("z-bg-gray-deep");
Z("#stopWork").click(Designer.stopWork);
});
ajax.execute();
};
Designer.stopWork = function()
{//设计师停止接单
//1.查询未完成订单数
var ajax = new Z.Ajax();
ajax.setSync();
ajax.setClassName("DesignerWorkPresenter");
ajax.setMethodName("getOrderNumber");
ajax.execute();
if (ajax.responseStatus != 0)
{
Z.alert("抱歉请求处理失败,请重试!");
return;
}
//2.提醒下班
var confirm = "确认现在停止接单吗?" + ((ajax.responseText != "0")?"您还有" + ajax.responseText + "个订单未完成!":"");
Z.confirm(confirm, function()
{
var _ajax = new Z.Ajax();
_ajax.setClassName("DesignerWorkPresenter");
_ajax.setMethodName("stopWork");
_ajax.setFailureAlert();
_ajax.setSuccess(function()
{
Z("#startWork").addClass("z-pointer").removeClass("z-forbidden").removeClass("z-bg-gray-deep").text("开始接单");
Z("#startWork").click(Designer.startWork);
Z("#stopWork").addClass("z-forbidden").addClass("z-bg-gray-deep").removeClass("z-pointer").removeClass("z-bg-red-deep");
Z("#stopWork").offclick(Designer.stopWork);
});
_ajax.execute();
});
};
//END
})(zhiqim);
@@ -0,0 +1,80 @@
+(function(Z)
{
//BEGIN
var Global = window.Global = {};
/**************************************************************************************/
//打开旺旺&打开QQ
/**************************************************************************************/
Global.contectWangWang = function()
{//打开旺旺
var designId = Z.FM.getChecked("designId");
var buyerNick = Z("#buyerNick_" + designId).val();
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utf-8");
};
Global.contectQQ = function()
{//打开QQ
var designId = Z.FM.getChecked("designId")
var userQq = Z("#userQq_" + designId).val();
if (!Z.V.isInteger(userQq))
{
Z.alert("客户未提供QQ号,请旺旺联系");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
};
Global.openWangWang = function(elemId, attrName)
{//打开旺旺
if (!elemId && !attrName)
{
Global.contectWangWang();
}
else
{
var nick = Z("#"+elemId).attr(Z.V.isEmptyBlank(attrName) ? "data-ww" : attrName);
Global.openWangWangParam(nick);
}
};
Global.openQQ = function(elemId, attrName)
{//打开QQ
if (!elemId && !attrName)
{
Global.contectQQ();
}
else
{
var nick = Z("#"+elemId).attr(Z.V.isEmptyBlank(attrName) ? "data-qq" : attrName);
Global.openQQParam(nick);
}
};
Global.openWangWangParam = function(buyerNick)
{//打开旺旺
if (Z.V.isEmptyBlank(buyerNick))
{
Z.failure("客户未提供该联系方式");
return;
}
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utf-8");
}
Global.openQQParam = function(userQq)
{//打开QQ
if (!Z.V.isInteger(userQq))
{
Z.failure("客户未提供该联系方式");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
}
//END
})(zhiqim);
@@ -0,0 +1,80 @@
+(function(Z)
{
//BEGIN
var Global = window.Global = {};
/**************************************************************************************/
//打开旺旺&打开QQ
/**************************************************************************************/
Global.contectWangWang = function()
{//打开旺旺complainId
var complainId = Z.FM.getChecked("complainId");
var buyerNick = Z("#buyerNick_" + complainId).val();
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utf-8");
};
Global.contectQQ = function()
{//打开QQ
var complainId = Z.FM.getChecked("complainId")
var userQq = Z("#userQq_" + complainId).val();
if (!Z.V.isInteger(userQq))
{
Z.alert("客户未提供QQ号,请旺旺联系");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
};
Global.openWangWang = function(elemId, attrName)
{//打开旺旺
if (!elemId && !attrName)
{
Global.contectWangWang();
}
else
{
var nick = Z("#"+elemId).attr(Z.V.isEmptyBlank(attrName) ? "data-ww" : attrName);
Global.openWangWangParam(nick);
}
};
Global.openQQ = function(elemId, attrName)
{//打开QQ
if (!elemId && !attrName)
{
Global.contectQQ();
}
else
{
var nick = Z("#"+elemId).attr(Z.V.isEmptyBlank(attrName) ? "data-qq" : attrName);
Global.openQQParam(nick);
}
};
Global.openWangWangParam = function(buyerNick)
{//打开旺旺
if (Z.V.isEmptyBlank(buyerNick))
{
Z.failure("客户未提供该联系方式");
return;
}
Z("#openFrm").attr("src","http://amos.alicdn.com/msg.aw?v=2&uid="+buyerNick+"&site=cntaobao&s=2&charset=utf-8");
}
Global.openQQParam = function(userQq)
{//打开QQ
if (!Z.V.isInteger(userQq))
{
Z.failure("客户未提供该联系方式");
return;
}
Z("#openFrm").attr("src","tencent://message/?uin="+userQq);
}
//END
})(zhiqim);
File diff suppressed because one or more lines are too long
@@ -0,0 +1,213 @@
+(function(Z)
{
//BEGIN
var Mercolumn = window.Mercolumn = {};
Mercolumn.initPageColumn = function (layoutCode, layoutName)
{
if (!layoutName || !layoutCode)
return false;
var _tr_ = Z('tr[data-layoutCode=\''+layoutCode+'\']');
if (!_tr_)
{
console.error("["+layoutCode+"]" + "元素查询异常")
return false;
}
var _tr = _tr_[0];
if (!_tr)
{
console.log("["+layoutCode+"]" + "未找到元素")
return false;
}
var cells = _tr.cells;
var nameArr = [];
var columns = [];
Z.each(cells, function(td, i){
var columnName = td.innerText;
columnName = Z.S.trim(columnName);
if (Z.V.isNotEmptyBlank(columnName))//有效列名信息
{
nameArr[i] = columnName;
columns[i] = columnName;
}
});
if (nameArr.length == 0)
{
console.log("["+layoutCode+"]" + "找不到列信息")
return false;
}
var init_success = false;
try
{
var ajax = new Z.Ajax();
ajax.setSync();
ajax.setClassName("MercolumnPresenter");
ajax.setMethodName("initPageLayoutColumn");
ajax.addParam("layoutCode", layoutCode);
ajax.addParam("layoutName", layoutName);
ajax.addParam("sysColumns", Z.AR.toString(nameArr, ","));
ajax.setFailure(function(){
console.error("初始化页面信息列异常:"+this.responseText)
});
ajax.setSuccess(function()
{
init_success = true;
});
ajax.execute();
}catch(e)
{
console.log(e)
}
return init_success;
}
Mercolumn.doQueryColumns = function(layoutCode)
{
if (!layoutCode)
return [];
var _tr_ = Z('tr[data-layoutCode=\''+layoutCode+'\']');
if (!_tr_)
{
console.error("["+layoutCode+"]" + "元素查询异常")
return [];
}
var _tr = _tr_[0];
if (!_tr)
{
console.log("["+layoutCode+"]" + "未找到元素")
return [];
}
var cells = _tr.cells;
var nameArr = [];
var columns = {};
Z.each(cells, function(td, i){
var columnName = td.innerText;
columnName = Z.S.trim(columnName);
if (Z.V.isNotEmptyBlank(columnName))//有效列名信息
{
nameArr[i] = columnName;
columns[columnName] = i;
}
});
return columns;
}
Mercolumn.doShowMerPageColumn = function (layoutCode, layoutName, orgId)
{
var init_success = Mercolumn.initPageColumn(layoutCode, layoutName);//初始化
if (!init_success)
return;//初始化失败了不设置
var pageColumns = Mercolumn.doQueryColumns(layoutCode);
if (!orgId || orgId == -1)
{
return false;
}
try
{
var ajax = new Z.Ajax();
ajax.setClassName("MercolumnPresenter");
ajax.setMethodName("doQueryMerPageLayoutColumns");
ajax.addParam("orgId", orgId);
ajax.addParam("layoutCode", layoutCode);
ajax.setFailure(function(){
console.error("设置隐藏商户信息列异常:"+this.responseText);
});
ajax.setSuccess(function(){
var obj = Z.J.toObject(this.responseText);
var dataList = obj.dataList;
console.log(obj);
if (!dataList || dataList.length == 0 || !dataList[0])
return;
var merColsNames = Z.AR.toArray(dataList[0].merColumns, ",")
var mercolumsIndex=[];
//查询影藏列下标
var hideIndexs = [];
for (var colsName in pageColumns)
{
if (Z.AR.contains(merColsNames, colsName))
{
var ind = pageColumns[colsName];
mercolumsIndex[colsName] = ind;
hideIndexs.push(ind);
}
}
console.log("mercolumsIndex:");
console.log(mercolumsIndex);
console.log(hideIndexs);
//查询标记隐藏表标头
var _tr_ = Z('tr[data-layoutCode=\''+layoutCode+'\']');
if (!_tr_ || _tr_ .length == 0)
{
return;
}
var parentWidth = 0;
var scrollWidth = 0;
var table = _tr_.parent()[0]
if (Z.S.equalsIgnoreCase(table.tagName, "tbody"))
{
table = Z(table).parent();
scrollWidth = table[0].scrollWidth;
var elem = table.parent()[0];
parentWidth = elem.clientWidth-table[0].offsetLeft*2;
}
//计算隐藏宽度
var cutWidth = 0;
var thead = _tr_[0];
var _cells_ = thead.cells;
for(var ci = 0; ci < _cells_.length; ci++)
{
if (!Z.AR.contains(hideIndexs, ci*1))
{
var td = _cells_[ci];
cutWidth += td.scrollWidth;
}
}
//隐藏列
var trs = table.find("tr");
for (var i=0; i<trs.length; i++)
{
var cols = trs[i].cells;
for(var ci = 0; ci < cols.length; ci++)
{
if (!Z.AR.contains(hideIndexs, ci*1))
{
Z(cols[ci]).hide();
}
}
}
//重新设置table宽度
var table_width = scrollWidth - cutWidth;
if (table_width < parentWidth)
table_width = parentWidth
table[0].style.width = table_width + "px";
});
ajax.execute();
}catch (e)
{
console.log(e)
}
}
//END
})(zhiqim);
@@ -0,0 +1,279 @@
;!function (e) {
"use strict";
var _ws, n = function () {
this.v = "1.0.0";
this.busiMessageUrl = "http://192.168.3.115:9201/api-busi/messageBusi/readMessage/";
}, _url, _status, _lock = false, _id, _message = new Array(), _nowMessage;
var _onopen = function (event) {
_status = "open";
console.log("连接成功");
}, _onerror = function (event) {
_status = "error";
console.log("连接出错");
}, _onmessage = function (event) {
var obj = eval("(" + event.data + ")");
if(obj !=undefined && obj !=null){
if(obj[0].code == 1){
// 第一次历史消息查询失败的情况
return;
}if(obj[0].code == 0){
// 第一次历史消息查询成功的情况
if(obj[0].data.size == 1){
_message.push(obj[0].data.messageBusi);
_showMessage();
}else if(obj[0].data.size > 1){
// 提醒未读消息条数
_showHistoryMessage(obj[0].data.size);
}
return;
}
// 实时消息
for (var i = 0; i < obj.length; i++) {
_message.push(obj[i]);
}
if (_message.length > 0) {
_showMessage();
}
}
console.log("收到消息:" + event.data);
}, _onclose = function (event) {
_status = "close";
console.log("关闭连接");
}, _reconnection = function () {
if (!'WebSocket' in window) {
console.error("浏览器不支持推送消息");
return;
}
_ws = new WebSocket(_url,"message_box");
_ws.onopen = _onopen;
_ws.onerror = _onerror;
_ws.onmessage = _onmessage;
_ws.onclose = _onclose;
}, _closeHear = function () {
if (_id) {
clearInterval(_id);
}
}, _heartCheck = function () {
if (_lock) {
return;
}
_lock = true;
_closeHear();
_id = setInterval(function () {
if (_url && _status && _status == "close") {
console.log("尝试重连")
_reconnection();
} else if (_url && _status && _status == "open") {
console.log("心跳检测");
// _ws.send(new ArrayBuffer(4));
_ws.send("ping");
}
_lock = false;
}, 1000 * 60);
}, _readMsg = function () {
try {
var xmlHttp = new XMLHttpRequest();
xmlHttp.onreadystatechange = function () {
//当状态变化时处理的事情
if (xmlHttp.readyState == 4 && xmlHttp.status == 200) {
//5.接收响应信息
var data = eval("(" + xmlHttp.responseText + ")");
if (data.code == 0) {
document.getElementById("messageDiv").remove();
_showMessage();
} else {
// 失败后添加至头部
_message.unshift(_nowMessage);
document.getElementById("messageDiv").remove();
_showMessage();
}
}
}
xmlHttp.open("POST", myWebSocket.busiMessageUrl + _nowMessage.id, false);
//4.发送请求
xmlHttp.send();
} catch (e) {
// 失败后添加至头部
_message.unshift(_nowMessage);
document.getElementById("messageDiv").remove();
_showMessage();
}
}, _readHistoryMsg = function () {
document.getElementById("messageDiv").remove();
}, _showHistoryMsg = function () {
document.getElementById("messageDiv").remove();
document.getElementsByClassName("myMessageBox")[0].click();
},_doCopyOrderIdInfo = function (orderId){
//复制订单号id
var inputEle = document.createElement("input");
document.designMode = "on";
inputEle.value = orderId;
document.body.appendChild(inputEle);
inputEle.select();
document.execCommand('copy');
inputEle.blur();
inputEle.style.display = 'none';
document.body.removeChild(inputEle);
document.designMode = "off";
_readMsg();
}, _showMessage = function () {
setTimeout(function () {
if (document.getElementById("messageDiv") != null || _message.length == 0) {
return;
}
_nowMessage = _message.shift();
var property = null;
if(_nowMessage.property !=undefined){
property = JSON.parse(_nowMessage.property);
}
var messageBody = _nowMessage.messageBody;
var orderId = _nowMessage.orderId;
var dateStr = _formatDate(new Date(parseInt(_nowMessage.sendTime)));
var htmls = `
<div id="messageDiv" style="width: 500px;border: 1px solid #cecdcd;background-color: #f2f2f2;color: #fff;position: fixed;right: 15px;bottom: 0px;border-radius: 10px;z-index: 999999;">
<div style="width: 500px;height: 55px;text-align: center;font-size: 24px;line-height: 50px;border-radius: 5px 5px 0 0;background-color:red;margin-left: -1px;">
消息提醒
</div>
<div style="border: 1px solid #000;border-radius: 11px;margin: 10px;text-align: center;background-color: #fff;color: #000;font-size: 20px;padding:20px;">
${messageBody}
</div>
<div style="display: flex;justify-content: center;">
<span style="color: black;font-size: 16px;margin: 15px;float: left;">提醒发送人:<span>${_nowMessage.producerOperateName ? _nowMessage.producerOperateName : "系统"}</span></span>
<span style="color: black;font-size: 16px;margin: 15px;float: right;margin-left: 40px;">消息时间:${dateStr}</span>
</div>
<div style="display: flex;justify-content: center;">
<div onclick="myWebSocket.readHistoryMsg()" style="width: 120px;height: 40px;border-radius: 5px;background-color:#009966;text-align: center;line-height: 40px;color: #fff;float: left;margin: 10px;cursor:pointer;">知道了</div>
<div onclick="myWebSocket.doCopyOrderIdInfo(${orderId});" style="width: 120px;height: 40px;border-radius: 5px;background-color:#199ed8;text-align: center;line-height: 40px;color: #fff;float: right;margin: 10px;cursor:pointer;margin-left:50px;">点击复制单号</div>
</div>
</div>`;
document.body.insertAdjacentHTML("beforeend", htmls);
}, 2000)
}, _showHistoryMessage = function (size) {
var dateStr = _formatDate(new Date());
var htmls = `
<div id="messageDiv" style="width: 500px;border: 1px solid #cecdcd;background-color: #f2f2f2;color: #fff;position: fixed;right: 15px;bottom: 0px;border-radius: 10px;z-index: 999999;">
<div style="width: 500px;height: 55px;text-align: center;font-size: 24px;line-height: 50px;border-radius: 5px 5px 0 0;background-color:red;margin-left: -1px;">
消息提醒
</div>
<div style="border: 1px solid #000;border-radius: 11px;margin: 10px;text-align: center;background-color: #fff;color: #000;font-size: 20px;padding:20px;">
您有${size}条消息未读
</div>
<div style="display: flex;justify-content: center;">
<span style="color: black;font-size: 16px;margin: 15px;float: left;">提醒发送人:<span>系统</span></span>
<span style="color: black;font-size: 16px;margin: 15px;float: right;margin-left: 40px;">消息时间:${dateStr}</span>
</div>
<div style="display: flex;justify-content: center;">
<div onclick="myWebSocket.readHistoryMsg()" style="width: 120px;height: 40px;border-radius: 5px;background-color:#009966;text-align: center;line-height: 40px;color: #fff;float: left;margin: 10px;cursor:pointer;">知道了</div>
<div onclick="myWebSocket.showHistoryMsg();" style="width: 120px;height: 40px;border-radius: 5px;background-color:#169BD5;text-align: center;line-height: 40px;color: #fff;float: right;margin: 10px;cursor:pointer;margin-left:50px;">查看消息</div>
</div>
</div>`;
document.body.insertAdjacentHTML("beforeend", htmls);
}, _utf8ByteToUnicodeStr = function (utf8Bytes) {
var unicodeStr = "";
for (var pos = 0; pos < utf8Bytes.length;) {
var flag = utf8Bytes[pos];
var unicode = 0;
if ((flag >>> 7) === 0) {
unicodeStr += String.fromCharCode(utf8Bytes[pos]);
pos += 1;
} else if ((flag & 0xFC) === 0xFC) {
unicode = (utf8Bytes[pos] & 0x3) << 30;
unicode |= (utf8Bytes[pos + 1] & 0x3F) << 24;
unicode |= (utf8Bytes[pos + 2] & 0x3F) << 18;
unicode |= (utf8Bytes[pos + 3] & 0x3F) << 12;
unicode |= (utf8Bytes[pos + 4] & 0x3F) << 6;
unicode |= (utf8Bytes[pos + 5] & 0x3F);
unicodeStr += String.fromCharCode(unicode);
pos += 6;
} else if ((flag & 0xF8) === 0xF8) {
unicode = (utf8Bytes[pos] & 0x7) << 24;
unicode |= (utf8Bytes[pos + 1] & 0x3F) << 18;
unicode |= (utf8Bytes[pos + 2] & 0x3F) << 12;
unicode |= (utf8Bytes[pos + 3] & 0x3F) << 6;
unicode |= (utf8Bytes[pos + 4] & 0x3F);
unicodeStr += String.fromCharCode(unicode);
pos += 5;
} else if ((flag & 0xF0) === 0xF0) {
unicode = (utf8Bytes[pos] & 0xF) << 18;
unicode |= (utf8Bytes[pos + 1] & 0x3F) << 12;
unicode |= (utf8Bytes[pos + 2] & 0x3F) << 6;
unicode |= (utf8Bytes[pos + 3] & 0x3F);
unicodeStr += String.fromCharCode(unicode);
pos += 4;
} else if ((flag & 0xE0) === 0xE0) {
unicode = (utf8Bytes[pos] & 0x1F) << 12;
;
unicode |= (utf8Bytes[pos + 1] & 0x3F) << 6;
unicode |= (utf8Bytes[pos + 2] & 0x3F);
unicodeStr += String.fromCharCode(unicode);
pos += 3;
} else if ((flag & 0xC0) === 0xC0) { //110
unicode = (utf8Bytes[pos] & 0x3F) << 6;
unicode |= (utf8Bytes[pos + 1] & 0x3F);
unicodeStr += String.fromCharCode(unicode);
pos += 2;
} else {
unicodeStr += String.fromCharCode(utf8Bytes[pos]);
pos += 1;
}
}
return unicodeStr;
}, _formatDate = function (now) {
var year = now.getFullYear(); //取得4位数的年份
var month = now.getMonth() + 1; //取得日期中的月份,其中0表示1月,11表示12月
var date = now.getDate(); //返回日期月份中的天数(1到31
var hour = now.getHours(); //返回日期中的小时数(0到23
var minute = now.getMinutes(); //返回日期中的分钟数(0到59
var second = now.getSeconds(); //返回日期中的秒数(0到59
if (month < 10) {
month = "0" + month;
}
if (date < 10) {
date = "0" + date;
}
if (hour < 10) {
hour = "0" + hour;
}
if (minute < 10) {
minute = "0" + minute;
}
if (second < 10) {
second = "0" + second;
}
return year + "-" + month + "-" + date + " " + hour + ":" + minute + ":" + second;
};
n.prototype.init = function (url) {
if (!'WebSocket' in window) {
console.error("浏览器不支持推送消息");
return;
}
_url = url;
_ws = new WebSocket(_url,"message_box");
_ws.onopen = _onopen;
_ws.onerror = _onerror;
_ws.onmessage = _onmessage;
_ws.onclose = _onclose;
window.onbeforeunload = function (event) {
_ws.close();
};
_heartCheck();
}, n.prototype.close = function () {
_closeHear();
if(_ws){
_ws.close();
}
}, n.prototype.reconnection = _reconnection, n.prototype.readMsg = _readMsg, n.prototype.doCopyOrderIdInfo = _doCopyOrderIdInfo, n.prototype.readHistoryMsg = _readHistoryMsg,n.prototype.showHistoryMsg = _showHistoryMsg;
e.myWebSocket = new n;
}(window);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,225 @@
+(function(Z)
{
//BEGIN
var Works = window.Works = {};
//外部执行搜索
Works.doSearchAjaxForPC = function(page ,value, urlParam)
{
var prdTypeId = Z("#prdTypeId").val();
var industryId = Z("#industryId").val();
var sort = Z("#sort").val();
var keyword;
var param;
var tr = document.getElementById("pcWorksTrId");
if(prdTypeId == 3){
tr.style.display = "table-row";
}else {
tr.style.display = "none";
}
if (value == "" || value == null)
{
keyword = Z("#searchinput").val();
}
else
{
var prdStr = value.indexOf("nav_");
var indStr = value.indexOf("ind_");
if (prdStr >= 0)
{
prdTypeId = value.substring(4);
keyword = Z("#searchinput").val();
}
else if (indStr >= 0)
{
industryId = value.substring(4);
keyword = Z("#searchinput").val();
}
else
{
keyword = value;
}
}
if (urlParam == null || urlParam == "" || urlParam == "undefined")
{
param = Z("#urlParam").val();
}
else
{
param = urlParam;
}
var oddEven = Z("#oddEven").val();
var ajax = new Z.Ajax();
ajax.setClassName("WorksPresenterForPC");
ajax.setMethodName("doWorksKeywordSearchForPC");
ajax.addParam("page", page);
ajax.addParam("keyword", keyword);
ajax.addParam("prdTypeId", prdTypeId);
ajax.addParam("industryId", industryId);
ajax.addParam("sort", sort);
ajax.addParam("oddEven", oddEven);
ajax.addParam("urlParam", param);
ajax.setCallback("resultWrap");
ajax.setLoading("resultWrap");
ajax.execute();
}
//执行搜索
Works.doSearchAjax = function(page ,value, urlParam)
{
var prdTypeId = Z("#prdTypeId").val();
var industryId = Z("#industryId").val();
var keyword;
var param;
if (value == "" || value == null)
{
keyword = Z("#searchinput").val();
}
else
{
var prdStr = value.indexOf("nav_");
var indStr = value.indexOf("ind_");
if (prdStr >= 0)
{
prdTypeId = value.substring(4);
keyword = Z("#searchinput").val();
}
else if (indStr >= 0)
{
industryId = value.substring(4);
keyword = Z("#searchinput").val();
}
else
keyword = value;
}
if (urlParam == null || urlParam == "" || urlParam == "undefined")
param = Z("#urlParam").val();
else
param = urlParam;
var ajax = new Z.Ajax();
ajax.setClassName("WorksPresenter");
ajax.setMethodName("doWorksKeywordSearch");
ajax.addParam("page", page);
ajax.addParam("keyword", keyword);
ajax.addParam("prdTypeId", prdTypeId);
ajax.addParam("industryId", industryId);
ajax.addParam("urlParam", param);
ajax.setCallback("resultWrap");
ajax.setLoading("resultWrap");
ajax.execute();
}
Works.doSearchSelect = function(type,idaId)
{
if (type == "prdType")
{
if (Z.AR.contains(prdIdarr, idaId))
Z.AR.remove(prdIdarr, idaId);
else
prdIdarr.push(idaId);
}
else if(type == "industry")
{
if (Z.AR.contains(indIdarr, idaId))
Z.AR.remove(indIdarr, idaId)
else
indIdarr.push(idaId);
}
}
Works.doWorksShow = function (value)
{//展示弹窗页,全铺满
var ajax = new Z.Ajax();
ajax.setClassName("WorksPresenter");
ajax.setMethodName("doWorksBrowse");
ajax.addParam(value)
ajax.execute();
var dialog = new Z.Dialog();
dialog.shadow = true;
dialog.title = "作品详情";
dialog.fixed = true;
dialog.url = "worksShow.htm?worksId="+value;
dialog.width = Z.D.clientWidth();
dialog.height =Z.D.clientHeight()-40;
dialog.execute();
}
Works.doWorksShowPc = function (value)
{//展示弹窗页,全铺满
debugger;
var ajax = new Z.Ajax();
ajax.setClassName("WorksPresenter");
ajax.setMethodName("doWorksBrowse");
ajax.addParam(value)
ajax.execute();
var dialog = new Z.Dialog();
dialog.shadow = true;
dialog.title = "作品详情";
dialog.fixed = true;
dialog.scroll = true;
dialog.url = "worksShowPC.htm?templateId="+value;
dialog.width = Z.D.clientWidth() - 30;
dialog.height =Z.D.clientHeight() - 65;
dialog.execute();
}
//浮动选择框
Works.addWorksKey = function (ele)
{//开始和隐藏
var $wrap = Z(ele).parent();
if (!$wrap.hasClass("startActive"))
{//执行多选操作
Z(ele).removeClass("z-bg-blue-deep").addClass("z-bg-red-deep").html("取消编辑");
$wrap.addClass("startActive").addClass("z-active");
$wrap.children(".fixedDialog-hiddenBtn").html("收起");
//插入多选框
var items = Z("#srcFileList>.item");
for (var i = 0;i < items.length;i++)
{
var $item = Z(items[i]);
if ($item.children(".checkBox")[0])
{
$item.children(".checkBox").show();
//$item.find("input[type=checkBox]")[0].checked = false;
continue;
}
var id = $item.attr("id").substring(5);
var $checkBox = Z('<label for="input_' + id + '" class="checkBox z-absolute z-w100p z-h100p"><input onchange="Works.addItemTo(this);" id="input_' + id + '" value="' + id + '" type="checkBox" name="applyEssence"></label>');
$checkBox.appendToPos($item);
}
}
else
{//隐藏
Z(ele).removeClass("z-bg-red-deep").addClass("z-bg-blue-deep").html("模板编辑");
$wrap.children(".fixedDialog-hiddenBtn").html("展开");
$wrap.removeClass("startActive").removeClass("z-active");
Z("#srcFileList>.item>.checkBox").hide();
//数据取消
var $liList = Z(ele).parent().find("li.z-active");
for (var i = 0;i < $liList.length;i++)
{
var $theLi = Z($liList[i]);
var $theImg = $theLi.children("img");
var id = $theImg.attr("data-id");
$theLi.removeClass("z-active");
$theImg.attr("src","").attr("data-id","");
Z("#input_" + id)[0].checked = false;
}
}
}
//END
})(zhiqim);
@@ -0,0 +1,286 @@
+(function(Z)
{
//BEGIN
Z.SearchAutoList = Z.Class.newInstance();
Z.SearchAutoList.prototype =
{
defaults:
{
elem: null, //输入框/输入框盒子ID
className: null, //Ajax调用的类名
methodName: null, //Ajax调用的类方法
history: true, //历史记录显示
callback: null //选中后的回调函数
},
execute: function()
{
this.$elem = Z.$elem(this.elem, "Z.SearchAutoList");
this.id = this.$elem.attr("id") || "ZSearchAutoList";
this.width = this.$elem.offsetWidth();
var height = this.$elem.offsetHeight();
var fontSize = this.$elem.css("fontSize");
this.pdLeft = this.$elem.css("paddingLeft");
this.pdRight = this.$elem.css("paddingRight");
this.lHeight = this.$elem.css("lineHeight");
this.$cover = Z.$cover(this.$elem);
this.$list = Z('<div class="z-absolute z-bg-white z-text-left z-bd z-hide"></div>')
.css({width: this.width, left: 0, top: height-1, fontSize: fontSize, zIndex: 99})
.appendTo(this.$cover);
//事件绑定
this.$elem.on("focus", this.onFocus, this);
this.$elem.on("input", this.onInput, this);
this.$elem.keydown(this.onKeyDown, this);
Z(document).click(this.onDocClick, this);
},
onFocus: function(e)
{//获取焦点事件
this.value = Z.S.trim(this.$elem.val());
if (Z.V.isEmptyBlank(this.value))
{
this.doHistoryList();
return;
}
if (this.beforeValue == this.value)
{//内容不改变
if (this.$list.html() != "")
this.$list.show();
}
else
{//内容已改变
this.beforeValue = this.value;
this.$list.show();
this.doAjax();
}
},
onInput: function(e)
{//input事件
this.value = Z.S.trim(this.$elem.val());
if (Z.V.isEmptyBlank(this.value))
{
this.doHistoryList();
return;
}
if (this.beforeValue != this.value)
{//调用查询
this.beforeValue = this.value;
this.$list.show();
this.doAjax();
}
},
//ajax调用,生成列表
doAjax: function()
{
this.ajax = new Z.Ajax();
this.ajax._this = this;
this.ajax.setClassName(this.className);
this.ajax.setMethodName(this.methodName);
this.ajax.addParam(this.value);
this.ajax.setCallback(function()
{
var _this = this._this;
var titleList = Z.J.toObject(this.responseText);
if (titleList.length == 0)
{
_this.$list.html("").hide();
return;
}
var html = '<ul>';
Z.eachof(_this, titleList, function(item){
html += '<li class="z-text-ellipsis" style="width: ' + _this.width + 'px; padding: 2px ' + _this.pdRight + ' 2px ' + _this.pdLeft +'; line-height:'+ _this.lHeight +'; cursor: pointer;">' + item + "</li>";
});
html += "</ul>";
_this.$list.html(html);
_this.lis = _this.$list.find("li");
_this.lis.click(_this.doSelect, _this);
_this.lis.mouseenter(_this.onMouseEnter, _this);
_this.lis.mouseleave(_this.onMouseLeave, _this);
});
this.ajax.execute();
},
doSelect: function(e)
{//鼠标选中
Z.E.forbidden(e);
this.beforeValue = this.value;
this.value = Z(Z.E.target(e)).text();
this.$elem.val(this.value);
this.$list.hide();
this.doAjax();
this.saveHistory(e);
this.doCallback(e);
},
onDocClick: function(e)
{//空白处点击,隐藏列表
var target = Z.E.target(e);
if (target == this.$elem[0])
return;
this.$list.hide();
if (this.beforeValue != this.value)
{//静默调用
this.beforeValue = this.value;
this.doAjax();
}
},
onKeyDown: function(e)
{//键盘 “上” “下” “回车”按键监听
var keyVal = Z.E.key(e);
if (keyVal != Z.E.KEY.UP && keyVal != Z.E.KEY.DOWN && keyVal != Z.E.KEY.ENTER)
return;
Z.E.forbidden(e);
if (this.lis)
{//有选择列表的搜索框
var liSetLength = this.lis.length;
var liActive = this.$list.find(".z-bg-gray");
var liActiveIndex = -1;
var toIndex = null;
if (liActive.length != 0)
liActiveIndex = Z.EL.parentIndex(liActive[0]);
switch (keyVal)
{
case Z.E.KEY.UP://上
toIndex = liActiveIndex - 1;
if (toIndex <= -1)
toIndex = liSetLength - 1;
break;
case Z.E.KEY.DOWN://下
toIndex = liActiveIndex + 1;
if (toIndex == liSetLength)
toIndex = 0;
break;
case Z.E.KEY.ENTER://回车选中
this.$elem[0].blur();
this.$list.hide();
this.value = Z.S.trim(this.$elem.val());
this.beforeValue = this.value;
this.doAjax();
this.saveHistory(e);
this.doCallback(e);
return;
}
toIndex++;
this.lis.removeClass("z-bg-gray");
var toLi = this.$list.find("li:nth-child(" + toIndex +")").addClass("z-bg-gray");
this.value = toLi.html();
this.$elem.val(toLi.html());
}
else if (keyVal == Z.E.KEY.ENTER)
{//直接在输入框回车搜索
this.value = Z.S.trim(this.$elem.val());
this.beforeValue = this.value;
this.doAjax();
this.saveHistory(e);
this.doCallback(e);
}
},
//选中后的回掉函数
doCallback: function(e)
{
if (!this.callback)
return;
this.callback(e);
},
//历史记录列表展示
doHistoryList: function(e)
{
if (!this.history)
return;
this.$list.html("").hide();
if (!localStorage.getItem(this.id))
return;
var htmlStr = '<ul class="z-text-gray">';
var hisArr = localStorage.getItem(this.id).split(";");
for (var i = 0;i < hisArr.length;i++)
{
htmlStr += '<li class="z-text-ellipsis" style="width: ' + this.width + 'px; padding: 2px ' + this.pdRight + ' 2px ' + this.pdLeft +'; line-height:'+ this.lHeight +'; cursor: pointer;">'
+ hisArr[i] + "</li>";
}
htmlStr += "</ul>";
Z(htmlStr).appendTo(this.$list.show());
var hisBar = '<div class="z-bg-blue z-clearfix" style="padding:0 ' + this.pdRight + ' 0 ' + this.pdLeft +';line-height:'+ this.lHeight +';cursor:default;">'
+ '<span class="z-float-right z-pointer z-deleteBtn">清空历史</span>'
+ '</div>';
Z(hisBar).appendTo(this.$list.show());
//绑定事件
this.lis = this.$list.find("li");
this.lis.click(this.doSelect,this);
this.lis.mouseenter(this.onMouseEnter,this);
this.lis.mouseleave(this.onMouseLeave,this);
//绑定删除事件
var $delBtn = this.$list.find(".z-deleteBtn");
$delBtn.click(this.emptyHistory,this);
},
emptyHistory: function(e)
{
localStorage.removeItem(this.id);
},
//输入完成,存储历史记录
saveHistory: function(e)
{
if (!this.history)
return;
var hisStr = localStorage.getItem(this.id);
if (!hisStr)
return localStorage.setItem(this.id, this.value);
var hisArr = hisStr.split(";");
hisArr.unshift(this.value);
//去重
var resultArr = [];
for(var i = 0; i < hisArr.length; i++)
{
if (!Z.AR.contains(resultArr, hisArr[i]))
resultArr.push(hisArr[i]);
}
//限制个数
if (resultArr.length > 10)
resultArr.length = 10;
hisStr = resultArr.join(";");
localStorage.setItem(this.id, hisStr);
},
//鼠标悬浮,背景颜色变化
onMouseEnter: function(e)
{
var $thisLi = Z(Z.E.target(e));
$thisLi.addClass("z-bg-gray");
},
onMouseLeave: function(e)
{
var $thisLi = Z(Z.E.target(e));
$thisLi.removeClass("z-bg-gray");
}
}
//END
})(zhiqim)
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
/** layui-v2.5.4 MIT License By https://www.layui.com */
html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #e2e2e2;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:32px;line-height:32px;border-bottom:1px solid #e2e2e2}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #e2e2e2;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none}
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 277 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Some files were not shown because too many files have changed in this diff Show More