+
-
{{ item.unfinishedCount == 0 ? '已完成' : '尚未完成' }}
+
@@ -21,6 +21,20 @@
export default {
name: "AppRecoScore",
appName: "考核系统",
+ components: {
+ itemStatus: {
+ props: {
+ item: {default: () => ({})}
+ },
+ render(h) {
+ const {commitTime, examineStatus} = this.item,
+ color = this.$dict.getColor("integralDeclareStatus", examineStatus)
+ return h("div",
+ {class: "status", style: {color, backgroundColor: `rgba(${color},.1)`}},
+ !!commitTime ? this.$dict.getLabel("integralDeclareStatus", examineStatus) : "待填写")
+ }
+ }
+ },
data() {
return {
current: 1,
@@ -53,10 +67,14 @@ export default {
}
})
},
- handleDetail(id) {
- uni.navigateTo({url: "./astDetail?id=" + id})
+ handleDetail(item) {
+ const {taskId, taskDetailId} = item
+ uni.navigateTo({url: this.$qs.stringifyUrl({url: "./rsDetail", query: {taskId, taskDetailId}})})
}
},
+ created() {
+ this.$dict.load("integralDeclareStatus")
+ },
onShow() {
this.current = 1
this.getList()
@@ -93,7 +111,7 @@ export default {
.sub {
font-size: 26px;
- color: #3975C6;
+ color: #FF883C;
line-height: 36px;
}
@@ -105,7 +123,9 @@ export default {
.status {
font-size: 28px;
- color: #FFA938;
+ color: #FF883C;
+ background-color: rgba(#FF883C, .1);
+ padding: 4px 16px;
&.finish {
color: #1CCEB0;
diff --git a/src/project/hljmz/AppRecoScore/astDetail.vue b/src/project/hljmz/AppRecoScore/astDetail.vue
deleted file mode 100644
index 5ba8ae4c..00000000
--- a/src/project/hljmz/AppRecoScore/astDetail.vue
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
-
-
-
-
-
-
{{ item.evaluatorsName }}
-
{{ item.evaluatorsDepartments }}
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/project/hljmz/AppRecoScore/lib/dynaComponent.vue b/src/project/hljmz/AppRecoScore/lib/dynaComponent.vue
new file mode 100644
index 00000000..0d9ffd49
--- /dev/null
+++ b/src/project/hljmz/AppRecoScore/lib/dynaComponent.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
diff --git a/src/project/hljmz/AppRecoScore/rsDetail.vue b/src/project/hljmz/AppRecoScore/rsDetail.vue
new file mode 100644
index 00000000..05ddc50c
--- /dev/null
+++ b/src/project/hljmz/AppRecoScore/rsDetail.vue
@@ -0,0 +1,147 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+