禅道bug修改
This commit is contained in:
parent
3d3f1a8c1d
commit
df0cc43171
|
|
@ -66,7 +66,7 @@ function initTable() {
|
||||||
, {field: 'outsourcerNum', align: 'center', title: '外包商数量'}
|
, {field: 'outsourcerNum', align: 'center', title: '外包商数量'}
|
||||||
, {
|
, {
|
||||||
field: 'isApprove', align: 'center', title: '评价状态', templet: d => {
|
field: 'isApprove', align: 'center', title: '评价状态', templet: d => {
|
||||||
if (d.rejectReason) {
|
if (d.rejectReason || Number(d.isApprove) === 2) {
|
||||||
return '评价驳回'
|
return '评价驳回'
|
||||||
} else {
|
} else {
|
||||||
return Number(d.isApprove) === 0 ? '待评价' : (Number(d.isApprove) === 1 ? '已评价' : '')
|
return Number(d.isApprove) === 0 ? '待评价' : (Number(d.isApprove) === 1 ? '已评价' : '')
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@
|
||||||
<label class="layui-form-label"><span class="required_icon">*</span>姓名</label>
|
<label class="layui-form-label"><span class="required_icon">*</span>姓名</label>
|
||||||
<div class="layui-input-inline">
|
<div class="layui-input-inline">
|
||||||
<input class="layui-input" id="userName" name="userName" lay-verify="required"
|
<input class="layui-input" id="userName" name="userName" lay-verify="required"
|
||||||
lay-affix="clear" autocomplete="off" maxlength="30" readonly onclick="showPersonPage()">
|
lay-affix="clear" autocomplete="off" maxlength="30">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="layui-form-item">
|
<div class="layui-form-item">
|
||||||
|
|
|
||||||
|
|
@ -524,7 +524,7 @@
|
||||||
|
|
||||||
|
|
||||||
// //获取表格填写的数据
|
// //获取表格填写的数据
|
||||||
// var tableData = table.cache.baseTable;
|
var tableData = table.cache.baseTable;
|
||||||
// //校验所有单元格是否填写
|
// //校验所有单元格是否填写
|
||||||
// for (var i = 0; i < tableData.length; i++) {
|
// for (var i = 0; i < tableData.length; i++) {
|
||||||
// var item = tableData[i];
|
// var item = tableData[i];
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,11 @@
|
||||||
if (list && list.length > 0) {
|
if (list && list.length > 0) {
|
||||||
$.each(list, function (index, item) {
|
$.each(list, function (index, item) {
|
||||||
//html += "<option value='" + item[code] + "' item='" + JSON.stringify(item) + "'>" + item[nameCode] + "</option>";
|
//html += "<option value='" + item[code] + "' item='" + JSON.stringify(item) + "'>" + item[nameCode] + "</option>";
|
||||||
html += "<option value='" + item.id + "'>" + item.name + "</option>";
|
if (item.name === '发展运营中心'){
|
||||||
|
html += "<option value='" + item.id + "' selected>" + item.name + "</option>";
|
||||||
|
}else {
|
||||||
|
html += "<option value='" + item.id + "'>" + item.name + "</option>";
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -178,7 +178,7 @@
|
||||||
//验证密码的强度 6-20位数字和字母组合 至少3种字符
|
//验证密码的强度 6-20位数字和字母组合 至少3种字符
|
||||||
var reg = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[~!@&%#_])[a-zA-Z0-9~!@&%#_]{8,26}$/;
|
var reg = /^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[~!@&%#_])[a-zA-Z0-9~!@&%#_]{8,26}$/;
|
||||||
if (!reg.test(value)) {
|
if (!reg.test(value)) {
|
||||||
layer.msg('密码最少8个字符,最多20个字符,至少一个字母,一个数字和一个特殊字符');
|
layer.msg('密码最少8个字符,最多20个字符,至少一个大写、一个小写字母,一个数字和一个特殊字符(~!@&%#_)');
|
||||||
return elem.focus();
|
return elem.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue