格式化代码
This commit is contained in:
parent
cd9c1d9660
commit
3201d90a53
@ -21,24 +21,26 @@ use JetBrains\PhpStorm\Pure;
|
|||||||
* @property string $title 标题
|
* @property string $title 标题
|
||||||
* @property string $type 汇报类型
|
* @property string $type 汇报类型
|
||||||
* @property int $userid
|
* @property int $userid
|
||||||
* @property string|null $content
|
* @property string $content
|
||||||
|
* @property string $sign 汇报唯一标识
|
||||||
|
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\ReportReceive[] $Receives
|
||||||
|
* @property-read int|null $receives_count
|
||||||
|
* @property-read mixed $receives
|
||||||
|
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\User[] $receivesUser
|
||||||
|
* @property-read int|null $receives_user_count
|
||||||
|
* @property-read \App\Models\User|null $sendUser
|
||||||
* @method static Builder|Report newModelQuery()
|
* @method static Builder|Report newModelQuery()
|
||||||
* @method static Builder|Report newQuery()
|
* @method static Builder|Report newQuery()
|
||||||
* @method static Builder|Report query()
|
* @method static Builder|Report query()
|
||||||
* @method static Builder|Report whereContent($value)
|
* @method static Builder|Report whereContent($value)
|
||||||
* @method static Builder|Report whereCreatedAt($value)
|
* @method static Builder|Report whereCreatedAt($value)
|
||||||
* @method static Builder|Report whereId($value)
|
* @method static Builder|Report whereId($value)
|
||||||
|
* @method static Builder|Report whereSign($value)
|
||||||
* @method static Builder|Report whereTitle($value)
|
* @method static Builder|Report whereTitle($value)
|
||||||
* @method static Builder|Report whereType($value)
|
* @method static Builder|Report whereType($value)
|
||||||
* @method static Builder|Report whereUpdatedAt($value)
|
* @method static Builder|Report whereUpdatedAt($value)
|
||||||
* @method static Builder|Report whereUserid($value)
|
* @method static Builder|Report whereUserid($value)
|
||||||
* @mixin \Eloquent
|
* @mixin \Eloquent
|
||||||
* @property string $sign 汇报唯一标识
|
|
||||||
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\ReportReceive[] $Receives
|
|
||||||
* @property-read int|null $receives_count
|
|
||||||
* @property-read \Illuminate\Database\Eloquent\Collection|\App\Models\User[] $receivesUser
|
|
||||||
* @property-read int|null $receives_user_count
|
|
||||||
* @method static Builder|Report whereSign($value)
|
|
||||||
*/
|
*/
|
||||||
class Report extends AbstractModel
|
class Report extends AbstractModel
|
||||||
{
|
{
|
||||||
|
@ -27,7 +27,6 @@ import ReportMy from "./ReportMy"
|
|||||||
import ReportReceive from "./ReportReceive"
|
import ReportReceive from "./ReportReceive"
|
||||||
import ReportDetail from "./ReportDetail"
|
import ReportDetail from "./ReportDetail"
|
||||||
import DrawerOverlay from "../../../components/DrawerOverlay";
|
import DrawerOverlay from "../../../components/DrawerOverlay";
|
||||||
import {mapState} from "vuex";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "Report",
|
name: "Report",
|
||||||
|
@ -78,12 +78,12 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
reportData: {
|
reportData: {
|
||||||
title: ""
|
title: "",
|
||||||
, content: ""
|
content: "",
|
||||||
, type: "weekly"
|
type: "weekly",
|
||||||
, receive: []
|
receive: [],
|
||||||
, id: 0
|
id: 0,
|
||||||
, offset: 0 // 以当前日期为基础的周期偏移量。例如选择了上一周那么就是 -1,上一天同理。
|
offset: 0 // 以当前日期为基础的周期偏移量。例如选择了上一周那么就是 -1,上一天同理。
|
||||||
},
|
},
|
||||||
disabledType: false,
|
disabledType: false,
|
||||||
userInputShow: true,
|
userInputShow: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user