@@ -71,13 +71,6 @@ class Comjobs extends Model
// 设置JSON数据返回数组
protected $jsonAssoc = true;
- //查询范围
- protected $globalScope = ['sex'];
- public function scopeSex($query)
- {
- $query->whereIn('sex',[0,2]);
- }
-
public function getWtypeTextAttr($value, $data)
{
$wtype = [1 => '按月', 2 => '按时', 3 => '按件', 4 => '按项目', 5 => '其他'];
@@ -42,7 +42,6 @@ class Ejobs extends EmpBaseController
$post['picall'] = empty($post['picall']) ? [] : $post['picall'];
if (empty($post['id'])) {
$post['workerid'] = $this->worker->id;
- $post['sex'] = 2;
$post['priority'] = 0;
$post['province'] = '福建省';
$item['city'] = '福州市';
@@ -24,7 +24,7 @@
{/block}
{block name="body"}
<van-nav-bar
- class="bg-pink"
+ class="bg-blue"
fixed="true"
left-text="返回"
left-arrow
@@ -6,7 +6,7 @@
@@ -13,7 +13,7 @@
@@ -19,7 +19,7 @@
>
<template #title>
@@ -8,7 +8,7 @@
@@ -7,7 +7,7 @@
@@ -5,7 +5,7 @@
@@ -11,7 +11,7 @@
@@ -16,7 +16,7 @@
@@ -21,7 +21,7 @@
@@ -22,7 +22,7 @@
@@ -9,7 +9,7 @@
@@ -17,7 +17,7 @@