diff --git a/project/hlj/app/AppRatingTask/AppRatingTask.vue b/project/hlj/app/AppRatingTask/AppRatingTask.vue new file mode 100644 index 00000000..3d8cbe12 --- /dev/null +++ b/project/hlj/app/AppRatingTask/AppRatingTask.vue @@ -0,0 +1,70 @@ + + + + + + + + + + + diff --git a/project/hlj/app/AppRatingTask/components/Add.vue b/project/hlj/app/AppRatingTask/components/Add.vue new file mode 100644 index 00000000..3f344d8b --- /dev/null +++ b/project/hlj/app/AppRatingTask/components/Add.vue @@ -0,0 +1,13 @@ + + + + + + + diff --git a/project/hlj/app/AppRatingTask/components/Detail.vue b/project/hlj/app/AppRatingTask/components/Detail.vue new file mode 100644 index 00000000..ba60b08e --- /dev/null +++ b/project/hlj/app/AppRatingTask/components/Detail.vue @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{info.startAreaName}} + + + + + + + + + + + + + + + + + {{ info.highRiskAreaName }} + + + + {{ dict.getLabel('yesOrNo', info.contactPatients) }} + + + {{ dict.getLabel('EP_abnormalType', info.abnormalType) }} + + + + + + + + + + 解除异常 + + + + + + + + + + + + + + + {}"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/project/hlj/app/AppRatingTask/components/List.vue b/project/hlj/app/AppRatingTask/components/List.vue new file mode 100644 index 00000000..d8d5c1f4 --- /dev/null +++ b/project/hlj/app/AppRatingTask/components/List.vue @@ -0,0 +1,125 @@ + + + + + + + + 新建评分任务 + + + + + + + + + + + 详情 + 删除 + + + + + + + + + + + + diff --git a/project/hlj/app/AppScoringTemplate/AppScoringTemplate.vue b/project/hlj/app/AppScoringTemplate/AppScoringTemplate.vue new file mode 100644 index 00000000..8d144f18 --- /dev/null +++ b/project/hlj/app/AppScoringTemplate/AppScoringTemplate.vue @@ -0,0 +1,70 @@ + + + + + + + + + + + diff --git a/project/hlj/app/AppScoringTemplate/components/Add.vue b/project/hlj/app/AppScoringTemplate/components/Add.vue new file mode 100644 index 00000000..294f13f7 --- /dev/null +++ b/project/hlj/app/AppScoringTemplate/components/Add.vue @@ -0,0 +1,1567 @@ + + + + + 保存模板 + + + + + + + {{ component.label }} + {{ component.tips }} + + + + + + {{ item.label }} + + + + + + + + + + + + + + 添加图片 + + + + {{ form.title }} + + + {{ form.tableExplain }} + + + + + + + + + * + {{ i + 1 }}. + {{ item.label }} + + + + + + + {{ field.label }} + + + + + + 添加图片 + + + + + + + + + + + + + {{ field.label }} + + + + + + + + + + + + + + + + + + + + + + {{ currComponentTitle }} + + + + + + 头图 + + + + + + + 添加图片 + + + + + 建议上传比例为375 x 235px,且小于10M + + + + + 显示头图 + + + + + + + + 表单名称 + + + + + + + + + 表单说明 + + + + + + + + + 显示说明 + + + + + + + + + + 按钮名称 + + + + + + + + + + 标题名称 + + + + + + + + 选项设置 + + + + + + + + + + + + + + + + + + 添加选项 + + + + + + 说明文字 + + + + + + + + 是否必填 + + + + + + + + 答案与分值 + + + + + + + + + 正确答案 + + + + + + + + {{ item.label }} + + + + + + + + 本题分值 + + + + 分 + + + + + + 计分方式 + + + + + + + + + + + 答案 + + + + + + onSelcetKeyup(e, index)" v-model="item.point"> + 分 + + + + 全部答对 + + 分 + + + + + + + + + 各选项分值 + (如需扣分请设置负分) + + + + + {{ item.label }} + onSelcetKeyup(e, index)"> + 分 + + + + + + + + + + + + 基本信息 + + + * + 截止时间 + (表单截止后,用户打开表单会提示此表单已结束) + + + + 永久有效 + 自定义时间 + + + + + + + + * + 匹配客户方式 + (将参与活动的微信客户和企业微信客户匹配) + + + + 客户微信ID匹配 + + + + + + 提交次数限制 + 此功能发布后不可修改 + + + * + 提交次数 + + + + 不限次数 + 限提交一次 + + + + + + 返回 + 完成并发布 + + + + + + + + + diff --git a/project/hlj/app/AppScoringTemplate/components/Detail.vue b/project/hlj/app/AppScoringTemplate/components/Detail.vue new file mode 100644 index 00000000..ba60b08e --- /dev/null +++ b/project/hlj/app/AppScoringTemplate/components/Detail.vue @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{info.startAreaName}} + + + + + + + + + + + + + + + + + {{ info.highRiskAreaName }} + + + + {{ dict.getLabel('yesOrNo', info.contactPatients) }} + + + {{ dict.getLabel('EP_abnormalType', info.abnormalType) }} + + + + + + + + + + 解除异常 + + + + + + + + + + + + + + + {}"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/project/hlj/app/AppScoringTemplate/components/List.vue b/project/hlj/app/AppScoringTemplate/components/List.vue new file mode 100644 index 00000000..4a785b75 --- /dev/null +++ b/project/hlj/app/AppScoringTemplate/components/List.vue @@ -0,0 +1,133 @@ + + + + + + + + 新建模板 + + + + + + + + + + + 详情 + 删除 + + + + + + + + + + + + diff --git a/project/hlj/app/AppScoringTemplate/components/config.js b/project/hlj/app/AppScoringTemplate/components/config.js new file mode 100644 index 00000000..9df7bb3b --- /dev/null +++ b/project/hlj/app/AppScoringTemplate/components/config.js @@ -0,0 +1,181 @@ +export const components = [ + { + type: 'options', + tips: '(可重复添加)', + label: '选项', + children: [ + { + type: 'radio', + label: '单选', + fixedLabel: '单选', + value: '', + points: '', + icon: 'iconradio', + isShowPoints: false, + required: true, + hasAnswer: false, + answer: '', + pointType: '0', + pointDict: [ + { + dictName: '此题有唯一答案和分值', + dictValue: '0' + }, + { + dictName: '每个选项都有对应分值', + dictValue: '1' + } + ], + options: [ + { + label: '选项1', + value: '', + point: '', + img: [] + }, + { + label: '选项2', + value: '', + point: '', + img: [] + } + ], + title: '' + }, + { + type: 'checkbox', + label: '多选', + fixedLabel: '多选', + points: '', + icon: 'iconcheck_box', + isShowPoints: false, + required: true, + hasAnswer: false, + answer: [], + value: [], + pointType: '0', + pointDict: [ + { + dictName: '此题有唯一答案和分值', + dictValue: '0' + }, + { + dictName: '每个选项都有对应分值', + dictValue: '1' + }, + { + dictName: '答对几项得几分,答错不得分', + dictValue: '2' + } + ], + options: [ + { + label: '选项1', + value: '', + point: '', + img: [] + }, + { + label: '选项2', + point: '', + value: '', + img: [] + } + ], + title: '' + }, + { + type: 'select', + label: '单下拉框', + fixedLabel: '单下拉框', + value: '', + points: '', + icon: 'iconSelect', + isShowPoints: false, + required: true, + hasAnswer: false, + answer: '', + pointType: '0', + pointDict: [ + { + dictName: '此题有唯一答案和分值', + dictValue: '0' + }, + { + dictName: '每个选项都有对应分值', + dictValue: '1' + } + ], + options: [ + { + label: '选项1', + value: '', + point: '', + img: [] + }, + { + label: '选项2', + value: '', + point: '', + img: [] + } + ], + title: '' + } + ] + }, + { + type: 'input', + tips: '(可重复添加)', + label: '填空', + children: [ + { + type: 'input', + label: '单行填空', + fixedLabel: '单行填空', + value: '', + pointType: '0', + icon: 'icontext_box', + isShowPoints: false, + points: '', + required: true, + hasAnswer: false, + placeholder: '请输入...', + answer: '' + }, + { + type: 'textarea', + label: '多行填空', + fixedLabel: '多行填空', + pointType: '0', + icon: 'icontext_area', + points: '', + isShowPoints: false, + required: true, + hasAnswer: false, + answer: '', + placeholder: '请输入...', + value: '' + } + ] + }, + { + type: 'annex', + tips: '(可重复添加)', + label: '附件', + children: [ + { + type: 'upload', + label: '上传图片', + fixedLabel: '上传图片', + value: '', + icon: 'iconpic', + isShowPoints: false, + points: '', + required: true, + hasAnswer: false, + answer: '' + } + ] + } +];
{{ form.tableExplain }}