30 changed files with 4545 additions and 3595 deletions
@ -1,21 +1,21 @@ |
|||||
{ |
{ |
||||
"resourceId":"资源", |
"resourceId": "资源", |
||||
"resourceIdPlaceholder":"全部", |
"resourceIdPlaceholder": "全部", |
||||
"resourceType":"资源类型", |
"resourceType": "资源类型", |
||||
"resourceTypePlaceholder":"请输入资源类型", |
"resourceTypePlaceholder": "请输入资源类型", |
||||
"communicationType":"沟通类型", |
"communicationType": "沟通类型", |
||||
"communicationTypePlaceholder":"请输入沟通类型", |
"communicationTypePlaceholder": "请输入沟通类型", |
||||
"communicationResult":"沟通结果", |
"communicationResult": "沟通结果", |
||||
"communicationResultPlaceholder":"请输入沟通结果", |
"communicationResultPlaceholder": "请输入沟通结果", |
||||
"communicationTime":"沟通时间", |
"communicationTime": "沟通时间", |
||||
"communicationTimePlaceholder":"请输入沟通时间", |
"communicationTimePlaceholder": "请输入沟通时间", |
||||
"remarks":"备注", |
"remarks": "备注", |
||||
"remarksPlaceholder":"请输入备注", |
"remarksPlaceholder": "请输入备注", |
||||
"tag":"标签", |
"tag": "标签", |
||||
"tagPlaceholder":"请输入标签", |
"tagPlaceholder": "请输入标签", |
||||
"addCommunicationRecords":"添加沟通记录", |
"addCommunicationRecords": "添加沟通记录", |
||||
"updateCommunicationRecords":"编辑沟通记录", |
"updateCommunicationRecords": "编辑沟通记录", |
||||
"communicationRecordsDeleteTips":"确定要删除该数据吗?", |
"communicationRecordsDeleteTips": "确定要删除该数据吗?", |
||||
"startDate":"请选择开始时间", |
"startDate": "请选择开始时间", |
||||
"endDate":"请选择结束时间" |
"endDate": "请选择结束时间" |
||||
} |
} |
||||
@ -1,107 +1,105 @@ |
|||||
{ |
{ |
||||
"source":"来源", |
"source": "来源", |
||||
"sourcePlaceholder":"请输入来源", |
"sourcePlaceholder": "请输入来源", |
||||
"sourceChannel":"来源渠道", |
"sourceChannel": "来源渠道", |
||||
"sourceChannelPlaceholder":"请输入来源渠道", |
"sourceChannelPlaceholder": "请输入来源渠道", |
||||
"consultant":"顾问", |
"consultant": "顾问", |
||||
"name":"姓名", |
"name": "姓名", |
||||
"namePlaceholder":"请输入姓名", |
"namePlaceholder": "请输入姓名", |
||||
"age":"年龄", |
"age": "年龄", |
||||
"agePlaceholder":"请输入年龄", |
"agePlaceholder": "请输入年龄", |
||||
"gender":"性别", |
"gender": "性别", |
||||
"genderPlaceholder":"请输入性别", |
"genderPlaceholder": "请输入性别", |
||||
"phoneNumber":"联系电话", |
"phoneNumber": "联系电话", |
||||
"phoneNumberPlaceholder":"请输入联系电话", |
"phoneNumberPlaceholder": "请输入联系电话", |
||||
"demand":"需求", |
"demand": "需求", |
||||
"demandPlaceholder":"请输入需求", |
"demandPlaceholder": "请输入需求", |
||||
"purchasingPower":"购买力", |
"purchasingPower": "购买力", |
||||
"purchasingPowerPlaceholder":"请输入购买力", |
"purchasingPowerPlaceholder": "请输入购买力", |
||||
"cognitiveIdea":"认知理念", |
"cognitiveIdea": "认知理念", |
||||
"cognitiveIdeaPlaceholder":"请输入认知理念", |
"cognitiveIdeaPlaceholder": "请输入认知理念", |
||||
"optionalClassTime":"可选上课时间", |
"optionalClassTime": "可选上课时间", |
||||
"optionalClassTimePlaceholder":"请输入可选上课时间", |
"optionalClassTimePlaceholder": "请输入可选上课时间", |
||||
"distance":"距离", |
"distance": "距离", |
||||
"distancePlaceholder":"请输入距离", |
"distancePlaceholder": "请输入距离", |
||||
"decisionMaker":"决策人", |
"decisionMaker": "决策人", |
||||
"decisionMakerPlaceholder":"请输入决策人", |
"decisionMakerPlaceholder": "请输入决策人", |
||||
"initialIntent":"客户初步意向度", |
"initialIntent": "客户初步意向度", |
||||
"initialIntentPlaceholder":"请输入客户初步意向度", |
"initialIntentPlaceholder": "请输入客户初步意向度", |
||||
"campus":"所属校区", |
"campus": "所属校区", |
||||
"campusPlaceholder":"请输入所属校区", |
"campusPlaceholder": "请输入所属校区", |
||||
"status":"客户状态", |
"status": "客户状态", |
||||
"statusPlaceholder":"请输入客户状态", |
"statusPlaceholder": "请输入客户状态", |
||||
"addCustomerResources":"添加客户资源", |
"addCustomerResources": "添加客户资源", |
||||
"updateCustomerResources":"编辑客户资源", |
"updateCustomerResources": "编辑客户资源", |
||||
"customerResourcesDeleteTips":"确定要删除该数据吗?", |
"customerResourcesDeleteTips": "确定要删除该数据吗?", |
||||
"startDate":"请选择开始时间", |
"startDate": "请选择开始时间", |
||||
"endDate":"请选择结束时间", |
"endDate": "请选择结束时间", |
||||
|
|
||||
|
"resourceId": "资源", |
||||
|
"resourceIdPlaceholder": "请输入资源", |
||||
|
"orderStatus": "订单状态", |
||||
|
"orderStatusPlaceholder": "请输入订单状态", |
||||
|
"paymentType": "付款类型", |
||||
|
"paymentTypePlaceholder": "请输入付款类型", |
||||
|
"orderAmount": "订单金额", |
||||
|
"orderAmountPlaceholder": "请输入订单金额", |
||||
|
"courseId": "课程", |
||||
|
"courseIdPlaceholder": "请输入课程", |
||||
|
"classId": "班级", |
||||
|
"classIdPlaceholder": "请输入班级", |
||||
|
"staffId": "人员", |
||||
|
"paymentTime": "支付时间", |
||||
|
"addOrderTable": "添加订单", |
||||
|
"updateOrderTable": "编辑订单", |
||||
|
|
||||
"resourceId":"资源", |
"resourceId": "客户姓名", |
||||
"resourceIdPlaceholder":"请输入资源", |
"resourceIdPlaceholder": "全部", |
||||
"orderStatus":"订单状态", |
"studentId": "学员姓名", |
||||
"orderStatusPlaceholder":"请输入订单状态", |
"studentIdPlaceholder": "全部", |
||||
"paymentType":"付款类型", |
"height": "身高", |
||||
"paymentTypePlaceholder":"请输入付款类型", |
"heightPlaceholder": "请输入身高", |
||||
"orderAmount":"订单金额", |
"createdAt": "创建时间", |
||||
"orderAmountPlaceholder":"请输入订单金额", |
"updatedAt": "修改时间", |
||||
"courseId":"课程", |
"addPhysicalTest": "添加体测", |
||||
"courseIdPlaceholder":"请输入课程", |
"updatePhysicalTest": "编辑体测", |
||||
"classId":"班级", |
"physicalTestDeleteTips": "确定要删除该数据吗?", |
||||
"classIdPlaceholder":"请输入班级", |
"startDate": "请选择开始时间", |
||||
"staffId":"人员", |
"endDate": "请选择结束时间", |
||||
"paymentTime":"支付时间", |
|
||||
"addOrderTable":"添加订单", |
|
||||
"updateOrderTable":"编辑订单", |
|
||||
|
|
||||
|
"resourceId": "客户姓名", |
||||
"resourceId":"客户姓名", |
"resourceIdPlaceholder": "全部", |
||||
"resourceIdPlaceholder":"全部", |
"studentId": "学员姓名", |
||||
"studentId":"学员姓名", |
"studentIdPlaceholder": "全部", |
||||
"studentIdPlaceholder":"全部", |
"height": "身高", |
||||
"height":"身高", |
"heightPlaceholder": "请输入身高", |
||||
"heightPlaceholder":"请输入身高", |
"weight": "体重", |
||||
"createdAt":"创建时间", |
"weightPlaceholder": "请输入体重", |
||||
"updatedAt":"修改时间", |
"coachId": "教练", |
||||
"addPhysicalTest":"添加体测", |
"coachIdPlaceholder": "请输入教练", |
||||
"updatePhysicalTest":"编辑体测", |
"seatedForwardBend": "坐位体前屈", |
||||
"physicalTestDeleteTips":"确定要删除该数据吗?", |
"seatedForwardBendPlaceholder": "请输入坐位体前屈", |
||||
"startDate":"请选择开始时间", |
"sitUps": "仰卧卷腹", |
||||
"endDate":"请选择结束时间", |
"sitUpsPlaceholder": "请输入仰卧卷腹", |
||||
|
"pushUps": "九十度仰卧撑", |
||||
"resourceId":"客户姓名", |
"pushUpsPlaceholder": "请输入九十度仰卧撑", |
||||
"resourceIdPlaceholder":"全部", |
"flamingoBalance": "火烈鸟平衡测试", |
||||
"studentId":"学员姓名", |
"flamingoBalancePlaceholder": "请输入火烈鸟平衡测试", |
||||
"studentIdPlaceholder":"全部", |
"thirtySecJump": "三十秒双脚连续跳", |
||||
"height":"身高", |
"thirtySecJumpPlaceholder": "请输入三十秒双脚连续跳", |
||||
"heightPlaceholder":"请输入身高", |
"standingLongJump": "立定跳远", |
||||
"weight":"体重", |
"standingLongJumpPlaceholder": "请输入立定跳远", |
||||
"weightPlaceholder":"请输入体重", |
"agilityRun": "4乘10m灵敏折返跑", |
||||
"coachId":"教练", |
"agilityRunPlaceholder": "请输入4乘10m灵敏折返跑", |
||||
"coachIdPlaceholder":"请输入教练", |
"balanceBeam": "走平衡木", |
||||
"seatedForwardBend":"坐位体前屈", |
"balanceBeamPlaceholder": "请输入走平衡木", |
||||
"seatedForwardBendPlaceholder":"请输入坐位体前屈", |
"tennisThrow": "网球掷远", |
||||
"sitUps":"仰卧卷腹", |
"tennisThrowPlaceholder": "请输入网球掷远", |
||||
"sitUpsPlaceholder":"请输入仰卧卷腹", |
"tenMeterShuttleRun": "十米往返跑", |
||||
"pushUps":"九十度仰卧撑", |
"tenMeterShuttleRunPlaceholder": "请输入十米往返跑", |
||||
"pushUpsPlaceholder":"请输入九十度仰卧撑", |
"addPhysicalTest": "添加体测", |
||||
"flamingoBalance":"火烈鸟平衡测试", |
"updatePhysicalTest": "编辑体测", |
||||
"flamingoBalancePlaceholder":"请输入火烈鸟平衡测试", |
"physicalTestDeleteTips": "确定要删除该数据吗?", |
||||
"thirtySecJump":"三十秒双脚连续跳", |
"startDate": "请选择开始时间", |
||||
"thirtySecJumpPlaceholder":"请输入三十秒双脚连续跳", |
"endDate": "请选择结束时间" |
||||
"standingLongJump":"立定跳远", |
|
||||
"standingLongJumpPlaceholder":"请输入立定跳远", |
|
||||
"agilityRun":"4乘10m灵敏折返跑", |
|
||||
"agilityRunPlaceholder":"请输入4乘10m灵敏折返跑", |
|
||||
"balanceBeam":"走平衡木", |
|
||||
"balanceBeamPlaceholder":"请输入走平衡木", |
|
||||
"tennisThrow":"网球掷远", |
|
||||
"tennisThrowPlaceholder":"请输入网球掷远", |
|
||||
"tenMeterShuttleRun":"十米往返跑", |
|
||||
"tenMeterShuttleRunPlaceholder":"请输入十米往返跑", |
|
||||
"addPhysicalTest":"添加体测", |
|
||||
"updatePhysicalTest":"编辑体测", |
|
||||
"physicalTestDeleteTips":"确定要删除该数据吗?", |
|
||||
"startDate":"请选择开始时间", |
|
||||
"endDate":"请选择结束时间" |
|
||||
} |
} |
||||
@ -1,15 +1,15 @@ |
|||||
{ |
{ |
||||
"questionType":"题型", |
"questionType": "题型", |
||||
"questionContentType":"题干", |
"questionContentType": "题干", |
||||
"questionContent":"题干内容", |
"questionContent": "题干内容", |
||||
"optionAContentType":"选项类型", |
"optionAContentType": "选项类型", |
||||
"optionAContent":"选项内容", |
"optionAContent": "选项内容", |
||||
"correctAnswer":"正确答案", |
"correctAnswer": "正确答案", |
||||
"questionTypePlaceholder":"请选择题型", |
"questionTypePlaceholder": "请选择题型", |
||||
"questionContentTypePlaceholder":"请选择题干类型", |
"questionContentTypePlaceholder": "请选择题干类型", |
||||
"questionContentPlaceholder":"请输入题干内容", |
"questionContentPlaceholder": "请输入题干内容", |
||||
"correctAnswerPlaceholder":"请输入正确答案", |
"correctAnswerPlaceholder": "请输入正确答案", |
||||
"addExamQuestions":"添加试题", |
"addExamQuestions": "添加试题", |
||||
"updateExamQuestions":"编辑试题", |
"updateExamQuestions": "编辑试题", |
||||
"examQuestionsDeleteTips":"确定要删除该试题吗?" |
"examQuestionsDeleteTips": "确定要删除该试题吗?" |
||||
} |
} |
||||
@ -1,21 +1,21 @@ |
|||||
{ |
{ |
||||
"resourceId":"资源", |
"resourceId": "资源", |
||||
"resourceIdPlaceholder":"请输入资源", |
"resourceIdPlaceholder": "请输入资源", |
||||
"orderStatus":"订单状态", |
"orderStatus": "订单状态", |
||||
"orderStatusPlaceholder":"请输入订单状态", |
"orderStatusPlaceholder": "请输入订单状态", |
||||
"paymentType":"付款类型", |
"paymentType": "付款类型", |
||||
"paymentTypePlaceholder":"请输入付款类型", |
"paymentTypePlaceholder": "请输入付款类型", |
||||
"orderAmount":"订单金额", |
"orderAmount": "订单金额", |
||||
"orderAmountPlaceholder":"请输入订单金额", |
"orderAmountPlaceholder": "请输入订单金额", |
||||
"courseId":"课程", |
"courseId": "课程", |
||||
"courseIdPlaceholder":"请输入课程", |
"courseIdPlaceholder": "请输入课程", |
||||
"classId":"班级", |
"classId": "班级", |
||||
"classIdPlaceholder":"请输入班级", |
"classIdPlaceholder": "请输入班级", |
||||
"staffId":"人员", |
"staffId": "人员", |
||||
"paymentTime":"支付时间", |
"paymentTime": "支付时间", |
||||
"addOrderTable":"添加订单", |
"addOrderTable": "添加订单", |
||||
"updateOrderTable":"编辑订单", |
"updateOrderTable": "编辑订单", |
||||
"orderTableDeleteTips":"确定要删除该数据吗?", |
"orderTableDeleteTips": "确定要删除该数据吗?", |
||||
"startDate":"请选择开始时间", |
"startDate": "请选择开始时间", |
||||
"endDate":"请选择结束时间" |
"endDate": "请选择结束时间" |
||||
} |
} |
||||
@ -1,37 +1,37 @@ |
|||||
{ |
{ |
||||
"resourceId":"客户姓名", |
"resourceId": "客户姓名", |
||||
"resourceIdPlaceholder":"全部", |
"resourceIdPlaceholder": "全部", |
||||
"studentId":"学员姓名", |
"studentId": "学员姓名", |
||||
"studentIdPlaceholder":"全部", |
"studentIdPlaceholder": "全部", |
||||
"height":"身高", |
"height": "身高", |
||||
"heightPlaceholder":"请输入身高", |
"heightPlaceholder": "请输入身高", |
||||
"weight":"体重", |
"weight": "体重", |
||||
"weightPlaceholder":"请输入体重", |
"weightPlaceholder": "请输入体重", |
||||
"coachId":"教练", |
"coachId": "教练", |
||||
"coachIdPlaceholder":"请输入教练", |
"coachIdPlaceholder": "请输入教练", |
||||
"seatedForwardBend":"坐位体前屈", |
"seatedForwardBend": "坐位体前屈", |
||||
"seatedForwardBendPlaceholder":"请输入坐位体前屈", |
"seatedForwardBendPlaceholder": "请输入坐位体前屈", |
||||
"sitUps":"仰卧卷腹", |
"sitUps": "仰卧卷腹", |
||||
"sitUpsPlaceholder":"请输入仰卧卷腹", |
"sitUpsPlaceholder": "请输入仰卧卷腹", |
||||
"pushUps":"九十度仰卧撑", |
"pushUps": "九十度仰卧撑", |
||||
"pushUpsPlaceholder":"请输入九十度仰卧撑", |
"pushUpsPlaceholder": "请输入九十度仰卧撑", |
||||
"flamingoBalance":"火烈鸟平衡测试", |
"flamingoBalance": "火烈鸟平衡测试", |
||||
"flamingoBalancePlaceholder":"请输入火烈鸟平衡测试", |
"flamingoBalancePlaceholder": "请输入火烈鸟平衡测试", |
||||
"thirtySecJump":"三十秒双脚连续跳", |
"thirtySecJump": "三十秒双脚连续跳", |
||||
"thirtySecJumpPlaceholder":"请输入三十秒双脚连续跳", |
"thirtySecJumpPlaceholder": "请输入三十秒双脚连续跳", |
||||
"standingLongJump":"立定跳远", |
"standingLongJump": "立定跳远", |
||||
"standingLongJumpPlaceholder":"请输入立定跳远", |
"standingLongJumpPlaceholder": "请输入立定跳远", |
||||
"agilityRun":"4乘10m灵敏折返跑", |
"agilityRun": "4乘10m灵敏折返跑", |
||||
"agilityRunPlaceholder":"请输入4乘10m灵敏折返跑", |
"agilityRunPlaceholder": "请输入4乘10m灵敏折返跑", |
||||
"balanceBeam":"走平衡木", |
"balanceBeam": "走平衡木", |
||||
"balanceBeamPlaceholder":"请输入走平衡木", |
"balanceBeamPlaceholder": "请输入走平衡木", |
||||
"tennisThrow":"网球掷远", |
"tennisThrow": "网球掷远", |
||||
"tennisThrowPlaceholder":"请输入网球掷远", |
"tennisThrowPlaceholder": "请输入网球掷远", |
||||
"tenMeterShuttleRun":"十米往返跑", |
"tenMeterShuttleRun": "十米往返跑", |
||||
"tenMeterShuttleRunPlaceholder":"请输入十米往返跑", |
"tenMeterShuttleRunPlaceholder": "请输入十米往返跑", |
||||
"addPhysicalTest":"添加体测", |
"addPhysicalTest": "添加体测", |
||||
"updatePhysicalTest":"编辑体测", |
"updatePhysicalTest": "编辑体测", |
||||
"physicalTestDeleteTips":"确定要删除该数据吗?", |
"physicalTestDeleteTips": "确定要删除该数据吗?", |
||||
"startDate":"请选择开始时间", |
"startDate": "请选择开始时间", |
||||
"endDate":"请选择结束时间" |
"endDate": "请选择结束时间" |
||||
} |
} |
||||
@ -1,39 +1,39 @@ |
|||||
{ |
{ |
||||
"resourceId":"客户姓名", |
"resourceId": "客户姓名", |
||||
"studentId":"学员姓名", |
"studentId": "学员姓名", |
||||
"height":"身高", |
"height": "身高", |
||||
"weight":"体重", |
"weight": "体重", |
||||
"coachId":"教练", |
"coachId": "教练", |
||||
"createdAt":"创建时间", |
"createdAt": "创建时间", |
||||
"updatedAt":"修改时间", |
"updatedAt": "修改时间", |
||||
"seatedForwardBend":"坐位体前屈", |
"seatedForwardBend": "坐位体前屈", |
||||
"sitUps":"仰卧卷腹", |
"sitUps": "仰卧卷腹", |
||||
"pushUps":"九十度仰卧撑", |
"pushUps": "九十度仰卧撑", |
||||
"flamingoBalance":"火烈鸟平衡测试", |
"flamingoBalance": "火烈鸟平衡测试", |
||||
"thirtySecJump":"三十秒双脚连续跳", |
"thirtySecJump": "三十秒双脚连续跳", |
||||
"standingLongJump":"立定跳远", |
"standingLongJump": "立定跳远", |
||||
"agilityRun":"4乘10m灵敏折返跑", |
"agilityRun": "4乘10m灵敏折返跑", |
||||
"balanceBeam":"走平衡木", |
"balanceBeam": "走平衡木", |
||||
"tennisThrow":"网球掷远", |
"tennisThrow": "网球掷远", |
||||
"tenMeterShuttleRun":"十米往返跑", |
"tenMeterShuttleRun": "十米往返跑", |
||||
"resourceIdPlaceholder":"请选择客户姓名", |
"resourceIdPlaceholder": "请选择客户姓名", |
||||
"studentIdPlaceholder":"请选择学员姓名", |
"studentIdPlaceholder": "请选择学员姓名", |
||||
"heightPlaceholder":"请输入身高", |
"heightPlaceholder": "请输入身高", |
||||
"weightPlaceholder":"请输入体重", |
"weightPlaceholder": "请输入体重", |
||||
"coachIdPlaceholder":"请选择教练", |
"coachIdPlaceholder": "请选择教练", |
||||
"createdAtPlaceholder":"请输入创建时间", |
"createdAtPlaceholder": "请输入创建时间", |
||||
"updatedAtPlaceholder":"请输入修改时间", |
"updatedAtPlaceholder": "请输入修改时间", |
||||
"seatedForwardBendPlaceholder":"请输入坐位体前屈", |
"seatedForwardBendPlaceholder": "请输入坐位体前屈", |
||||
"sitUpsPlaceholder":"请输入仰卧卷腹", |
"sitUpsPlaceholder": "请输入仰卧卷腹", |
||||
"pushUpsPlaceholder":"请输入九十度仰卧撑", |
"pushUpsPlaceholder": "请输入九十度仰卧撑", |
||||
"flamingoBalancePlaceholder":"请输入火烈鸟平衡测试", |
"flamingoBalancePlaceholder": "请输入火烈鸟平衡测试", |
||||
"thirtySecJumpPlaceholder":"请输入三十秒双脚连续跳", |
"thirtySecJumpPlaceholder": "请输入三十秒双脚连续跳", |
||||
"standingLongJumpPlaceholder":"请输入立定跳远", |
"standingLongJumpPlaceholder": "请输入立定跳远", |
||||
"agilityRunPlaceholder":"请输入4乘10m灵敏折返跑", |
"agilityRunPlaceholder": "请输入4乘10m灵敏折返跑", |
||||
"balanceBeamPlaceholder":"请输入走平衡木", |
"balanceBeamPlaceholder": "请输入走平衡木", |
||||
"tennisThrowPlaceholder":"请输入网球掷远", |
"tennisThrowPlaceholder": "请输入网球掷远", |
||||
"tenMeterShuttleRunPlaceholder":"请输入十米往返跑", |
"tenMeterShuttleRunPlaceholder": "请输入十米往返跑", |
||||
"addPhysicalTest":"添加体测", |
"addPhysicalTest": "添加体测", |
||||
"updatePhysicalTest":"编辑体测", |
"updatePhysicalTest": "编辑体测", |
||||
"physicalTestDeleteTips":"确定要删除该体测吗?" |
"physicalTestDeleteTips": "确定要删除该体测吗?" |
||||
} |
} |
||||
@ -1,19 +1,19 @@ |
|||||
{ |
{ |
||||
"studentId":"学员", |
"studentId": "学员", |
||||
"studentIdPlaceholder":"全部", |
"studentIdPlaceholder": "全部", |
||||
"courseId":"课程", |
"courseId": "课程", |
||||
"courseIdPlaceholder":"全部", |
"courseIdPlaceholder": "全部", |
||||
"totalHours":"总正式课时数", |
"totalHours": "总正式课时数", |
||||
"totalHoursPlaceholder":"请输入总正式课时数", |
"totalHoursPlaceholder": "请输入总正式课时数", |
||||
"giftHours":"赠送课时数", |
"giftHours": "赠送课时数", |
||||
"giftHoursPlaceholder":"请输入赠送课时数", |
"giftHoursPlaceholder": "请输入赠送课时数", |
||||
"startDate":"课程开始日期", |
"startDate": "课程开始日期", |
||||
"startDatePlaceholder":"请输入课程开始日期", |
"startDatePlaceholder": "请输入课程开始日期", |
||||
"endDate":"课程结束日期", |
"endDate": "课程结束日期", |
||||
"endDatePlaceholder":"请输入课程结束日期", |
"endDatePlaceholder": "请输入课程结束日期", |
||||
"addStudentCourses":"添加学员课程", |
"addStudentCourses": "添加学员课程", |
||||
"updateStudentCourses":"编辑学员课程", |
"updateStudentCourses": "编辑学员课程", |
||||
"studentCoursesDeleteTips":"确定要删除该数据吗?", |
"studentCoursesDeleteTips": "确定要删除该数据吗?", |
||||
"startDate":"请选择开始时间", |
"startDate": "请选择开始时间", |
||||
"endDate":"请选择结束时间" |
"endDate": "请选择结束时间" |
||||
} |
} |
||||
@ -1,37 +1,37 @@ |
|||||
{ |
{ |
||||
"resourceId":"客户姓名", |
"resourceId": "客户姓名", |
||||
"resourceIdPlaceholder":"全部", |
"resourceIdPlaceholder": "全部", |
||||
"studentId":"学员姓名", |
"studentId": "学员姓名", |
||||
"studentIdPlaceholder":"全部", |
"studentIdPlaceholder": "全部", |
||||
"height":"身高", |
"height": "身高", |
||||
"heightPlaceholder":"请输入身高", |
"heightPlaceholder": "请输入身高", |
||||
"weight":"体重", |
"weight": "体重", |
||||
"weightPlaceholder":"请输入体重", |
"weightPlaceholder": "请输入体重", |
||||
"coachId":"教练", |
"coachId": "教练", |
||||
"coachIdPlaceholder":"请输入教练", |
"coachIdPlaceholder": "请输入教练", |
||||
"seatedForwardBend":"坐位体前屈", |
"seatedForwardBend": "坐位体前屈", |
||||
"seatedForwardBendPlaceholder":"请输入坐位体前屈", |
"seatedForwardBendPlaceholder": "请输入坐位体前屈", |
||||
"sitUps":"仰卧卷腹", |
"sitUps": "仰卧卷腹", |
||||
"sitUpsPlaceholder":"请输入仰卧卷腹", |
"sitUpsPlaceholder": "请输入仰卧卷腹", |
||||
"pushUps":"九十度仰卧撑", |
"pushUps": "九十度仰卧撑", |
||||
"pushUpsPlaceholder":"请输入九十度仰卧撑", |
"pushUpsPlaceholder": "请输入九十度仰卧撑", |
||||
"flamingoBalance":"火烈鸟平衡测试", |
"flamingoBalance": "火烈鸟平衡测试", |
||||
"flamingoBalancePlaceholder":"请输入火烈鸟平衡测试", |
"flamingoBalancePlaceholder": "请输入火烈鸟平衡测试", |
||||
"thirtySecJump":"三十秒双脚连续跳", |
"thirtySecJump": "三十秒双脚连续跳", |
||||
"thirtySecJumpPlaceholder":"请输入三十秒双脚连续跳", |
"thirtySecJumpPlaceholder": "请输入三十秒双脚连续跳", |
||||
"standingLongJump":"立定跳远", |
"standingLongJump": "立定跳远", |
||||
"standingLongJumpPlaceholder":"请输入立定跳远", |
"standingLongJumpPlaceholder": "请输入立定跳远", |
||||
"agilityRun":"4乘10m灵敏折返跑", |
"agilityRun": "4乘10m灵敏折返跑", |
||||
"agilityRunPlaceholder":"请输入4乘10m灵敏折返跑", |
"agilityRunPlaceholder": "请输入4乘10m灵敏折返跑", |
||||
"balanceBeam":"走平衡木", |
"balanceBeam": "走平衡木", |
||||
"balanceBeamPlaceholder":"请输入走平衡木", |
"balanceBeamPlaceholder": "请输入走平衡木", |
||||
"tennisThrow":"网球掷远", |
"tennisThrow": "网球掷远", |
||||
"tennisThrowPlaceholder":"请输入网球掷远", |
"tennisThrowPlaceholder": "请输入网球掷远", |
||||
"tenMeterShuttleRun":"十米往返跑", |
"tenMeterShuttleRun": "十米往返跑", |
||||
"tenMeterShuttleRunPlaceholder":"请输入十米往返跑", |
"tenMeterShuttleRunPlaceholder": "请输入十米往返跑", |
||||
"addPhysicalTest":"添加体测", |
"addPhysicalTest": "添加体测", |
||||
"updatePhysicalTest":"编辑体测", |
"updatePhysicalTest": "编辑体测", |
||||
"physicalTestDeleteTips":"确定要删除该数据吗?", |
"physicalTestDeleteTips": "确定要删除该数据吗?", |
||||
"startDate":"请选择开始时间", |
"startDate": "请选择开始时间", |
||||
"endDate":"请选择结束时间" |
"endDate": "请选择结束时间" |
||||
} |
} |
||||
@ -1,368 +1,496 @@ |
|||||
<template> |
<template> |
||||
<div class="main-container"> |
<div class="main-container"> |
||||
<el-card class="box-card !border-none" shadow="never"> |
<el-card class="box-card !border-none" shadow="never"> |
||||
|
<div class="flex justify-between items-center"> |
||||
<div class="flex justify-between items-center"> |
<span class="text-lg">{{ pageName }}</span> |
||||
<span class="text-lg">{{pageName}}</span> |
<el-button |
||||
<el-button type="primary" @click="addEvent" v-if="customerResourcesTable.searchParam.type == 'khzy'"> |
type="primary" |
||||
{{ t('addCustomerResources') }} |
@click="addEvent" |
||||
</el-button> |
v-if="customerResourcesTable.searchParam.type == 'khzy'" |
||||
</div> |
> |
||||
|
{{ t('addCustomerResources') }} |
||||
<el-card class="box-card !border-none my-[10px] table-search-wrap" shadow="never"> |
</el-button> |
||||
<el-form :inline="true" :model="customerResourcesTable.searchParam" ref="searchFormRef"> |
</div> |
||||
<el-form-item :label="t('name')" prop="name"> |
|
||||
<el-input v-model="customerResourcesTable.searchParam.name" |
<el-card |
||||
:placeholder="t('namePlaceholder')" /> |
class="box-card !border-none my-[10px] table-search-wrap" |
||||
</el-form-item> |
shadow="never" |
||||
|
> |
||||
<el-form-item label="年龄" prop="age"> |
<el-form |
||||
<el-input v-model="customerResourcesTable.searchParam.age" placeholder="请输入年龄" /> |
:inline="true" |
||||
</el-form-item> |
:model="customerResourcesTable.searchParam" |
||||
|
ref="searchFormRef" |
||||
|
> |
||||
<el-form-item label="性别" prop="gender"> |
<el-form-item :label="t('name')" prop="name"> |
||||
<el-select v-model="customerResourcesTable.searchParam.gender" placeholder="请选择性别"> |
<el-input |
||||
<el-option label="男性" value="male" /> |
v-model="customerResourcesTable.searchParam.name" |
||||
<el-option label="女性" value="female" /> |
:placeholder="t('namePlaceholder')" |
||||
<el-option label="其他" value="other" /> |
/> |
||||
</el-select> |
</el-form-item> |
||||
</el-form-item> |
|
||||
|
<el-form-item label="年龄" prop="age"> |
||||
|
<el-input |
||||
|
v-model="customerResourcesTable.searchParam.age" |
||||
<el-form-item :label="t('phoneNumber')" prop="phone_number"> |
placeholder="请输入年龄" |
||||
<el-input v-model="customerResourcesTable.searchParam.phone_number" |
/> |
||||
:placeholder="t('phoneNumberPlaceholder')" /> |
</el-form-item> |
||||
</el-form-item> |
|
||||
|
<el-form-item label="性别" prop="gender"> |
||||
|
<el-select |
||||
<el-form-item label="创建时间"> |
v-model="customerResourcesTable.searchParam.gender" |
||||
<el-date-picker v-model="customerResourcesTable.searchParam.created_at" type="daterange" range-separator="至" |
placeholder="请选择性别" |
||||
start-placeholder="开始日期" end-placeholder="结束日期" format="YYYY-MM-DD" |
> |
||||
value-format="YYYY-MM-DD" /> |
<el-option label="男性" value="male" /> |
||||
</el-form-item> |
<el-option label="女性" value="female" /> |
||||
|
<el-option label="其他" value="other" /> |
||||
<!-- 更新时间 --> |
</el-select> |
||||
<el-form-item label="更新时间"> |
</el-form-item> |
||||
<el-date-picker v-model="customerResourcesTable.searchParam.updated_at" type="daterange" range-separator="至" |
|
||||
start-placeholder="开始日期" end-placeholder="结束日期" format="YYYY-MM-DD" |
<el-form-item :label="t('phoneNumber')" prop="phone_number"> |
||||
value-format="YYYY-MM-DD" /> |
<el-input |
||||
</el-form-item> |
v-model="customerResourcesTable.searchParam.phone_number" |
||||
|
:placeholder="t('phoneNumberPlaceholder')" |
||||
|
/> |
||||
<el-form-item> |
</el-form-item> |
||||
<el-button type="primary" @click="loadCustomerResourcesList()">{{ t('search') }}</el-button> |
|
||||
<el-button @click="resetForm(searchFormRef)">{{ t('reset') }}</el-button> |
<el-form-item label="创建时间"> |
||||
</el-form-item> |
<el-date-picker |
||||
</el-form> |
v-model="customerResourcesTable.searchParam.created_at" |
||||
</el-card> |
type="daterange" |
||||
|
range-separator="至" |
||||
<div class="mt-[10px]"> |
start-placeholder="开始日期" |
||||
<el-table :data="customerResourcesTable.data" size="large" v-loading="customerResourcesTable.loading"> |
end-placeholder="结束日期" |
||||
<template #empty> |
format="YYYY-MM-DD" |
||||
<span>{{ !customerResourcesTable.loading ? t('emptyData') : '' }}</span> |
value-format="YYYY-MM-DD" |
||||
</template> |
/> |
||||
<el-table-column :label="t('source')" min-width="180" align="center" :show-overflow-tooltip="true"> |
</el-form-item> |
||||
<template #default="{ row }"> |
|
||||
<div v-for="(item, index) in sourceList"> |
<!-- 更新时间 --> |
||||
<div v-if="item.value == row.source">{{ item.name }}</div> |
<el-form-item label="更新时间"> |
||||
</div> |
<el-date-picker |
||||
</template> |
v-model="customerResourcesTable.searchParam.updated_at" |
||||
</el-table-column> |
type="daterange" |
||||
|
range-separator="至" |
||||
<el-table-column prop="consultant_name" :label="t('consultant')" min-width="120" |
start-placeholder="开始日期" |
||||
:show-overflow-tooltip="true" /> |
end-placeholder="结束日期" |
||||
|
format="YYYY-MM-DD" |
||||
<el-table-column prop="name" :label="t('name')" min-width="120" :show-overflow-tooltip="true" /> |
value-format="YYYY-MM-DD" |
||||
|
/> |
||||
<el-table-column prop="age" :label="t('age')" min-width="50" :show-overflow-tooltip="true" /> |
</el-form-item> |
||||
|
|
||||
<el-table-column :label="t('gender')" min-width="60" align="center" :show-overflow-tooltip="true"> |
<el-form-item> |
||||
<template #default="{ row }"> |
<el-button type="primary" @click="loadCustomerResourcesList()">{{ |
||||
<div v-for="(item, index) in genderList"> |
t('search') |
||||
<div v-if="item.value == row.gender">{{ item.name }}</div> |
}}</el-button> |
||||
</div> |
<el-button @click="resetForm(searchFormRef)">{{ |
||||
</template> |
t('reset') |
||||
</el-table-column> |
}}</el-button> |
||||
|
</el-form-item> |
||||
<el-table-column prop="phone_number" :label="t('phoneNumber')" min-width="120" |
</el-form> |
||||
:show-overflow-tooltip="true" /> |
</el-card> |
||||
|
|
||||
<el-table-column prop="decision_maker" :label="t('decisionMaker')" min-width="120" |
<div class="mt-[10px]"> |
||||
:show-overflow-tooltip="true" /> |
<el-table |
||||
|
:data="customerResourcesTable.data" |
||||
|
size="large" |
||||
<el-table-column prop="created_at" label="添加时间" min-width="120" :show-overflow-tooltip="true" /> |
v-loading="customerResourcesTable.loading" |
||||
|
> |
||||
<el-table-column prop="updated_at" label="修改时间" min-width="120" :show-overflow-tooltip="true" /> |
<template #empty> |
||||
|
<span>{{ |
||||
|
!customerResourcesTable.loading ? t('emptyData') : '' |
||||
<el-table-column :label="t('operation')" fixed="right" min-width="200" v-if="customerResourcesTable.searchParam.type == 'khzy'"> |
}}</span> |
||||
<template #default="{ row }"> |
</template> |
||||
<el-button type="primary" link @click="modificationLog(row.id)">六要素修改记录</el-button> |
<el-table-column |
||||
<el-button type="primary" link @click="resourceChanges(row.id)">客户信息修改记录</el-button> |
:label="t('source')" |
||||
<el-button type="primary" link @click="editEvent(row)">{{ t('edit') }}</el-button> |
min-width="180" |
||||
<el-button type="primary" link @click="deleteEvent(row.id)">{{ t('delete') }}</el-button> |
align="center" |
||||
|
:show-overflow-tooltip="true" |
||||
</template> |
> |
||||
</el-table-column> |
<template #default="{ row }"> |
||||
|
<div v-for="(item, index) in sourceList"> |
||||
|
<div v-if="item.value == row.source">{{ item.name }}</div> |
||||
|
</div> |
||||
<el-table-column :label="t('operation')" fixed="right" min-width="200" |
</template> |
||||
v-if="customerResourcesTable.searchParam.type == 'yjfp'"> |
</el-table-column> |
||||
<template #default="{ row }"> |
|
||||
<el-button type="primary" link @click="fpEvent(row)">分配</el-button> |
<el-table-column |
||||
</template> |
prop="consultant_name" |
||||
</el-table-column> |
:label="t('consultant')" |
||||
|
min-width="120" |
||||
|
:show-overflow-tooltip="true" |
||||
<el-table-column :label="t('operation')" fixed="right" min-width="200" |
/> |
||||
v-if="customerResourcesTable.searchParam.type == 'zylb'"> |
|
||||
<template #default="{ row }"> |
<el-table-column |
||||
<el-button type="primary" link @click="editEvent(row)">{{ t('edit') }}</el-button> |
prop="name" |
||||
|
:label="t('name')" |
||||
<el-button type="primary" link @click="addOrder({'resource_id':row.id})">添加订单</el-button> |
min-width="120" |
||||
|
:show-overflow-tooltip="true" |
||||
<el-button type="primary" link @click="tcEvent({'resource_id':row.id})">体测</el-button> |
/> |
||||
</template> |
|
||||
</el-table-column> |
<el-table-column |
||||
|
prop="age" |
||||
</el-table> |
:label="t('age')" |
||||
<div class="mt-[16px] flex justify-end"> |
min-width="50" |
||||
<el-pagination v-model:current-page="customerResourcesTable.page" |
:show-overflow-tooltip="true" |
||||
v-model:page-size="customerResourcesTable.limit" |
/> |
||||
layout="total, sizes, prev, pager, next, jumper" :total="customerResourcesTable.total" |
|
||||
@size-change="loadCustomerResourcesList()" @current-change="loadCustomerResourcesList" /> |
<el-table-column |
||||
</div> |
:label="t('gender')" |
||||
</div> |
min-width="60" |
||||
|
align="center" |
||||
<edit ref="editCustomerResourcesDialog" @complete="loadCustomerResourcesList" /> |
:show-overflow-tooltip="true" |
||||
|
> |
||||
<fp ref="fpCustomerResourcesDialog" @complete="loadCustomerResourcesList" /> |
<template #default="{ row }"> |
||||
|
<div v-for="(item, index) in genderList"> |
||||
<Order ref="editOrderTableDialog" @complete="loadCustomerResourcesList" /> |
<div v-if="item.value == row.gender">{{ item.name }}</div> |
||||
|
</div> |
||||
<tc ref="TcCustomerResourcesDialog" @complete="loadCustomerResourcesList" /> |
</template> |
||||
|
</el-table-column> |
||||
</el-card> |
|
||||
</div> |
<el-table-column |
||||
|
prop="phone_number" |
||||
|
:label="t('phoneNumber')" |
||||
|
min-width="120" |
||||
|
:show-overflow-tooltip="true" |
||||
|
/> |
||||
|
|
||||
|
<el-table-column |
||||
|
prop="decision_maker" |
||||
|
:label="t('decisionMaker')" |
||||
|
min-width="120" |
||||
|
:show-overflow-tooltip="true" |
||||
|
/> |
||||
|
|
||||
|
<el-table-column |
||||
|
prop="created_at" |
||||
|
label="添加时间" |
||||
|
min-width="120" |
||||
|
:show-overflow-tooltip="true" |
||||
|
/> |
||||
|
|
||||
|
<el-table-column |
||||
|
prop="updated_at" |
||||
|
label="修改时间" |
||||
|
min-width="120" |
||||
|
:show-overflow-tooltip="true" |
||||
|
/> |
||||
|
|
||||
|
<el-table-column |
||||
|
:label="t('operation')" |
||||
|
fixed="right" |
||||
|
min-width="200" |
||||
|
v-if="customerResourcesTable.searchParam.type == 'khzy'" |
||||
|
> |
||||
|
<template #default="{ row }"> |
||||
|
<el-button type="primary" link @click="modificationLog(row.id)" |
||||
|
>六要素修改记录</el-button |
||||
|
> |
||||
|
<el-button type="primary" link @click="resourceChanges(row.id)" |
||||
|
>客户信息修改记录</el-button |
||||
|
> |
||||
|
<el-button type="primary" link @click="editEvent(row)">{{ |
||||
|
t('edit') |
||||
|
}}</el-button> |
||||
|
<el-button type="primary" link @click="deleteEvent(row.id)">{{ |
||||
|
t('delete') |
||||
|
}}</el-button> |
||||
|
</template> |
||||
|
</el-table-column> |
||||
|
|
||||
|
<el-table-column |
||||
|
:label="t('operation')" |
||||
|
fixed="right" |
||||
|
min-width="200" |
||||
|
v-if="customerResourcesTable.searchParam.type == 'yjfp'" |
||||
|
> |
||||
|
<template #default="{ row }"> |
||||
|
<el-button type="primary" link @click="fpEvent(row)" |
||||
|
>分配</el-button |
||||
|
> |
||||
|
</template> |
||||
|
</el-table-column> |
||||
|
|
||||
|
<el-table-column |
||||
|
:label="t('operation')" |
||||
|
fixed="right" |
||||
|
min-width="200" |
||||
|
v-if="customerResourcesTable.searchParam.type == 'zylb'" |
||||
|
> |
||||
|
<template #default="{ row }"> |
||||
|
<el-button type="primary" link @click="editEvent(row)">{{ |
||||
|
t('edit') |
||||
|
}}</el-button> |
||||
|
|
||||
|
<el-button |
||||
|
type="primary" |
||||
|
link |
||||
|
@click="addOrder({ resource_id: row.id })" |
||||
|
>添加订单</el-button |
||||
|
> |
||||
|
|
||||
|
<el-button |
||||
|
type="primary" |
||||
|
link |
||||
|
@click="tcEvent({ resource_id: row.id })" |
||||
|
>体测</el-button |
||||
|
> |
||||
|
</template> |
||||
|
</el-table-column> |
||||
|
</el-table> |
||||
|
<div class="mt-[16px] flex justify-end"> |
||||
|
<el-pagination |
||||
|
v-model:current-page="customerResourcesTable.page" |
||||
|
v-model:page-size="customerResourcesTable.limit" |
||||
|
layout="total, sizes, prev, pager, next, jumper" |
||||
|
:total="customerResourcesTable.total" |
||||
|
@size-change="loadCustomerResourcesList()" |
||||
|
@current-change="loadCustomerResourcesList" |
||||
|
/> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<edit |
||||
|
ref="editCustomerResourcesDialog" |
||||
|
@complete="loadCustomerResourcesList" |
||||
|
/> |
||||
|
|
||||
|
<fp |
||||
|
ref="fpCustomerResourcesDialog" |
||||
|
@complete="loadCustomerResourcesList" |
||||
|
/> |
||||
|
|
||||
|
<Order ref="editOrderTableDialog" @complete="loadCustomerResourcesList" /> |
||||
|
|
||||
|
<tc |
||||
|
ref="TcCustomerResourcesDialog" |
||||
|
@complete="loadCustomerResourcesList" |
||||
|
/> |
||||
|
</el-card> |
||||
|
</div> |
||||
</template> |
</template> |
||||
|
|
||||
<script lang="ts" setup> |
<script lang="ts" setup> |
||||
import { reactive, ref, watch } from 'vue' |
import { reactive, ref, watch } from 'vue' |
||||
import { t } from '@/lang' |
import { t } from '@/lang' |
||||
import { useDictionary } from '@/app/api/dict' |
import { useDictionary } from '@/app/api/dict' |
||||
import { getCustomerResourcesList, deleteCustomerResources, getWithPersonnelList, getWithCampusList } from '@/app/api/customer_resources' |
import { |
||||
import { img } from '@/utils/common' |
getCustomerResourcesList, |
||||
import { ElMessageBox, FormInstance } from 'element-plus' |
deleteCustomerResources, |
||||
import Edit from '@/app/views/customer_resources/components/customer-resources-edit.vue' |
getWithPersonnelList, |
||||
import Fp from '@/app/views/customer_resources/components/fp.vue' |
getWithCampusList, |
||||
import Order from '@/app/views/order_table/components/order-table-edit.vue' |
} from '@/app/api/customer_resources' |
||||
|
import { img } from '@/utils/common' |
||||
import Tc from '@/app/views/tc_dialog/tc_dialog.vue' |
import { ElMessageBox, FormInstance } from 'element-plus' |
||||
|
import Edit from '@/app/views/customer_resources/components/customer-resources-edit.vue' |
||||
import { useRouter, useRoute } from 'vue-router' |
import Fp from '@/app/views/customer_resources/components/fp.vue' |
||||
const route = useRoute() |
import Order from '@/app/views/order_table/components/order-table-edit.vue' |
||||
const pageName = route.meta.title; |
|
||||
const router = useRouter() |
import Tc from '@/app/views/tc_dialog/tc_dialog.vue' |
||||
|
|
||||
let customerResourcesTable = reactive({ |
import { useRouter, useRoute } from 'vue-router' |
||||
page: 1, |
const route = useRoute() |
||||
limit: 10, |
const pageName = route.meta.title |
||||
total: 0, |
const router = useRouter() |
||||
loading: true, |
|
||||
data: [], |
let customerResourcesTable = reactive({ |
||||
searchParam: { |
page: 1, |
||||
"name": "", |
limit: 10, |
||||
"age": "", |
total: 0, |
||||
"gender": "", |
loading: true, |
||||
"phone_number": "", |
data: [], |
||||
'type': '', |
searchParam: { |
||||
"created_at" : "", |
name: '', |
||||
"updated_at" : "" |
age: '', |
||||
} |
gender: '', |
||||
}) |
phone_number: '', |
||||
|
type: '', |
||||
if (pageName == '业绩分配') { |
created_at: '', |
||||
customerResourcesTable.searchParam.type = 'yjfp'; |
updated_at: '', |
||||
} else if (pageName == '客户资源列表') { |
}, |
||||
customerResourcesTable.searchParam.type = 'khzy'; |
}) |
||||
} else if (pageName == '资源列表') { |
|
||||
customerResourcesTable.searchParam.type = 'zylb'; |
if (pageName == '业绩分配') { |
||||
} |
customerResourcesTable.searchParam.type = 'yjfp' |
||||
|
} else if (pageName == '客户资源列表') { |
||||
// const type = pageName == '业绩分配' ? 'yjfp' : 'khzy'; |
customerResourcesTable.searchParam.type = 'khzy' |
||||
|
} else if (pageName == '资源列表') { |
||||
|
customerResourcesTable.searchParam.type = 'zylb' |
||||
|
} |
||||
const modificationLog = (id : number) => { |
|
||||
router.push({ path: '/six_speed_modification_log/six_speed_modification_log', query: { id: id } }) |
// const type = pageName == '业绩分配' ? 'yjfp' : 'khzy'; |
||||
} |
|
||||
|
const modificationLog = (id: number) => { |
||||
const resourceChanges = (id : number) => { |
router.push({ |
||||
router.push({ path: '/customer_resource_changes/customer_resource_changes', query: { id: id } }) |
path: '/six_speed_modification_log/six_speed_modification_log', |
||||
} |
query: { id: id }, |
||||
|
}) |
||||
|
} |
||||
/** |
|
||||
* 添加订单 |
const resourceChanges = (id: number) => { |
||||
*/ |
router.push({ |
||||
const editOrderTableDialog : Record<string, any> | null = ref(null) |
path: '/customer_resource_changes/customer_resource_changes', |
||||
const addOrder = (row : any) => { |
query: { id: id }, |
||||
|
}) |
||||
console.log(row); |
} |
||||
editOrderTableDialog.value.setFormData(row) |
|
||||
editOrderTableDialog.value.showDialog = true |
/** |
||||
} |
* 添加订单 |
||||
|
*/ |
||||
|
const editOrderTableDialog: Record<string, any> | null = ref(null) |
||||
const TcCustomerResourcesDialog : Record<string, any> | null = ref(null) |
const addOrder = (row: any) => { |
||||
const tcEvent = (row : any) => { |
console.log(row) |
||||
TcCustomerResourcesDialog.value.setFormData(row) |
editOrderTableDialog.value.setFormData(row) |
||||
TcCustomerResourcesDialog.value.showDialog = true |
editOrderTableDialog.value.showDialog = true |
||||
} |
} |
||||
|
|
||||
|
const TcCustomerResourcesDialog: Record<string, any> | null = ref(null) |
||||
|
const tcEvent = (row: any) => { |
||||
|
TcCustomerResourcesDialog.value.setFormData(row) |
||||
const searchFormRef = ref<FormInstance>() |
TcCustomerResourcesDialog.value.showDialog = true |
||||
|
} |
||||
// 选中数据 |
|
||||
const selectData = ref<any[]>([]) |
const searchFormRef = ref<FormInstance>() |
||||
|
|
||||
// 字典数据 |
// 选中数据 |
||||
const sourceList = ref([] as any[]) |
const selectData = ref<any[]>([]) |
||||
const sourceDictList = async () => { |
|
||||
sourceList.value = await (await useDictionary('source')).data.dictionary |
// 字典数据 |
||||
} |
const sourceList = ref([] as any[]) |
||||
sourceDictList(); |
const sourceDictList = async () => { |
||||
const source_channelList = ref([] as any[]) |
sourceList.value = await (await useDictionary('source')).data.dictionary |
||||
const source_channelDictList = async () => { |
} |
||||
source_channelList.value = await (await useDictionary('SourceChannel')).data.dictionary |
sourceDictList() |
||||
} |
const source_channelList = ref([] as any[]) |
||||
source_channelDictList(); |
const source_channelDictList = async () => { |
||||
const genderList = ref([] as any[]) |
source_channelList.value = await ( |
||||
const genderDictList = async () => { |
await useDictionary('SourceChannel') |
||||
genderList.value = await (await useDictionary('zy_sex')).data.dictionary |
).data.dictionary |
||||
} |
} |
||||
genderDictList(); |
source_channelDictList() |
||||
const purchasing_powerList = ref([] as any[]) |
const genderList = ref([] as any[]) |
||||
const purchasing_powerDictList = async () => { |
const genderDictList = async () => { |
||||
purchasing_powerList.value = await (await useDictionary('customer_purchasing_power')).data.dictionary |
genderList.value = await (await useDictionary('zy_sex')).data.dictionary |
||||
} |
} |
||||
purchasing_powerDictList(); |
genderDictList() |
||||
const cognitive_ideaList = ref([] as any[]) |
const purchasing_powerList = ref([] as any[]) |
||||
const cognitive_ideaDictList = async () => { |
const purchasing_powerDictList = async () => { |
||||
cognitive_ideaList.value = await (await useDictionary('cognitive_concept')).data.dictionary |
purchasing_powerList.value = await ( |
||||
} |
await useDictionary('customer_purchasing_power') |
||||
cognitive_ideaDictList(); |
).data.dictionary |
||||
const initial_intentList = ref([] as any[]) |
} |
||||
const initial_intentDictList = async () => { |
purchasing_powerDictList() |
||||
initial_intentList.value = await (await useDictionary('preliminarycustomerintention')).data.dictionary |
const cognitive_ideaList = ref([] as any[]) |
||||
} |
const cognitive_ideaDictList = async () => { |
||||
initial_intentDictList(); |
cognitive_ideaList.value = await ( |
||||
const statusList = ref([] as any[]) |
await useDictionary('cognitive_concept') |
||||
const statusDictList = async () => { |
).data.dictionary |
||||
statusList.value = await (await useDictionary('kh_status')).data.dictionary |
} |
||||
} |
cognitive_ideaDictList() |
||||
statusDictList(); |
const initial_intentList = ref([] as any[]) |
||||
|
const initial_intentDictList = async () => { |
||||
|
initial_intentList.value = await ( |
||||
/** |
await useDictionary('preliminarycustomerintention') |
||||
* 获取客户资源列表 |
).data.dictionary |
||||
*/ |
} |
||||
const loadCustomerResourcesList = (page : number = 1) => { |
initial_intentDictList() |
||||
customerResourcesTable.loading = true |
const statusList = ref([] as any[]) |
||||
customerResourcesTable.page = page |
const statusDictList = async () => { |
||||
|
statusList.value = await (await useDictionary('kh_status')).data.dictionary |
||||
getCustomerResourcesList({ |
} |
||||
page: customerResourcesTable.page, |
statusDictList() |
||||
limit: customerResourcesTable.limit, |
|
||||
...customerResourcesTable.searchParam |
/** |
||||
}).then(res => { |
* 获取客户资源列表 |
||||
customerResourcesTable.loading = false |
*/ |
||||
customerResourcesTable.data = res.data.data |
const loadCustomerResourcesList = (page: number = 1) => { |
||||
customerResourcesTable.total = res.data.total |
customerResourcesTable.loading = true |
||||
}).catch(() => { |
customerResourcesTable.page = page |
||||
customerResourcesTable.loading = false |
|
||||
}) |
getCustomerResourcesList({ |
||||
} |
page: customerResourcesTable.page, |
||||
loadCustomerResourcesList() |
limit: customerResourcesTable.limit, |
||||
|
...customerResourcesTable.searchParam, |
||||
const editCustomerResourcesDialog : Record<string, any> | null = ref(null) |
}) |
||||
|
.then((res) => { |
||||
const fpCustomerResourcesDialog : Record<string, any> | null = ref(null) |
customerResourcesTable.loading = false |
||||
|
customerResourcesTable.data = res.data.data |
||||
/** |
customerResourcesTable.total = res.data.total |
||||
* 添加客户资源 |
}) |
||||
*/ |
.catch(() => { |
||||
const addEvent = () => { |
customerResourcesTable.loading = false |
||||
editCustomerResourcesDialog.value.setFormData() |
}) |
||||
editCustomerResourcesDialog.value.showDialog = true |
} |
||||
} |
loadCustomerResourcesList() |
||||
|
|
||||
/** |
const editCustomerResourcesDialog: Record<string, any> | null = ref(null) |
||||
* 编辑客户资源 |
|
||||
* @param data |
const fpCustomerResourcesDialog: Record<string, any> | null = ref(null) |
||||
*/ |
|
||||
const editEvent = (data : any) => { |
/** |
||||
editCustomerResourcesDialog.value.setFormData(data) |
* 添加客户资源 |
||||
editCustomerResourcesDialog.value.showDialog = true |
*/ |
||||
} |
const addEvent = () => { |
||||
|
editCustomerResourcesDialog.value.setFormData() |
||||
const fpEvent = (data : any) => { |
editCustomerResourcesDialog.value.showDialog = true |
||||
fpCustomerResourcesDialog.value.setFormData(data) |
} |
||||
fpCustomerResourcesDialog.value.showDialog = true |
|
||||
} |
/** |
||||
|
* 编辑客户资源 |
||||
|
* @param data |
||||
/** |
*/ |
||||
* 删除客户资源 |
const editEvent = (data: any) => { |
||||
*/ |
editCustomerResourcesDialog.value.setFormData(data) |
||||
const deleteEvent = (id : number) => { |
editCustomerResourcesDialog.value.showDialog = true |
||||
ElMessageBox.confirm(t('customerResourcesDeleteTips'), t('warning'), |
} |
||||
{ |
|
||||
confirmButtonText: t('confirm'), |
const fpEvent = (data: any) => { |
||||
cancelButtonText: t('cancel'), |
fpCustomerResourcesDialog.value.setFormData(data) |
||||
type: 'warning', |
fpCustomerResourcesDialog.value.showDialog = true |
||||
} |
} |
||||
).then(() => { |
|
||||
deleteCustomerResources(id).then(() => { |
/** |
||||
loadCustomerResourcesList() |
* 删除客户资源 |
||||
}).catch(() => { |
*/ |
||||
}) |
const deleteEvent = (id: number) => { |
||||
}) |
ElMessageBox.confirm(t('customerResourcesDeleteTips'), t('warning'), { |
||||
} |
confirmButtonText: t('confirm'), |
||||
|
cancelButtonText: t('cancel'), |
||||
|
type: 'warning', |
||||
const consultantList = ref([]) |
}).then(() => { |
||||
const setConsultantList = async () => { |
deleteCustomerResources(id) |
||||
consultantList.value = await (await getWithPersonnelList({})).data |
.then(() => { |
||||
} |
loadCustomerResourcesList() |
||||
setConsultantList() |
}) |
||||
const campusList = ref([]) |
.catch(() => {}) |
||||
const setCampusList = async () => { |
}) |
||||
campusList.value = await (await getWithCampusList({})).data |
} |
||||
} |
|
||||
setCampusList() |
const consultantList = ref([]) |
||||
|
const setConsultantList = async () => { |
||||
const resetForm = (formEl : FormInstance | undefined) => { |
consultantList.value = await (await getWithPersonnelList({})).data |
||||
if (!formEl) return |
} |
||||
formEl.resetFields() |
setConsultantList() |
||||
loadCustomerResourcesList() |
const campusList = ref([]) |
||||
} |
const setCampusList = async () => { |
||||
|
campusList.value = await (await getWithCampusList({})).data |
||||
|
} |
||||
|
setCampusList() |
||||
|
|
||||
|
const resetForm = (formEl: FormInstance | undefined) => { |
||||
|
if (!formEl) return |
||||
|
formEl.resetFields() |
||||
|
loadCustomerResourcesList() |
||||
|
} |
||||
</script> |
</script> |
||||
|
|
||||
<style lang="scss" scoped> |
<style lang="scss" scoped> |
||||
/* 多行超出隐藏 */ |
/* 多行超出隐藏 */ |
||||
.multi-hidden { |
.multi-hidden { |
||||
word-break: break-all; |
word-break: break-all; |
||||
text-overflow: ellipsis; |
text-overflow: ellipsis; |
||||
overflow: hidden; |
overflow: hidden; |
||||
display: -webkit-box; |
display: -webkit-box; |
||||
-webkit-line-clamp: 2; |
-webkit-line-clamp: 2; |
||||
-webkit-box-orient: vertical; |
-webkit-box-orient: vertical; |
||||
} |
} |
||||
</style> |
</style> |
||||
@ -1,212 +1,228 @@ |
|||||
<template> |
<template> |
||||
<div class="main-container"> |
<div class="main-container"> |
||||
<el-card class="box-card !border-none" shadow="never" v-loading="loading"> |
<el-card class="box-card !border-none" shadow="never" v-loading="loading"> |
||||
|
<div class="flex justify-between items-center"> |
||||
<div class="flex justify-between items-center"> |
<span class="text-lg">{{ pageName }}</span> |
||||
<span class="text-lg">{{ pageName }}</span> |
<el-button type="primary" @click="addStage"> 新增阶段 </el-button> |
||||
<el-button type="primary" @click="addStage"> |
</div> |
||||
新增阶段 |
</el-card> |
||||
</el-button> |
|
||||
</div> |
<el-card class="box-card !border-none" shadow="never"> |
||||
</el-card> |
<div |
||||
|
class="flex items-center justify-between p-[10px] table-item-border bg" |
||||
|
> |
||||
|
<span class="text-base w-[230px]">阶段名称</span> |
||||
<el-card class="box-card !border-none" shadow="never" > |
<span class="text-base w-[110px] text-center">底薪</span> |
||||
|
</div> |
||||
<div class="flex items-center justify-between p-[10px] table-item-border bg"> |
|
||||
<span class="text-base w-[230px]">阶段名称</span> |
<el-collapse v-model="activeNames" accordion> |
||||
<span class="text-base w-[110px] text-center">底薪</span> |
<el-collapse-item |
||||
</div> |
v-for="(stage, index) in stages" |
||||
|
:key="stage.id" |
||||
<el-collapse v-model="activeNames" accordion > |
:name="stage.id" |
||||
<el-collapse-item v-for="(stage, index) in stages" :key="stage.id" :name="stage.id"> |
> |
||||
|
<template #title> |
||||
<template #title> |
<div class="collapse-title"> |
||||
<div class="collapse-title"> |
<span class="title-name">{{ stage.name }}</span> |
||||
<span class="title-name">{{ stage.name }}</span> |
<span class="arrow">{{ stage.price }} 元</span> |
||||
<span class="arrow">{{ stage.price }} 元</span> |
<!-- <span class="arrow">></span> --> |
||||
<!-- <span class="arrow">></span> --> |
</div> |
||||
</div> |
</template> |
||||
</template> |
|
||||
|
<el-form label-width="100px" style="margin-bottom: 10px"> |
||||
<el-form label-width="100px" style="margin-bottom: 10px"> |
<el-form-item label="阶段名称"> |
||||
<el-form-item label="阶段名称"> |
<el-input v-model="stage.name" placeholder="请输入阶段名称" /> |
||||
<el-input v-model="stage.name" placeholder="请输入阶段名称" /> |
</el-form-item> |
||||
</el-form-item> |
</el-form> |
||||
</el-form> |
|
||||
|
<el-form label-width="100px" style="margin-bottom: 10px"> |
||||
<el-form label-width="100px" style="margin-bottom: 10px"> |
<el-form-item label="阶段底薪"> |
||||
<el-form-item label="阶段底薪"> |
<el-input v-model="stage.price" placeholder="请输入阶段底薪" /> |
||||
<el-input v-model="stage.price" placeholder="请输入阶段底薪" /> |
</el-form-item> |
||||
</el-form-item> |
</el-form> |
||||
</el-form> |
|
||||
|
<el-button type="success" size="small" @click="addRule(stage)" |
||||
|
>新增规则</el-button |
||||
|
> |
||||
<el-button type="success" size="small" @click="addRule(stage)">新增规则</el-button> |
|
||||
|
<el-table :data="stage.rules" border style="margin-top: 10px"> |
||||
<el-table :data="stage.rules" border style="margin-top: 10px"> |
<el-table-column prop="renewal_standard_min" label="续费上限"> |
||||
<el-table-column prop="renewal_standard_min" label="续费上限"> |
<template #default="{ row }"> |
||||
<template #default="{ row }"> |
<el-input |
||||
<el-input v-model="row.renewal_standard_min" placeholder="请输入续费上限" /> |
v-model="row.renewal_standard_min" |
||||
</template> |
placeholder="请输入续费上限" |
||||
</el-table-column> |
/> |
||||
|
</template> |
||||
<el-table-column prop="renewal_standard_max" label="续费下限"> |
</el-table-column> |
||||
<template #default="{ row }"> |
|
||||
<el-input v-model="row.renewal_standard_max" placeholder="请输入续费下限" /> |
<el-table-column prop="renewal_standard_max" label="续费下限"> |
||||
</template> |
<template #default="{ row }"> |
||||
</el-table-column> |
<el-input |
||||
|
v-model="row.renewal_standard_max" |
||||
<el-table-column prop="renewal_commission" label="续费提成"> |
placeholder="请输入续费下限" |
||||
<template #default="{ row }"> |
/> |
||||
<el-input v-model="row.renewal_commission" placeholder="%" /> |
</template> |
||||
</template> |
</el-table-column> |
||||
</el-table-column> |
|
||||
|
<el-table-column prop="renewal_commission" label="续费提成"> |
||||
<el-table-column prop="new_count_min" label="新单成交数上限"> |
<template #default="{ row }"> |
||||
<template #default="{ row }"> |
<el-input v-model="row.renewal_commission" placeholder="%" /> |
||||
<el-input v-model="row.new_count_min" /> |
</template> |
||||
</template> |
</el-table-column> |
||||
</el-table-column> |
|
||||
|
<el-table-column prop="new_count_min" label="新单成交数上限"> |
||||
<el-table-column prop="new_count_max" label="新单成交数下限"> |
<template #default="{ row }"> |
||||
<template #default="{ row }"> |
<el-input v-model="row.new_count_min" /> |
||||
<el-input v-model="row.new_count_max" /> |
</template> |
||||
</template> |
</el-table-column> |
||||
</el-table-column> |
|
||||
|
<el-table-column prop="new_count_max" label="新单成交数下限"> |
||||
<el-table-column prop="new_move_5" label="新招(5+1)x3"> |
<template #default="{ row }"> |
||||
<template #default="{ row }"> |
<el-input v-model="row.new_count_max" /> |
||||
<el-input v-model="row.new_move_5" /> |
</template> |
||||
</template> |
</el-table-column> |
||||
</el-table-column> |
|
||||
<el-table-column prop="new_move_7" label="新招(7+1)x3"> |
<el-table-column prop="new_move_5" label="新招(5+1)x3"> |
||||
<template #default="{ row }"> |
<template #default="{ row }"> |
||||
<el-input v-model="row.new_move_7" /> |
<el-input v-model="row.new_move_5" /> |
||||
</template> |
</template> |
||||
</el-table-column> |
</el-table-column> |
||||
<el-table-column label="操作" width="100"> |
<el-table-column prop="new_move_7" label="新招(7+1)x3"> |
||||
<template #default="{ $index }"> |
<template #default="{ row }"> |
||||
<el-button type="danger" size="small" @click="removeRule(stage, $index)">删除</el-button> |
<el-input v-model="row.new_move_7" /> |
||||
</template> |
</template> |
||||
</el-table-column> |
</el-table-column> |
||||
</el-table> |
<el-table-column label="操作" width="100"> |
||||
|
<template #default="{ $index }"> |
||||
<el-button type="danger" size="small" style="margin-top: 10px" |
<el-button |
||||
@click="removeStage(index)">删除该阶段</el-button> |
type="danger" |
||||
</el-collapse-item> |
size="small" |
||||
</el-collapse> |
@click="removeRule(stage, $index)" |
||||
|
>删除</el-button |
||||
<div style="text-align: right; margin-top: 20px;"> |
> |
||||
<el-button type="primary" @click="onSave">提交保存</el-button> |
</template> |
||||
</div> |
</el-table-column> |
||||
</el-card> |
</el-table> |
||||
|
|
||||
|
<el-button |
||||
|
type="danger" |
||||
|
size="small" |
||||
|
style="margin-top: 10px" |
||||
|
@click="removeStage(index)" |
||||
|
>删除该阶段</el-button |
||||
|
> |
||||
|
</el-collapse-item> |
||||
|
</el-collapse> |
||||
|
|
||||
|
<div style="text-align: right; margin-top: 20px"> |
||||
|
<el-button type="primary" @click="onSave">提交保存</el-button> |
||||
|
</div> |
||||
|
</el-card> |
||||
</div> |
</div> |
||||
</template> |
</template> |
||||
|
|
||||
<script lang="ts" setup> |
<script lang="ts" setup> |
||||
import { xsyjConfig, getXsyjConfig } from '@/app/api/sys' |
import { xsyjConfig, getXsyjConfig } from '@/app/api/sys' |
||||
import { reactive, ref } from 'vue' |
import { reactive, ref } from 'vue' |
||||
import {ElMessage} from 'element-plus' |
import { ElMessage } from 'element-plus' |
||||
import { useRoute } from 'vue-router' |
import { useRoute } from 'vue-router' |
||||
const route = useRoute() |
const route = useRoute() |
||||
const pageName = route.meta.title |
const pageName = route.meta.title |
||||
|
|
||||
const loading = ref(true) |
const loading = ref(true) |
||||
const stages = ref([]) |
const stages = ref([]) |
||||
const activeNames = ref(null) |
const activeNames = ref(null) |
||||
|
|
||||
function addStage() { |
function addStage() { |
||||
const newStage = { |
const newStage = { |
||||
name: '默认阶段', |
name: '默认阶段', |
||||
price:0, |
price: 0, |
||||
rules: [{ |
rules: [ |
||||
renewal_standard_min: '', |
{ |
||||
renewal_standard_max: '', |
renewal_standard_min: '', |
||||
renewal_commission: '', |
renewal_standard_max: '', |
||||
new_count_min: '', |
renewal_commission: '', |
||||
new_count_max: '', |
new_count_min: '', |
||||
new_move_5: '', |
new_count_max: '', |
||||
new_move_7: '' |
new_move_5: '', |
||||
}] |
new_move_7: '', |
||||
} |
}, |
||||
stages.value.push(newStage) |
], |
||||
activeNames.value = newStage.name |
} |
||||
} |
stages.value.push(newStage) |
||||
|
activeNames.value = newStage.name |
||||
function removeStage(index) { |
} |
||||
stages.value.splice(index, 1) |
|
||||
} |
function removeStage(index) { |
||||
|
stages.value.splice(index, 1) |
||||
function addRule(stage) { |
} |
||||
stage.rules.push({ |
|
||||
renewal_standard_min: '', |
function addRule(stage) { |
||||
renewal_standard_max: '', |
stage.rules.push({ |
||||
renewal_commission: '', |
renewal_standard_min: '', |
||||
new_count_min: '', |
renewal_standard_max: '', |
||||
new_count_max: '', |
renewal_commission: '', |
||||
new_move_5: '', |
new_count_min: '', |
||||
new_move_7: '' |
new_count_max: '', |
||||
}) |
new_move_5: '', |
||||
} |
new_move_7: '', |
||||
|
}) |
||||
function removeRule(stage, ruleIndex) { |
} |
||||
if (stage.rules.length === 1) { |
|
||||
ElMessage.warning('至少保留一条规则') |
function removeRule(stage, ruleIndex) { |
||||
return |
if (stage.rules.length === 1) { |
||||
} |
ElMessage.warning('至少保留一条规则') |
||||
stage.rules.splice(ruleIndex, 1) |
return |
||||
} |
} |
||||
|
stage.rules.splice(ruleIndex, 1) |
||||
const setFormData = async () => { |
} |
||||
const data = await (await getXsyjConfig()).data |
|
||||
stages.value = data |
const setFormData = async () => { |
||||
loading.value = false |
const data = await (await getXsyjConfig()).data |
||||
} |
stages.value = data |
||||
|
loading.value = false |
||||
setFormData(); |
} |
||||
|
|
||||
const onSave = async () => { |
setFormData() |
||||
xsyjConfig(stages.value) |
|
||||
.then(() => { |
const onSave = async () => { |
||||
loading.value = true |
xsyjConfig(stages.value) |
||||
setFormData() |
.then(() => { |
||||
}) |
loading.value = true |
||||
.catch(() => { |
setFormData() |
||||
loading.value = false |
}) |
||||
}) |
.catch(() => { |
||||
} |
loading.value = false |
||||
|
}) |
||||
|
} |
||||
</script> |
</script> |
||||
|
|
||||
<style lang="scss" scoped> |
<style lang="scss" scoped> |
||||
.collapse-title { |
.collapse-title { |
||||
display: flex; |
display: flex; |
||||
align-items: center; |
align-items: center; |
||||
justify-content: space-between; |
justify-content: space-between; |
||||
width: 100%; |
width: 100%; |
||||
font-size: 14px; |
font-size: 14px; |
||||
font-weight: 500; |
font-weight: 500; |
||||
padding-right: 10px; |
padding-right: 10px; |
||||
color: #333; |
color: #333; |
||||
padding: 10px; |
padding: 10px; |
||||
} |
} |
||||
|
|
||||
.title-name { |
.title-name { |
||||
width: 230px; |
width: 230px; |
||||
} |
} |
||||
|
|
||||
.title-salary { |
.title-salary { |
||||
width: 110px; |
width: 110px; |
||||
text-align: center; |
text-align: center; |
||||
color: #7438D5; |
color: #7438d5; |
||||
} |
} |
||||
|
|
||||
.arrow { |
.arrow { |
||||
margin-left: auto; |
margin-left: auto; |
||||
color: #999; |
color: #999; |
||||
font-size: 14px; |
font-size: 14px; |
||||
} |
} |
||||
|
|
||||
</style> |
</style> |
||||
|
|||||
Loading…
Reference in new issue