+
{{ item.time }}
-
-
- {{ item.name }}
-
+
+
+ 已填写
+ 未填写
+
@@ -126,6 +140,24 @@ export default {
this.setInputCode(code ? code : 'RYPG');
uni.navigateTo({ url: `${path}?name=${name}` });
},
+ getText(index) {
+ switch (index) {
+ case 1:
+ return '一';
+ case 2:
+ return '二';
+ case 3:
+ return '三';
+ case 4:
+ return '四';
+ case 5:
+ return '五';
+ case 6:
+ return '六';
+ case 7:
+ return '七';
+ }
+ },
},
watch: {},
@@ -151,6 +183,34 @@ export default {
diff --git a/src/pages/task-page/task-page.vue b/src/pages/task-page/task-page.vue
index a9b5985..77bcd98 100644
--- a/src/pages/task-page/task-page.vue
+++ b/src/pages/task-page/task-page.vue
@@ -1,22 +1,25 @@
-
+
-
+
+
-
+
-
+
+
+
@@ -35,6 +38,8 @@ export default {
showStatus: 0,
showPage: '',
isBack: false,
+ showModel: false,
+ content: '当前不是神内医生,请前往首页申请',
};
},
@@ -117,7 +122,9 @@ export default {
...mapMutations('user', ['setToken']),
...mapMutations('project', ['setProject', 'setProjectName', 'setOrganData']),
...mapMutations('role', ['setInvisibleRoles', 'setVisibleRoles', 'setRoleId']),
-
+ confirm() {
+ uni.navigateBack();
+ },
// 点击跳转到详情页
jumpDetail() {
let url = `/pages/detail-webview/detail-webview?jumpUrl=`;
@@ -282,6 +289,10 @@ export default {
*/
getRoles(params) {
this.$t.$q.findShowRole(params, (err, data) => {
+ if (data.invisibleList && !data.invisibleList.length && !data.visibleList.length) {
+ this.showModel = true;
+ return;
+ }
if (err) {
console.error('err: ', err || '获取角色信息失败');
} else {
diff --git a/src/static/news/car.png b/src/static/news/car.png
new file mode 100644
index 0000000..ea49c66
Binary files /dev/null and b/src/static/news/car.png differ
diff --git a/src/static/news/logo.png b/src/static/news/logo.png
new file mode 100644
index 0000000..22f8453
Binary files /dev/null and b/src/static/news/logo.png differ
diff --git a/src/static/news/news.png b/src/static/news/news.png
new file mode 100644
index 0000000..16272d7
Binary files /dev/null and b/src/static/news/news.png differ
diff --git a/src/static/news/role.png b/src/static/news/role.png
new file mode 100644
index 0000000..38691bd
Binary files /dev/null and b/src/static/news/role.png differ
diff --git a/src/static/news/top-bg.png b/src/static/news/top-bg.png
new file mode 100644
index 0000000..26dabc3
Binary files /dev/null and b/src/static/news/top-bg.png differ