@@ -56,6 +56,35 @@
+
+
+
+
+
+
+
+
+
+ 修改
+
+
+
+
+
+
+
+
+
+
+ {{ dict.getLabel('dishonestPersonSituation',data.executionSituation) }}
+
+
+
+
+
+
+
+
@@ -83,6 +112,10 @@ export default {
},
created() {
this.$dict.load('dishonestPersonSituation')
+ if (this.params && this.params.id) {
+ this.id = this.params.id
+ this.getDetail(this.params.id)
+ }
},
data() {
return {
@@ -94,7 +127,10 @@ export default {
enterpriseName: '',
unifiedCode: '',
dishonestFact: '',
- }
+ },
+ data: {},
+ isEdit: false,
+ id: '',
}
},
methods: {
@@ -104,13 +140,19 @@ export default {
isRefresh: !!isRefresh,
})
},
+ getDetail(id) {
+ this.instance.post(`/appcreditdishonestperson/queryDetailById?id=${id}`).then(res => {
+ if (res.code === 0) {
+ this.data = res.data
+ }
+ })
+ },
confirm( ) {
this.$refs.forms.validate((valid) => {
if (valid) {
- this.instance.post(`/appcreditdishonestperson/addOrUpdate`, {
+ this.instance.post(`/appcreditdishonestperson/queryDetailById`, {
...this.forms,
id: this.params.id || '',
- // picture: this.form.picture.length ? this.form.picture[0].url : ''
}).then(res => {
if (res.code == 0) {
this.$message.success('提交成功')
@@ -146,6 +188,10 @@ export default {
background: #fff !important;
}
+ ::v-deep .ai-info-item label {
+ width: 100px;
+ }
+
::v-deep .ai-detail__content--active {
padding: 20px;
diff --git a/project/xiushan/apps/AppDishonestExecutee/components/Detail.vue b/project/xiushan/apps/AppDishonestExecutee/components/Detail.vue
deleted file mode 100644
index 934e4ef1..00000000
--- a/project/xiushan/apps/AppDishonestExecutee/components/Detail.vue
+++ /dev/null
@@ -1,155 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/project/xiushan/apps/AppDishonestExecutee/components/List.vue b/project/xiushan/apps/AppDishonestExecutee/components/List.vue
index f62ff5c9..5f9aeeae 100644
--- a/project/xiushan/apps/AppDishonestExecutee/components/List.vue
+++ b/project/xiushan/apps/AppDishonestExecutee/components/List.vue
@@ -18,7 +18,7 @@
@getList="getTableData" :col-configs="colConfigs" :dict="dict">
- 详情
+ 详情
删除
@@ -79,14 +79,14 @@ export default {
}
})
},
- toDetail(id) {
- this.$emit('change', {
- type: 'Detail',
- params: {
- id: id || ''
- }
- })
- },
+ // toDetail(id) {
+ // this.$emit('change', {
+ // type: 'Detail',
+ // params: {
+ // id: id || ''
+ // }
+ // })
+ // },
handleDelete(id) {
this.$confirm("是否要删除?").then(() => {
this.instance.post(`/appcreditdishonestperson/delete?ids=${id}`).then(res => {
diff --git a/project/xiushan/apps/AppRatepayingInfo/AppRatepayingInfo.vue b/project/xiushan/apps/AppRatepayingInfo/AppRatepayingInfo.vue
index c2eddf3d..c38030f8 100644
--- a/project/xiushan/apps/AppRatepayingInfo/AppRatepayingInfo.vue
+++ b/project/xiushan/apps/AppRatepayingInfo/AppRatepayingInfo.vue
@@ -9,7 +9,6 @@
-
-
\ No newline at end of file
diff --git a/project/xiushan/apps/AppRatepayingInfo/components/List.vue b/project/xiushan/apps/AppRatepayingInfo/components/List.vue
index 30ea0ac7..75c58114 100644
--- a/project/xiushan/apps/AppRatepayingInfo/components/List.vue
+++ b/project/xiushan/apps/AppRatepayingInfo/components/List.vue
@@ -18,7 +18,7 @@
@getList="getTableData" :col-configs="colConfigs" :dict="dict">
- 详情
+ 详情
删除
@@ -79,14 +79,6 @@ export default {
}
})
},
- toDetail(id) {
- this.$emit('change', {
- type: 'Detail',
- params: {
- id: id || ''
- }
- })
- },
handleDelete(id) {
this.$confirm("是否要删除?").then(() => {
this.instance.post(`/appcredittaxinfo/delete?ids=${id}`).then(res => {