first commit
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
<script>
|
||||
function doApproved()
|
||||
{
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("RegCheckApprovedAction");
|
||||
ajax.setMethodName("checkApproved");
|
||||
ajax.addParam("questionsId",Z("#questionsId").val());
|
||||
ajax.addParam("orgId",Z("#orgId").val());
|
||||
ajax.addParam("designerGroupId",Z("#designerGroupId").val());
|
||||
ajax.addParam("score",Z("#score").val());
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("操作成功",function(){parent.location.reload();parent.Z.Dialog.close();});
|
||||
});
|
||||
ajax.setLoading("doApproved", '正在提交', {disabled:true});
|
||||
ajax.execute();
|
||||
}
|
||||
</script>
|
||||
<form name="checkApproved" action="javascript:void(0);">
|
||||
<input id="questionsId" type="hidden" value="${questionsId}">
|
||||
<table class="z-table z-bordered z-bg-white z-text-left z-pd-l10">
|
||||
<table class="z-table z-bordered z-pd6 z-bg-white">
|
||||
<tr class="z-h40" bgcolor="#ffffff">
|
||||
<td>分配组织:
|
||||
<select name="orgId" id="orgId" class="z-select z-w150" data-role="z-select" data-class=" ${zmr_color_class}" data-options="maxHeight:120" >
|
||||
<#for item : orgList>
|
||||
<option value="${item.getOrgId()}">${item.getOrgName()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="address">
|
||||
<td>接单规则:
|
||||
<select name="designerGroupId" id="designerGroupId" class="z-select z-w150" data-role="z-select" data-class=" ${zmr_color_class}" data-options="maxHeight:120" >
|
||||
<#for item : designerGroupList>
|
||||
<option value="${item.getDesignerGroupId()}">${item.getDesignerGroupName()}</option>
|
||||
</#for>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="z-h40" >
|
||||
<td>初始积分:
|
||||
<input type="text" class="${zmr_color_class} z-input z-w150" id="score" name="score" data-options="type:Integer;paste:true;" maxlength="5">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<#-- 操作 -->
|
||||
<div class="z-absolute z-w100p z-h50 z-text-center z-bg-gray" style="bottom:0;left:0">
|
||||
<button id="doApproved" class="z-button z-w100 z-h30 z-mg-t15 z-mg-l5 zi-px14 ${zmr_color_class}" type="button" onclick="doApproved();">提交</button>
|
||||
<button class="z-button z-w100 z-h30 z-mg-t15 z-mg-l5 z-mg-l20 zi-px14" type="button" onclick="parent.Z.Dialog.close();">关闭</button>
|
||||
</div>
|
||||
@@ -0,0 +1,67 @@
|
||||
${zhiqim_manager_breadcrumb("简介审核")}
|
||||
${zhiqim_manager_content()}
|
||||
<script>
|
||||
|
||||
function doProfileReview(state,operatorCode){
|
||||
Z.confirm("确认" + (state == 3 ? "通过" : "退回") + "审核?", function(){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("DesignerProfilePresenter");
|
||||
ajax.setMethodName("doProfileReview");
|
||||
ajax.addParam("state",state);
|
||||
ajax.addParam("operatorCode",operatorCode);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function()
|
||||
{
|
||||
parent.Z.tips("审核成功");
|
||||
location.reload();
|
||||
});
|
||||
ajax.execute();
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
<#-- 导航 -->
|
||||
<div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.L.href('designerManage.htm');">设计师管理</li>
|
||||
<li onclick="Z.L.href('onlineLog.htm');">在线设计师</li>
|
||||
<li onclick="Z.L.href('workSearchLog.htm');">工作日志</li>
|
||||
<li onclick="Z.L.href('desOnlineTimeLog.htm');">接单时长</li>
|
||||
<li class="z-active">数据审核</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<#-- 列表 -->
|
||||
<div class="z-tabnav-main z-blue z-mg-b5">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.L.href('designerReg.htm');">注册审核</li>
|
||||
<li class="z-active" >简介审核</li>
|
||||
<li onclick="Z.L.href('designerWorks.htm');">作品审核</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<table class="z-table z-bordered z-h40-tr z-pd6 z-bg-white z-text-center">
|
||||
<tr bgcolor="${zmr_thead_bgcolor}">
|
||||
<td width="200">设计师</td>
|
||||
<td width="*">审核内容</td>
|
||||
<td width="200">提交时间</td>
|
||||
<td width="150">操作</td>
|
||||
</tr>
|
||||
${zhiqim_manager_tr_no_record(pageResult, 39, "暂时没有介绍信息")}
|
||||
<#for item : pageResult.list()>
|
||||
<tr>
|
||||
<td>${item.getOperatorCode()}</td>
|
||||
<td>${item.getPersonalProfile()}</td>
|
||||
<td>${Sqls.toDateTimeString(item.getAddTime())}</td>
|
||||
<td>
|
||||
<button type="button" class="z-button z-blue" onclick="doProfileReview(3,'${item.getOperatorCode()}')">通过</button>
|
||||
<button type="button" class="z-button" onclick="doProfileReview(2,'${item.getOperatorCode()}')">退回</button>
|
||||
</td>
|
||||
</tr>
|
||||
</#for>
|
||||
</table>
|
||||
${zhiqim_manager_paging(pageResult, "/designerProfile.htm")}
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,112 @@
|
||||
${zhiqim_manager_breadcrumb("作品审核")}
|
||||
${zhiqim_manager_content()}
|
||||
<style>
|
||||
|
||||
.item {
|
||||
width: 18.78328%;
|
||||
position: relative;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.item .z-bg-white {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.item .worksInfo {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.itemCtrBar {
|
||||
right: 0;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script>
|
||||
|
||||
Z.onload(function(){
|
||||
Z(".item .z-bg-white").mouseover(function(){
|
||||
Z(this).find(".itemCtrBar ").show();
|
||||
})
|
||||
Z(".item .z-bg-white").mouseout(function(){
|
||||
Z(this).find(".itemCtrBar ").hide();
|
||||
})
|
||||
});
|
||||
|
||||
function doWorksReview(designerWorksId,state){
|
||||
Z.confirm("确认" + (state == 2 ? "通过" : "退回") + "审核?", function(){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("DesignerWorksPresenter");
|
||||
ajax.setMethodName("doWorksReview");
|
||||
ajax.addParam("designerWorksId",designerWorksId);
|
||||
ajax.addParam("state",state);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function()
|
||||
{
|
||||
parent.Z.tips("审核成功");
|
||||
location.reload();
|
||||
});
|
||||
ajax.execute();
|
||||
});
|
||||
}
|
||||
|
||||
function showLargeImg(thisImg)
|
||||
{
|
||||
var dialog = new parent.Z.Dialog();
|
||||
dialog.shadow = true;
|
||||
dialog.title = "图片预览";
|
||||
//dialog.hasTitle = false;
|
||||
dialog.fixed = true;
|
||||
dialog.text = '<img style="width:100%;max-height: none;" src="' + thisImg.src + '">';
|
||||
dialog.width = 1200;
|
||||
dialog.height = 801;
|
||||
dialog.execute();
|
||||
dialog.$background.remove();
|
||||
}
|
||||
|
||||
</script>
|
||||
<#-- 导航 -->
|
||||
<div data-role="z-tabnav" class="z-tabnav-main z-mg-b20 ${zmr_color_class}">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.L.href('designerManage.htm');">设计师管理</li>
|
||||
<li onclick="Z.L.href('onlineLog.htm');">在线设计师</li>
|
||||
<li onclick="Z.L.href('workSearchLog.htm');">工作日志</li>
|
||||
<li onclick="Z.L.href('desOnlineTimeLog.htm');">接单时长</li>
|
||||
<li class="z-active">数据审核</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<#-- 列表 -->
|
||||
<div class="z-tabnav-main z-blue z-mg-b5">
|
||||
<nav>
|
||||
<ul>
|
||||
<li onclick="Z.L.href('designerReg.htm');">注册审核</li>
|
||||
<li onclick="Z.L.href('designerProfile.htm');">简介审核</li>
|
||||
<li class="z-active">作品审核</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
<#-- 列表 -->
|
||||
${zhiqim_manager_tr_no_record(pageResult, 39, "<table class='z-table z-bordered z-h40-tr z-pd6 z-bg-white z-text-center'><tr class='zi-h60 z-bg-white z-text-center'><td colspan='39'>暂时没有作品信息</td></tr></table>")}
|
||||
<div style="display: flex;width: 100%;justify-content: flex-start;flex-wrap: wrap;">
|
||||
<#for item : pageResult.list()>
|
||||
<div class="item">
|
||||
<div class="z-bg-white z-pointer">
|
||||
<img style="width:100%;" src="${item.getImgPath()}" onclick="showLargeImg(this);" />
|
||||
<span class="itemCtrBar z-absolute">
|
||||
<button class="z-button modelCheckBtn z-small z-blue z-float-left" onclick="doWorksReview('${item.getDesignerWorksId()}','2');"><i class="z-font z-px12 z-success"></i>通过</button>
|
||||
<button class="z-button modelCheckBtn z-small z-red z-float-right" onclick="doWorksReview('${item.getDesignerWorksId()}','1');"><i class="z-font z-px12 z-error"></i>退回</button>
|
||||
</span>
|
||||
<div class="worksInfo">
|
||||
设计师: ${item.getOperatorCode()} 时间:${Sqls.toDateTimeString(item.getAddTime())}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</#for>
|
||||
</div>
|
||||
${zhiqim_manager_paging(pageResult, "/designerWorks.htm")}
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,31 @@
|
||||
<script>
|
||||
function doModifyOrderNum()
|
||||
{
|
||||
var orderNum = Z("#orderNum").val();
|
||||
if (Z.V.isEmptyBlank(orderNum))
|
||||
{
|
||||
Z.alert("数量不能为空");
|
||||
return;
|
||||
}
|
||||
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setContextPath("${context.getContextPath()}");
|
||||
ajax.setClassName("DesignerProfilePresenter");
|
||||
ajax.setMethodName("doModifyOrderNum");
|
||||
ajax.addParam("orderNum",orderNum);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccessAlertReloadParent("修改成功");
|
||||
ajax.execute();
|
||||
}
|
||||
</script>
|
||||
<div class="z-h60 z-pd20">
|
||||
原数量:<span class="z-color-666"><#if operatorParam.isEmpty()>0<#else>${operatorParam}</#if></span>
|
||||
</div>
|
||||
<div class="z-h60 z-pd20">
|
||||
新数量:<input id="orderNum" class="z-input z-w300 ${zmr_color_class}" maxlength="2" data-options="type:Integer;" spellcheck="false">
|
||||
<span class="z-px12 z-text-red">*</span>
|
||||
</div>
|
||||
<div class="z-absolute z-b0 z-l0 z-w100p z-h80 z-pd20 z-text-center z-bg-gray">
|
||||
<button type="button" class="z-button z-large z-w100 ${zmr_color_class}" onclick="doModifyOrderNum();">提交</button>
|
||||
<button type="button" class="z-button z-large z-w100 z-mg-l10" onclick="parent.Z.Dialog.close();">关闭</button>
|
||||
</div>
|
||||
@@ -0,0 +1,427 @@
|
||||
${Scripts.src("/zinc/layui/layui.js")}
|
||||
<link rel="stylesheet" href="../zinc/layui/css/layui.css"/>
|
||||
${Scripts.src(zhiqim_uploadlarge.js)}
|
||||
<style>
|
||||
input::-webkit-input-placeholder {
|
||||
font-size: 12px;
|
||||
}
|
||||
xm-select div:not(span) {
|
||||
line-height: inherit;
|
||||
}
|
||||
.content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.content td {
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
.profileTable td {
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
|
||||
.item {
|
||||
padding: 1em 0 0 1em;
|
||||
width: 33%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.itemCtrBar {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.item .showing {
|
||||
content: url(../ztmpl/zhiqim_manager/showing.png);
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
left: 1em;
|
||||
top: 1em;
|
||||
}
|
||||
|
||||
.item .reviewing {
|
||||
content: url(../ztmpl/zhiqim_manager/reviewing.png);
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
left: 1em;
|
||||
top: 1em;
|
||||
}
|
||||
|
||||
.item .rejected {
|
||||
content: url(../ztmpl/zhiqim_manager/rejected.png);
|
||||
position: absolute;
|
||||
width: 50px;
|
||||
left: 1em;
|
||||
top: 1em;
|
||||
}
|
||||
|
||||
textarea::-ms-input-placeholder{
|
||||
text-align: center;
|
||||
line-height: 140px
|
||||
}
|
||||
|
||||
textarea::-webkit-input-placeholder{
|
||||
text-align: center;
|
||||
line-height: 140px
|
||||
}
|
||||
|
||||
.iframenav-tab-item {
|
||||
border: 1px solid #d3d3d3;
|
||||
padding: 0 30px 0 10px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
function doModifyAvatar()
|
||||
{//修改头像
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.title = "修改头像";
|
||||
dialog.url = "modifyAvatar.htm";
|
||||
dialog.width = 800;
|
||||
dialog.height = 560;
|
||||
dialog.fixed = true;
|
||||
dialog.execute();
|
||||
}
|
||||
|
||||
function doModifyPass()
|
||||
{//修改密码
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.title = "修改登录密码";
|
||||
dialog.url = "modifyPassword.htm";
|
||||
dialog.width = 650;
|
||||
dialog.height = 280;
|
||||
dialog.fixed = true;
|
||||
dialog.execute();
|
||||
}
|
||||
|
||||
function doModifyMobile()
|
||||
{//修改手机号
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.title = "修改手机号";
|
||||
dialog.url = "modifyMobile.htm";
|
||||
dialog.width = 530;
|
||||
dialog.height = 220;
|
||||
dialog.fixed = true;
|
||||
dialog.execute();
|
||||
}
|
||||
|
||||
function doModifyOrderNum(operatorParam)
|
||||
{//修改接单数量
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.title = "修改接单数量";
|
||||
dialog.url = "modifyOrderNum.htm?operatorParam=" + operatorParam;
|
||||
dialog.width = 530;
|
||||
dialog.height = 220;
|
||||
dialog.fixed = true;
|
||||
dialog.execute();
|
||||
}
|
||||
|
||||
function doModifyWxcode()
|
||||
{// 修改个人微信
|
||||
var dialog = new Z.Dialog();
|
||||
dialog.title = "修改微信";
|
||||
dialog.url = "modifyWxcode.htm";
|
||||
dialog.width = 530;
|
||||
dialog.height = 220;
|
||||
dialog.fixed = true;
|
||||
dialog.execute();
|
||||
}
|
||||
|
||||
function doEditPersonalProfile(elem){
|
||||
if(Z(elem).text() == "编辑"){
|
||||
document.getElementById("personalProfile").readOnly = false;
|
||||
Z(elem).text("提交审核");
|
||||
} else {
|
||||
var personalProfile = Z("#personalProfile").val();
|
||||
if(personalProfile.length == 0){
|
||||
Z.alert("个人简介不能为空");
|
||||
return;
|
||||
} else if(personalProfile.length > 300){
|
||||
Z.alert("个人简介最多不能超过300个字符");
|
||||
return;
|
||||
}
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setContextPath("${context.getContextPath()}");
|
||||
ajax.setClassName("DesignerProfilePresenter");
|
||||
ajax.setMethodName("doSubmitReview");
|
||||
ajax.addParam("personalProfile",personalProfile);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
parent.Z.tips("提交成功");
|
||||
location.reload();
|
||||
});
|
||||
ajax.execute();
|
||||
}
|
||||
}
|
||||
|
||||
function doAddLabel(){
|
||||
if(Z(".iframenav-tab-item").length > 10){
|
||||
Z.alert("标签最大不能超过10个");
|
||||
return;
|
||||
}
|
||||
Z.prompt("请输入标签内容", "", function(value){
|
||||
if(value && value.length < 6){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setContextPath("${context.getContextPath()}");
|
||||
ajax.setClassName("DesignerProfilePresenter");
|
||||
ajax.setMethodName("addDesignerLabel");
|
||||
ajax.addParam("label",value);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
var addLabel = document.getElementById("addLabel");
|
||||
var newLabel = document.createElement("li");
|
||||
newLabel.className = "iframenav-tab-item";
|
||||
newLabel.innerHTML = "<span>" + value + '</span><i class="z-font z-error" onclick="doDeleteLabel(\''+ value +'\',this)"></i>';
|
||||
addLabel.parentElement.insertBefore(newLabel,addLabel);
|
||||
});
|
||||
ajax.execute();
|
||||
} else {
|
||||
Z.alert("标签内容不能为空且最多5个字符");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function doDeleteLabel(label,elem){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setContextPath("${context.getContextPath()}");
|
||||
ajax.setClassName("DesignerProfilePresenter");
|
||||
ajax.setMethodName("doDeleteLabel");
|
||||
ajax.addParam("label",label);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z(elem).parent().remove();
|
||||
});
|
||||
ajax.execute();
|
||||
}
|
||||
layui.config({
|
||||
base: '../zinc/module/'
|
||||
}).extend({
|
||||
xmSelect: 'xmSelect/xm-select',
|
||||
}).use(['jquery','xmSelect'], function () {
|
||||
var $ = layui.$;
|
||||
var xmSelect = layui.xmSelect;
|
||||
var workExperienceList = [{"name":"初入设计行业"},{"name":"图文广告点"},{"name":"淘宝等线上设计"},{"name":"品牌设计公司"},{"name":"综合广告公司"},{"name":"企业设计岗位"}];
|
||||
var designTypeList = [{"name":"名片类"},{"name":"海报类"},{"name":"不干胶类"},{"name":"卡片类"},{"name":"条幅类"},{"name":"帆布类"},{"name":"画册类"},{"name":"包装类"},{"name":"logo设计"},{"name":"画册设计"},{"name":"UI设计"},{"name":"网页设计"}];
|
||||
var skillScopeList = [{"name":"CDR"},{"name":"PS"},{"name":"AI"},{"name":"3Dmax"},{"name":"C4D"},{"name":"CAD"}];
|
||||
|
||||
var dbWorkExperience = '${course.getWorkExperience()}';
|
||||
var dbDesignType = '${course.getDesignType()}';
|
||||
var dbSkillScope = '${course.getSkillScope()}';
|
||||
|
||||
var workExperience = xmSelect.render({
|
||||
el: '#workExperience',
|
||||
toolbar: {show: true},
|
||||
theme: {color: '#28a3ef'},
|
||||
filterable: true,
|
||||
autoRow: true,
|
||||
prop: {
|
||||
name: 'name',
|
||||
value: 'name',
|
||||
},
|
||||
initValue: dbWorkExperience.split(","),
|
||||
data: workExperienceList
|
||||
});
|
||||
var designType = xmSelect.render({
|
||||
el: '#designType',
|
||||
toolbar: {show: true},
|
||||
theme: {color: '#28a3ef'},
|
||||
filterable: true,
|
||||
autoRow: true,
|
||||
prop: {
|
||||
name: 'name',
|
||||
value: 'name',
|
||||
},
|
||||
initValue: dbDesignType.split(","),
|
||||
data: designTypeList
|
||||
});
|
||||
var skillScope = xmSelect.render({
|
||||
el: '#skillScope',
|
||||
toolbar: {show: true},
|
||||
theme: {color: '#28a3ef'},
|
||||
filterable: true,
|
||||
autoRow: true,
|
||||
prop: {
|
||||
name: 'name',
|
||||
value: 'name',
|
||||
},
|
||||
initValue: dbSkillScope.split(","),
|
||||
data: skillScopeList
|
||||
});
|
||||
|
||||
$("#designerCourseSubmit").click(function(){
|
||||
designerCourseSubmit();
|
||||
});
|
||||
|
||||
function designerCourseSubmit()
|
||||
{//设计师个人经历信息提交
|
||||
console.log(workExperience.getValue("value"));
|
||||
|
||||
var workExperiences = workExperience.getValue("value");
|
||||
if(workExperiences.length <= 0){
|
||||
Z.alert("为了您更好的工作体验,请完整填写个人信息~");
|
||||
return;
|
||||
}
|
||||
|
||||
var skillScopes = skillScope.getValue("value");
|
||||
if(skillScopes.length <= 0){
|
||||
Z.alert("为了您更好的工作体验,请完整填写个人信息~");
|
||||
return;
|
||||
}
|
||||
|
||||
var designTypes = designType.getValue("value");
|
||||
if(designTypes.length <= 0){
|
||||
Z.alert("为了您更好的工作体验,请完整填写个人信息~");
|
||||
return;
|
||||
}
|
||||
|
||||
var workDuration = Z("#workDuration").val();
|
||||
if(workDuration == ""){
|
||||
Z.alert("为了您更好的工作体验,请完整填写个人信息~");
|
||||
return;
|
||||
}
|
||||
|
||||
var workStatus = Z("#workStatus").val();
|
||||
if(workStatus == ""){
|
||||
Z.alert("为了您更好的工作体验,请完整填写个人信息~");
|
||||
return;
|
||||
}
|
||||
|
||||
var receiveType = Z("#receiveType").val();
|
||||
if(receiveType == ""){
|
||||
Z.alert("为了您更好的工作体验,请完整填写个人信息~");
|
||||
return;
|
||||
}
|
||||
|
||||
var receiveAccount = Z("#receiveAccount").val();
|
||||
if(receiveAccount.length <= 0)
|
||||
{
|
||||
Z.alert("为了您更好的工作体验,请完整填写个人信息~");
|
||||
return;
|
||||
}
|
||||
|
||||
Z.confirm("提交前请仔细检查核对哦,确认提交吗?",function(){
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setContextPath("${context.getContextPath()}");
|
||||
ajax.setClassName("DesignerProfilePresenter");
|
||||
ajax.setMethodName("doDesignerCourseSubmit");
|
||||
ajax.addParam("workExperience",workExperiences.join(","));
|
||||
ajax.addParam("skillScope",skillScopes.join(","));
|
||||
ajax.addParam("designType",designTypes.join(","));
|
||||
ajax.addParam("workDuration",workDuration);
|
||||
ajax.addParam("workStatus",workStatus);
|
||||
ajax.addParam("receiveType",receiveType);
|
||||
ajax.addParam("receiveAccount",receiveAccount);
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("保存成功");
|
||||
});
|
||||
ajax.execute();
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
${zhiqim_manager_breadcrumb_name("个人中心")}
|
||||
${zhiqim_manager_content()}
|
||||
<div style="width:60%;">
|
||||
<!-- 基本信息 -->
|
||||
<table class="z-table z-bordered-line z-bg-white z-pd20 zi-bd-l zi-bd-r profileTable">
|
||||
<tr class="z-bg-gray">
|
||||
<td class="z-bold z-px14 zi-pd16 zi-pd-l20" colspan="5" style="padding: 20px !important;">账号信息</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="2" width="10%" style="text-align: center;padding-left: 0 !important;">
|
||||
<img class="z-w70 z-h70 z-bd-rd50p z-pointer" title="点击修改" src="${sessionUser.getAvatar100()}" onclick="doModifyAvatar();">
|
||||
</td>
|
||||
<td width="8%">用户昵称:</td>
|
||||
<td width="20%">#{operator.getOperatorCode()}</td>
|
||||
<td width="14%">登录密码:</td>
|
||||
<td width="20%">******** <span class="z-px12 z-text-orange z-pointer" onclick="doModifyPass();">修改</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="8%">手机号码:</td>
|
||||
<td><#if Validates.isNotEmpty(operator.getOperatorMobile())>${operator.getOperatorMobile()}<span class="z-px12 z-text-orange z-pointer" onclick="doModifyMobile();"> 修改</span><#else><span class="z-px14 z-color-999 z-pointer" onclick="doModifyMobile();">点击绑定</span></#if></span></td>
|
||||
<td width="14%">个人微信:</td>
|
||||
<td width="20%">
|
||||
<#if Validates.isNotEmpty(operator.getOperatorWxcode())>${operator.getOperatorWxcode()}<span class="z-px12 z-text-orange z-pointer" onclick="doModifyWxcode();"> 修改</span><#else><span class="z-px14 z-color-999 z-pointer" onclick="doModifyWxcode();">点击绑定</span></#if></td>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- 接单配置 -->
|
||||
<table class="z-table z-bordered-line z-bg-white z-pd20 zi-bd-l zi-bd-r z-mg-t10">
|
||||
<tr class="z-bg-gray">
|
||||
<td class="z-bold z-px14 zi-pd16 zi-pd-l20" colspan="4">接单配置</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%">最大同时接单量:</td>
|
||||
<td width="10%"><#if Validates.isNotEmpty(operator.getOperatorParam())>${operator.getOperatorParam()}<#else>0</#if>
|
||||
<span class="z-px12 z-text-orange z-pointer" onclick="doModifyOrderNum(<#if Validates.isNotEmpty(operator.getOperatorParam())>${operator.getOperatorParam()}<#else>0</#if>);">修改</span>
|
||||
</td>
|
||||
<td width="*" colspan="2"><span class="z-px14 z-color-red">
|
||||
说明:正在设计状态订单总数超过最大同时接单数时,系统将不会自动派单(大于0规则才会生效)
|
||||
</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="z-table z-bordered-line z-bg-white z-pd20 zi-bd-l zi-bd-r z-mg-t10">
|
||||
<tr class="z-h40">
|
||||
<td class="z-bg-gray z-bold z-px14" colspan="3">个人简介</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="display: flex;align-items: center;"><span class="z-color-red">*</span>工作经历 <div id="workExperience" style="display: inline-block;width: 205px;"></div></div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="display: flex;align-items: center;"><span class="z-color-red">*</span>软件能力 <div id="skillScope" style="display: inline-block;width: 200px;"></div></div>
|
||||
</td>
|
||||
<td>
|
||||
<div style="display: flex;align-items: center;"><span class="z-color-red">*</span>擅长设计 <div id="designType" style="display: inline-block;width: 200px;"></div></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="z-color-red">*</span>
|
||||
工作年限 <select name="workDuration" id="workDuration" class="z-select z-w200" data-role="z-select-search" data-class="${zmr_color_class}">
|
||||
<option value="">请选择</option>
|
||||
<option value="应届" <#if course.getWorkDuration() == "应届">selected</#if>>应届</option>
|
||||
<option value="1年以内" <#if course.getWorkDuration() == "1年以内">selected</#if>>1年以内</option>
|
||||
<option value="1-2年" <#if course.getWorkDuration() == "1-2年">selected</#if>>1-2年</option>
|
||||
<option value="2-3年" <#if course.getWorkDuration() == "2-3年">selected</#if>>2-3年</option>
|
||||
<option value="3年以上" <#if course.getWorkDuration() == "3年以上">selected</#if>>3年以上</option>
|
||||
<option value="5年以上" <#if course.getWorkDuration() == "5年以上">selected</#if>>5年以上</option>
|
||||
<option value="10年以上" <#if course.getWorkDuration() == "10年以上">selected</#if>>10年以上</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<span class="z-color-red">*</span>
|
||||
在职情况 <select name="workStatus" id="workStatus" class="z-select z-w200" data-role="z-select-search" data-class="${zmr_color_class}">
|
||||
<option value="">请选择</option>
|
||||
<option value="在职" <#if course.getWorkStatus() == "在职">selected</#if>>在职</option>
|
||||
<option value="待业" <#if course.getWorkStatus() == "待业">selected</#if>>待业</option>
|
||||
<option value="自由职业" <#if course.getWorkStatus() == "自由职业">selected</#if>>自由职业</option>
|
||||
<option value="自有工作室" <#if course.getWorkStatus() == "自有工作室">selected</#if>>自有工作室</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<span class="z-color-red">*</span>
|
||||
收款方式 <select name="receiveType" id="receiveType" class="z-select z-w200" data-role="z-select-search" data-class="${zmr_color_class}">
|
||||
<option value="">请选择</option>
|
||||
<option value="支付宝" <#if course.getReceiveType() == "支付宝">selected</#if>>支付宝</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span class="z-color-red">*</span>支付宝账号
|
||||
<input type="text" name="receiveAccount" id="receiveAccount" class="z-input ${zmr_color_class} z-w200" value="${course.getReceiveAccount()}" placeholder="手机号/邮箱">
|
||||
</td>
|
||||
<td colspan="2"></td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td colspan="3" align="center"><button class="z-button z-w120 z-mg-r15 ${zmr_color_class}" id="designerCourseSubmit"><i class="z-font z-save"></i>保存提交</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
${zhiqim_manager_content_end()}
|
||||
@@ -0,0 +1,25 @@
|
||||
<script>
|
||||
function backRemarks()
|
||||
{
|
||||
var ajax = new Z.Ajax();
|
||||
ajax.setClassName("RegCheckBackAction");
|
||||
ajax.setMethodName("backRemarks");
|
||||
ajax.addParam(Z("#questionsId").val());
|
||||
ajax.addParam(Z("#backRemarks").val());
|
||||
ajax.setFailureAlert();
|
||||
ajax.setSuccess(function(){
|
||||
Z.success("提交成功",function(){parent.location.reload();parent.Z.Dialog.close();});
|
||||
});
|
||||
ajax.setLoading("rackWait", '正在提交', {disabled:true});
|
||||
ajax.execute();
|
||||
}
|
||||
</script>
|
||||
<div class="z-h60 zi-pd20">
|
||||
<input id="questionsId" type="hidden" value="${questionsId}">
|
||||
拒绝原因:
|
||||
<textarea id="backRemarks" name="backRemarks" class="z-textarea z-w100p z-h200" style="vertical-align: middle;" maxlength="200"></textarea>
|
||||
</div>
|
||||
<div class="z-absolute z-b0 z-l0 z-w100p z-h80 z-pd20 z-text-center z-bg-gray">
|
||||
<button id="rackWait" type="button" class="z-button z-large z-w100 ${zmr_color_class}" onclick="backRemarks();">提交</button>
|
||||
<button type="button" class="z-button z-large z-w100 z-mg-l10" onclick="parent.Z.Dialog.close();">关闭</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user