-
-
-
-
+
+
+
+
-
+
-
-
-
+
+
+
+
-
+
- {{ item.time }}
+ {{ item.time }}
-
-
+
+
-
-
+
+
-
-
+
+
取 消
- 确 定
+ 确 定
@@ -155,7 +126,7 @@ var infoWindowList;
let loading; // 加载动画
export default {
- data() {
+ data () {
return {
formType: "add", //表单操作类型 add新增,edit编辑,detail详情
@@ -166,7 +137,7 @@ export default {
},
dateOptions: {
- disabledDate(time) {
+ disabledDate (time) {
return (
time.getTime() < Date.now() - 3600 * 24 * 1 * 1000 ||
time.getTime() > Date.now() + 3600 * 24 * 6 * 1000
@@ -188,7 +159,7 @@ export default {
},
components: {},
computed: {
- dataRule() {
+ dataRule () {
return {
appointmentName: [
{ required: true, message: "预约人不能为空", trigger: "blur" },
@@ -212,10 +183,10 @@ export default {
},
},
- async mounted() {},
+ async mounted () { },
methods: {
- async initForm(type, row, index) {
+ async initForm (type, row, index) {
this.$refs.ref_form.resetFields();
let item = row.matterList[index];
@@ -226,7 +197,7 @@ export default {
}
},
- selectTime(index) {
+ selectTime (index) {
// return console.log(index);
let list = deepClone(this.timeList);
if (!list[index].isAppointment) return false;
@@ -302,7 +273,7 @@ export default {
return false;
},
- async getDateList() {
+ async getDateList () {
let url = "/gov/org/icpartyservicecenter/appointmenttime";
const {
@@ -322,7 +293,7 @@ export default {
}
},
- async getTimeList() {
+ async getTimeList () {
let url = "/gov/org/icpartyservicecenter/appointmenttime";
const {
@@ -344,7 +315,7 @@ export default {
}
},
- async handleComfirm() {
+ async handleComfirm () {
this.btnDisable = true;
setTimeout(() => {
this.btnDisable = false;
@@ -365,7 +336,7 @@ export default {
});
},
- async submit() {
+ async submit () {
let url = "";
if (this.formType === "add") {
url = "/gov/org/icpartyservicecenter/appointment";
@@ -391,11 +362,11 @@ export default {
}
},
- handleCancle() {
+ handleCancle () {
this.resetData();
this.$emit("dialogCancle");
},
- resetData() {
+ resetData () {
this.dataForm = {
matterId: "",
appointmentDate: "",
@@ -407,7 +378,7 @@ export default {
this.timeList = [];
},
// 开启加载动画
- startLoading() {
+ startLoading () {
loading = Loading.service({
lock: true, // 是否锁定
text: "正在加载……", // 加载中需要显示的文字
@@ -415,7 +386,7 @@ export default {
});
},
// 结束加载动画
- endLoading() {
+ endLoading () {
// clearTimeout(timer);
if (loading) {
loading.close();
diff --git a/src/views/modules/communityService/dqfwzx/cpts/orderList.vue b/src/views/modules/communityService/dqfwzx/cpts/orderList.vue
index 4f812c75..691e789e 100644
--- a/src/views/modules/communityService/dqfwzx/cpts/orderList.vue
+++ b/src/views/modules/communityService/dqfwzx/cpts/orderList.vue
@@ -1,55 +1,55 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
- 取消
+ 取消
-
@@ -66,7 +66,7 @@ var infoWindowList;
let loading; // 加载动画
export default {
- data() {
+ data () {
return {
appointmentDate: new Date().toLocaleDateString().split("/").join("-"),
matterId: "",
@@ -82,10 +82,10 @@ export default {
},
},
- async mounted() {},
+ async mounted () { },
methods: {
- async init(row, index) {
+ async init (row, index) {
let item = row.matterList[index];
if (item) {
this.matterId = item.matterId;
@@ -93,7 +93,7 @@ export default {
}
},
- async getList() {
+ async getList () {
let url = "/gov/org/icpartyservicecenter/appointmentrecord";
const { matterId, appointmentDate } = this;
@@ -107,14 +107,14 @@ export default {
if (code === 0) {
this.tableData = data
? data.map((item) => {
- item.appointmentTime = item.appointmentTime.join(",");
- return item;
- })
+ item.appointmentTime = item.appointmentTime.join(",");
+ return item;
+ })
: [];
} else {
}
},
- async handleCancel(index) {
+ async handleCancel (index) {
let url = "/gov/org/icpartyservicecenter/cancelappointment";
const { matterId, tableData } = this;
@@ -132,15 +132,15 @@ export default {
}
},
- handleCancle() {
+ handleCancle () {
this.resetData();
this.$emit("dialogCancle");
},
- resetData() {
+ resetData () {
this.tableData = [];
},
// 开启加载动画
- startLoading() {
+ startLoading () {
loading = Loading.service({
lock: true, // 是否锁定
text: "正在加载……", // 加载中需要显示的文字
@@ -148,7 +148,7 @@ export default {
});
},
// 结束加载动画
- endLoading() {
+ endLoading () {
// clearTimeout(timer);
if (loading) {
loading.close();
diff --git a/src/views/modules/communityService/dqfwzx/index.vue b/src/views/modules/communityService/dqfwzx/index.vue
index 6cdb5bf9..0b2265aa 100644
--- a/src/views/modules/communityService/dqfwzx/index.vue
+++ b/src/views/modules/communityService/dqfwzx/index.vue
@@ -98,6 +98,7 @@
:title="formTitle"
width="850px"
top="5vh"
+ class="dialog-h"
@closed="handleClose">
From 2517667cbae620ec44585cb81182069781b23faf Mon Sep 17 00:00:00 2001
From: jiangyy
Date: Mon, 14 Mar 2022 13:35:04 +0800
Subject: [PATCH 3/4] =?UTF-8?q?UI=20=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/workSys/demandCate.vue | 247 ++++++++++++-----------
1 file changed, 125 insertions(+), 122 deletions(-)
diff --git a/src/views/modules/workSys/demandCate.vue b/src/views/modules/workSys/demandCate.vue
index ecd3095f..43593e1a 100644
--- a/src/views/modules/workSys/demandCate.vue
+++ b/src/views/modules/workSys/demandCate.vue
@@ -1,123 +1,130 @@
-
-
+
+
-
+
-
-
+
+
- 查询
+ 查询
- 新增分类
+ 新增分类
-
-
-
+
+
+
{{ scope.row.index }}
-
+
{{ handleFilterSpan(scope.row, item) }}
-
+
- {{(scope.row.usableFlag&&'禁用') || '启用'}}
- 添加二级分类
- 编辑
+ {{(scope.row.usableFlag&&'禁用') || '启用'}}
+ 添加二级分类
+ 编辑
-
+
-
-
-
-
+
+
+
+
-
+
-
-
+
+
- 取消
- 提交
+ 取消
+ 提交
@@ -126,7 +133,7 @@
@@ -438,13 +445,12 @@ export default {