|
@@ -1,10 +1,7 @@
|
|
|
-
|
|
|
-
|
|
|
export const missionCenterData = {
|
|
|
- page: false,
|
|
|
- align: "center",
|
|
|
- menuAlign: "center",
|
|
|
- indexLabel: "序号",
|
|
|
+ align: 'center',
|
|
|
+ menuAlign: 'center',
|
|
|
+ indexLabel: '序号',
|
|
|
index: true,
|
|
|
selection: false,
|
|
|
border: true,
|
|
@@ -13,53 +10,53 @@ export const missionCenterData = {
|
|
|
header: false,
|
|
|
editBtn: false,
|
|
|
searchMenuSpan: 4,
|
|
|
- searchLabelWidth: "90",
|
|
|
+ searchLabelWidth: '90',
|
|
|
column: [
|
|
|
{
|
|
|
- type: "input",
|
|
|
- label: "执行包名称",
|
|
|
- prop: "scorePackageName",
|
|
|
+ type: 'input',
|
|
|
+ label: '执行包名称',
|
|
|
+ prop: 'scorePackageName',
|
|
|
search: true,
|
|
|
span: 24
|
|
|
},
|
|
|
{
|
|
|
- type: "select",
|
|
|
- label: "分发对象",
|
|
|
- prop: "sendPackageDeptId",
|
|
|
+ type: 'select',
|
|
|
+ label: '分发对象',
|
|
|
+ prop: 'sendPackageDeptId',
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
|
viewDisplay: false,
|
|
|
search: true,
|
|
|
span: 13,
|
|
|
- dicUrl: "/admin/wmscorepackage/selectSendPackageDeptId",
|
|
|
+ dicUrl: '/admin/wmscorepackage/selectSendPackageDeptId',
|
|
|
props: {
|
|
|
- label: "name",
|
|
|
- value: "deptId"
|
|
|
+ label: 'name',
|
|
|
+ value: 'deptId'
|
|
|
},
|
|
|
- formatter: function(row) {
|
|
|
+ formatter: function (row) {
|
|
|
return parseInt(row.sendPackageDeptId);
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- label: "服务总值",
|
|
|
- prop: "score",
|
|
|
+ label: '服务总值',
|
|
|
+ prop: 'score',
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
|
viewDisplay: false,
|
|
|
span: 13
|
|
|
},
|
|
|
{
|
|
|
- label: "执行包类型",
|
|
|
- prop: "packageType1",
|
|
|
+ label: '执行包类型',
|
|
|
+ prop: 'packageType1',
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
|
viewDisplay: false,
|
|
|
- dicUrl: "/admin/dict/type/package_type1",
|
|
|
+ dicUrl: '/admin/dict/type/package_type1',
|
|
|
span: 13
|
|
|
},
|
|
|
{
|
|
|
- label: "有效服务类型",
|
|
|
- prop: "taskTypes",
|
|
|
+ label: '有效服务类型',
|
|
|
+ prop: 'taskTypes',
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
|
viewDisplay: false,
|
|
@@ -67,8 +64,8 @@ export const missionCenterData = {
|
|
|
slot: true
|
|
|
},
|
|
|
{
|
|
|
- label: "关联执行包",
|
|
|
- prop: "relationScoreId",
|
|
|
+ label: '关联执行包',
|
|
|
+ prop: 'relationScoreId',
|
|
|
hide: true,
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
@@ -76,26 +73,26 @@ export const missionCenterData = {
|
|
|
span: 13
|
|
|
},
|
|
|
{
|
|
|
- label: "所属月份",
|
|
|
- prop: "belongDate",
|
|
|
- type: "date",
|
|
|
+ label: '所属月份',
|
|
|
+ prop: 'belongDate',
|
|
|
+ type: 'date',
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
|
viewDisplay: false,
|
|
|
- format: "yyyy-MM",
|
|
|
- valueFormat: "yyyy-MM",
|
|
|
+ format: 'yyyy-MM',
|
|
|
+ valueFormat: 'yyyy-MM',
|
|
|
span: 13
|
|
|
},
|
|
|
{
|
|
|
- label: "分配日期",
|
|
|
- prop: "allocationDate",
|
|
|
+ label: '分配日期',
|
|
|
+ prop: 'allocationDate',
|
|
|
span: 13,
|
|
|
- type: "date",
|
|
|
+ type: 'date',
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
|
viewDisplay: false,
|
|
|
- format: "yyyy-MM-dd hh:mm:ss",
|
|
|
- valueFormat: "yyyy-MM-dd hh:mm:ss"
|
|
|
+ format: 'yyyy-MM-dd hh:mm:ss',
|
|
|
+ valueFormat: 'yyyy-MM-dd hh:mm:ss'
|
|
|
// dicUrl: '/admin/wmtaskrule/list',
|
|
|
// props: {
|
|
|
// label: 'ruleMonth',
|
|
@@ -103,34 +100,34 @@ export const missionCenterData = {
|
|
|
// },
|
|
|
},
|
|
|
{
|
|
|
- type: "select",
|
|
|
- label: "执行包状态",
|
|
|
+ type: 'select',
|
|
|
+ label: '执行包状态',
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
|
viewDisplay: false,
|
|
|
span: 13,
|
|
|
- prop: "packageFinishStatus",
|
|
|
- dicUrl: "/admin/dict/type/package_finish_status"
|
|
|
+ prop: 'packageFinishStatus',
|
|
|
+ dicUrl: '/admin/dict/type/package_finish_status'
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- type: "input",
|
|
|
- label: "完成服务分值",
|
|
|
+ type: 'input',
|
|
|
+ label: '完成服务分值',
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
|
viewDisplay: false,
|
|
|
- prop: "ysh",
|
|
|
+ prop: 'ysh',
|
|
|
span: 13
|
|
|
},
|
|
|
{
|
|
|
- label: "完成百分比",
|
|
|
+ label: '完成百分比',
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
|
viewDisplay: false,
|
|
|
- prop: "finishRate",
|
|
|
+ prop: 'finishRate',
|
|
|
span: 13,
|
|
|
- formatter: function(row) {
|
|
|
- return parseInt(row.finishRate) + "%";
|
|
|
+ formatter: function (row) {
|
|
|
+ return parseInt(row.finishRate) + '%';
|
|
|
}
|
|
|
},
|
|
|
// {
|
|
@@ -156,8 +153,8 @@ export const missionCenterData = {
|
|
|
// type: 'select'
|
|
|
// },
|
|
|
{
|
|
|
- label: "可结算服务值",
|
|
|
- prop: "ywctt",
|
|
|
+ label: '可结算服务值',
|
|
|
+ prop: 'ywctt',
|
|
|
// slot:true,
|
|
|
addDisplay: false,
|
|
|
editDisplay: false,
|
|
@@ -169,10 +166,9 @@ export const missionCenterData = {
|
|
|
|
|
|
// 查看页面
|
|
|
export const missionLookdata = {
|
|
|
- page: false,
|
|
|
- align: "center",
|
|
|
- menuAlign: "center",
|
|
|
- indexLabel: "序号",
|
|
|
+ align: 'center',
|
|
|
+ menuAlign: 'center',
|
|
|
+ indexLabel: '序号',
|
|
|
index: true,
|
|
|
selection: false,
|
|
|
border: true,
|
|
@@ -181,60 +177,60 @@ export const missionLookdata = {
|
|
|
editBtn: false,
|
|
|
header: false,
|
|
|
searchMenuSpan: 4,
|
|
|
- searchLabelWidth: "90",
|
|
|
+ searchLabelWidth: '90',
|
|
|
column: [
|
|
|
{
|
|
|
- type: "select",
|
|
|
- label: "服务类型",
|
|
|
- prop: "taskTypeId",
|
|
|
+ type: 'select',
|
|
|
+ label: '服务类型',
|
|
|
+ prop: 'taskTypeId',
|
|
|
span: 13,
|
|
|
- dicUrl: "/admin/wmtasktype/list",
|
|
|
+ dicUrl: '/admin/wmtasktype/list',
|
|
|
props: {
|
|
|
- label: "taskTypeName",
|
|
|
- value: "id"
|
|
|
+ label: 'taskTypeName',
|
|
|
+ value: 'id'
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- type: "input",
|
|
|
- label: "服务积分",
|
|
|
- prop: "score",
|
|
|
+ type: 'input',
|
|
|
+ label: '服务积分',
|
|
|
+ prop: 'score',
|
|
|
span: 24
|
|
|
},
|
|
|
{
|
|
|
- type: "input",
|
|
|
- label: "推广员名称",
|
|
|
- prop: "taskUsername"
|
|
|
+ type: 'input',
|
|
|
+ label: '推广员名称',
|
|
|
+ prop: 'taskUsername'
|
|
|
},
|
|
|
{
|
|
|
- label: "完成时间",
|
|
|
- prop: "lookintoDate",
|
|
|
+ label: '完成时间',
|
|
|
+ prop: 'lookintoDate',
|
|
|
span: 13,
|
|
|
- type: "datetime",
|
|
|
- format: "yyyy-MM-dd HH:mm:ss",
|
|
|
- valueFormat: "yyyy-MM-dd HH:mm:ss"
|
|
|
+ type: 'datetime',
|
|
|
+ format: 'yyyy-MM-dd HH:mm:ss',
|
|
|
+ valueFormat: 'yyyy-MM-dd HH:mm:ss'
|
|
|
},
|
|
|
{
|
|
|
- label: "审核状态",
|
|
|
- prop: "taskStatus",
|
|
|
+ label: '审核状态',
|
|
|
+ prop: 'taskStatus',
|
|
|
span: 13,
|
|
|
- type: "select",
|
|
|
- dicUrl: "/admin/dict/type/task_status"
|
|
|
+ type: 'select',
|
|
|
+ dicUrl: '/admin/dict/type/task_status'
|
|
|
},
|
|
|
{
|
|
|
- type: "input",
|
|
|
- label: "执行包名称",
|
|
|
- prop: "scorePackageName",
|
|
|
+ type: 'input',
|
|
|
+ label: '执行包名称',
|
|
|
+ prop: 'scorePackageName',
|
|
|
span: 13
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- type: "select",
|
|
|
- label: "服务提供商",
|
|
|
- prop: "deptId",
|
|
|
- dicUrl: "/admin/dept/list",
|
|
|
+ type: 'select',
|
|
|
+ label: '服务提供商',
|
|
|
+ prop: 'deptId',
|
|
|
+ dicUrl: '/admin/dept/list',
|
|
|
props: {
|
|
|
- label: "name",
|
|
|
- value: "dept_id"
|
|
|
+ label: 'name',
|
|
|
+ value: 'dept_id'
|
|
|
}
|
|
|
}
|
|
|
// {
|