From 0abc1f4259f09fba5d28a7d8e94e47582ef2dafd Mon Sep 17 00:00:00 2001 From: dai <851733175@qq.com> Date: Tue, 21 Jun 2022 11:13:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=94=E5=A4=A7=E5=9B=BE=E5=B1=82=E5=88=9D?= =?UTF-8?q?=E6=AD=A5=E5=B0=B1=E4=BD=8D=20=E4=BC=81=E4=B8=9A=E5=B7=A1?= =?UTF-8?q?=E6=9F=A5=E8=BF=98=E9=9C=80=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/cpts/base/index.vue | 8 +- .../tuceng/anquan/xuncha/cpts/edit.vue | 531 +++++++++++ .../shequzhili/tuceng/anquan/xuncha/index.vue | 319 ++++--- .../tuceng/zhonghe/anzhibangjiao.vue | 35 + .../shequzhili/tuceng/zhonghe/base.vue | 788 +++++++++++++++++ .../tuceng/zhonghe/buliangqingshaonian.vue | 35 + .../tuceng/zhonghe/shequjiaozheng.vue | 35 + .../tuceng/zhonghe/xidurenyuanvue.vue | 35 + .../tuceng/zhonghe/xiejiaorenyuan.vue | 35 + .../shequzhili/tuceng/zhonghe/xinfang.vue | 837 +----------------- .../zhonghe/zhaoshizhaohuojingshenbing.vue | 35 + 11 files changed, 1766 insertions(+), 927 deletions(-) create mode 100644 src/views/modules/shequzhili/tuceng/anquan/xuncha/cpts/edit.vue create mode 100644 src/views/modules/shequzhili/tuceng/zhonghe/anzhibangjiao.vue create mode 100644 src/views/modules/shequzhili/tuceng/zhonghe/base.vue create mode 100644 src/views/modules/shequzhili/tuceng/zhonghe/buliangqingshaonian.vue create mode 100644 src/views/modules/shequzhili/tuceng/zhonghe/shequjiaozheng.vue create mode 100644 src/views/modules/shequzhili/tuceng/zhonghe/xidurenyuanvue.vue create mode 100644 src/views/modules/shequzhili/tuceng/zhonghe/xiejiaorenyuan.vue create mode 100644 src/views/modules/shequzhili/tuceng/zhonghe/zhaoshizhaohuojingshenbing.vue diff --git a/src/views/modules/cpts/base/index.vue b/src/views/modules/cpts/base/index.vue index f0bfe47b1..e3fe202b0 100644 --- a/src/views/modules/cpts/base/index.vue +++ b/src/views/modules/cpts/base/index.vue @@ -510,13 +510,17 @@ export default { async handleDelete(rowData, rowIndex) { console.log(rowData, rowIndex); - const { delUrl: url } = this; + let { delUrl: url } = this; if (!url) return; const { tableData, idName } = this; + const idValue = tableData[rowIndex][idName]; + if (url.endsWith("/")) { + url += idValue; + } const { data, code, msg } = await requestPost(url, { - [idName]: tableData[rowIndex][idName], + [idName]: idValue, }); if (code === 0) { diff --git a/src/views/modules/shequzhili/tuceng/anquan/xuncha/cpts/edit.vue b/src/views/modules/shequzhili/tuceng/anquan/xuncha/cpts/edit.vue new file mode 100644 index 000000000..3b1d06b80 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/anquan/xuncha/cpts/edit.vue @@ -0,0 +1,531 @@ + + + + + diff --git a/src/views/modules/shequzhili/tuceng/anquan/xuncha/index.vue b/src/views/modules/shequzhili/tuceng/anquan/xuncha/index.vue index 79e71c99d..0ae26f55b 100644 --- a/src/views/modules/shequzhili/tuceng/anquan/xuncha/index.vue +++ b/src/views/modules/shequzhili/tuceng/anquan/xuncha/index.vue @@ -1,104 +1,215 @@ - - - - - + + + + + diff --git a/src/views/modules/shequzhili/tuceng/zhonghe/anzhibangjiao.vue b/src/views/modules/shequzhili/tuceng/zhonghe/anzhibangjiao.vue new file mode 100644 index 000000000..cfa4e62a0 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/zhonghe/anzhibangjiao.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/src/views/modules/shequzhili/tuceng/zhonghe/base.vue b/src/views/modules/shequzhili/tuceng/zhonghe/base.vue new file mode 100644 index 000000000..0df946817 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/zhonghe/base.vue @@ -0,0 +1,788 @@ + + + + + diff --git a/src/views/modules/shequzhili/tuceng/zhonghe/buliangqingshaonian.vue b/src/views/modules/shequzhili/tuceng/zhonghe/buliangqingshaonian.vue new file mode 100644 index 000000000..514993803 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/zhonghe/buliangqingshaonian.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/src/views/modules/shequzhili/tuceng/zhonghe/shequjiaozheng.vue b/src/views/modules/shequzhili/tuceng/zhonghe/shequjiaozheng.vue new file mode 100644 index 000000000..0c59feaf3 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/zhonghe/shequjiaozheng.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/src/views/modules/shequzhili/tuceng/zhonghe/xidurenyuanvue.vue b/src/views/modules/shequzhili/tuceng/zhonghe/xidurenyuanvue.vue new file mode 100644 index 000000000..f55fba232 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/zhonghe/xidurenyuanvue.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/src/views/modules/shequzhili/tuceng/zhonghe/xiejiaorenyuan.vue b/src/views/modules/shequzhili/tuceng/zhonghe/xiejiaorenyuan.vue new file mode 100644 index 000000000..477cd82d9 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/zhonghe/xiejiaorenyuan.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/src/views/modules/shequzhili/tuceng/zhonghe/xinfang.vue b/src/views/modules/shequzhili/tuceng/zhonghe/xinfang.vue index 0b98fd9ea..a9624c938 100644 --- a/src/views/modules/shequzhili/tuceng/zhonghe/xinfang.vue +++ b/src/views/modules/shequzhili/tuceng/zhonghe/xinfang.vue @@ -1,840 +1,35 @@ - + diff --git a/src/views/modules/shequzhili/tuceng/zhonghe/zhaoshizhaohuojingshenbing.vue b/src/views/modules/shequzhili/tuceng/zhonghe/zhaoshizhaohuojingshenbing.vue new file mode 100644 index 000000000..013b03b69 --- /dev/null +++ b/src/views/modules/shequzhili/tuceng/zhonghe/zhaoshizhaohuojingshenbing.vue @@ -0,0 +1,35 @@ + + + + +