diff --git a/.env.prostaging b/.env.prostaging
new file mode 100644
index 0000000..a66c205
--- /dev/null
+++ b/.env.prostaging
@@ -0,0 +1,13 @@
+NODE_ENV = production
+
+# just a flag
+ENV = 'prostaging'
+
+# base api
+#VUE_APP_BASE_API=http://wuxiwuye.ali251.langye.net/
+#VUE_APP_UPLOAD_API=http://wuxiwuye.ali251.langye.net/api/admin/upload-file
+#VUE_APP_PREVIEW=//view.langye.net:8012/onlinePreview
+# base api
+VUE_APP_BASE_API=http://192.168.221.31:9001/
+VUE_APP_UPLOAD_API=http://192.168.221.31:9001/api/admin/upload-file
+VUE_APP_PREVIEW=http://192.168.221.31:8012/onlinePreview
diff --git a/.env.staging b/.env.staging
index 3646f31..9361378 100644
--- a/.env.staging
+++ b/.env.staging
@@ -4,10 +4,10 @@ NODE_ENV = production
ENV = 'staging'
# base api
-#VUE_APP_BASE_API=http://wuxiwuye.ali251.langye.net/
-#VUE_APP_UPLOAD_API=http://wuxiwuye.ali251.langye.net/api/admin/upload-file
-#VUE_APP_PREVIEW=//view.langye.net:8012/onlinePreview
+VUE_APP_BASE_API=http://wuxiwuye.ali251.langye.net/
+VUE_APP_UPLOAD_API=http://wuxiwuye.ali251.langye.net/api/admin/upload-file
+VUE_APP_PREVIEW=//view.langye.net:8012/onlinePreview
# base api
-VUE_APP_BASE_API=http://192.168.221.31:9001/
-VUE_APP_UPLOAD_API=http://192.168.221.31:9001/api/admin/upload-file
-VUE_APP_PREVIEW=http://192.168.221.31:8012/onlinePreview
+#VUE_APP_BASE_API=http://192.168.221.31:9001/
+#VUE_APP_UPLOAD_API=http://192.168.221.31:9001/api/admin/upload-file
+#VUE_APP_PREVIEW=http://192.168.221.31:8012/onlinePreview
diff --git a/package.json b/package.json
index 2c8a379..5a0d4d8 100644
--- a/package.json
+++ b/package.json
@@ -7,6 +7,7 @@
"dev": "vue-cli-service serve",
"build:prod": "vue-cli-service build",
"build:stage": "vue-cli-service build --mode staging",
+ "build:prostaging": "vue-cli-service build --mode prostaging",
"postinstall": "patch-package",
"preview": "node build/index.js --preview",
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
diff --git a/src/views/assets/handleDetail.vue b/src/views/assets/handleDetail.vue
index 5dbece8..56aec85 100644
--- a/src/views/assets/handleDetail.vue
+++ b/src/views/assets/handleDetail.vue
@@ -45,7 +45,7 @@
-
+
diff --git a/src/views/assets/handleSign.vue b/src/views/assets/handleSign.vue
index 8f19112..ef89c50 100644
--- a/src/views/assets/handleSign.vue
+++ b/src/views/assets/handleSign.vue
@@ -128,15 +128,15 @@ export default {
align: "center",
},
{
- prop: "_chuzumianji",
- label: "出租面积(m²)",
+ prop: "_zichanshengyumianji",
+ label: "资产剩余面积(m²)",
width: 160,
customFn: (row) => {
return (
);
@@ -710,12 +710,10 @@ export default {
this.form = Object.assign({}, this.form);
this.originalForm = deepCopy(res);
if (this.type !== 'add') {
- this.originalForm?.id_handle_signs_to_assets_handle_sign_id_relation?.forEach(
+ this.originalForm?.handle_signs_to_assets?.forEach(
(item) => {
if (item.land_id) {
- let land = this.originalForm.land?.find(
- (land) => land.id === item.land_id
- );
+ let land = item.lands;
if (land) {
this.nowAssets.push({
id: land.id,
@@ -728,9 +726,7 @@ export default {
});
}
} else {
- let house = this.originalForm.houses?.find(
- (house) => house.id === item.house_id
- );
+ let house = item.house;
if (house) {
this.nowAssets.push({
id: house.id,
@@ -780,7 +776,7 @@ export default {
land_id: !item.hasOwnProperty("land_id") ? item.id : "",
house_id: item.hasOwnProperty("land_id") ? item.id : "",
zichanshengyumianji: item._zichanshengyumianji,
- handle_id: res.id
+ handle_sign_id: res.id
}));
if (handleToAssetsData && handleToAssetsData.length > 0) {
imports(
@@ -812,7 +808,7 @@ export default {
content: `${this.type === "add" ? "新增" : "编辑"}成功`,
});
this.$emit("refresh");
- this.$router.push("/lease");
+ this.$router.push("/handleSignList");
});
},
},
@@ -884,7 +880,7 @@ export default {
this.$nextTick(() => this.getDetail());
} else {
show({ id: this.$route.params.handleId, table_name: "asset_handles" }).then(handleDetail => {
- handleDetail?.lets_to_assets?.forEach(item => {
+ handleDetail?.asset_handles_to_assets?.forEach(item => {
if (item.land_id) {
let land = item.lands;
if (land) {
@@ -894,7 +890,7 @@ export default {
zuoluo: land.zuoluo,
zichanweizhi: land.zichanweizhi,
shijimianji: land.shijimianji,
- _chuzumianji: item.chuzumianji||0,
+ _zichanshengyumianji: item.zichanshengyumianji||0,
_relation_id: item.id,
});
}
@@ -907,7 +903,7 @@ export default {
zuoluo: house.zuoluo,
zichanweizhi: house.zichanweizhi,
shijimianji: house.shijimianji,
- _chuzumianji: item.chuzumianji||0,
+ _zichanshengyumianji: item.zichanshengyumianji||0,
_relation_id: item.id,
land_id: house.land_id,
});
diff --git a/src/views/assets/handleSignDetail.vue b/src/views/assets/handleSignDetail.vue
new file mode 100644
index 0000000..35b2b49
--- /dev/null
+++ b/src/views/assets/handleSignDetail.vue
@@ -0,0 +1,600 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ img
+
+
+
+
+
+ {{ contentFormat(item) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/assets/handleSignList.vue b/src/views/assets/handleSignList.vue
new file mode 100644
index 0000000..057f986
--- /dev/null
+++ b/src/views/assets/handleSignList.vue
@@ -0,0 +1,683 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ inputStartHandler(e, select.filter[0])"
+ />
+ 至
+ inputEndHandler(e, select.filter[0])"
+ />
+
+
+
+
+
+
+
+
条件{{ index + 1 }}
+
+
+
+
+
+
+
+
+
+ inputStartHandler(e, item)"
+ />
+ 至
+ inputEndHandler(e, item)"
+ />
+
+
+
+
+
+
+ 新增一条
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
+ $router.push({
+ path: $route.path + '/detail/' + row.id
+ })
+ }
+ "
+ @editor="
+ (row) => {
+ $router.push('/handleSign/'+row.let_id+'?type=editor&handleId='+row.id)
+ }
+ "
+ @loaded="adjustAlignment"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/menu.vue b/src/views/system/menu.vue
index 221b580..5935635 100644
--- a/src/views/system/menu.vue
+++ b/src/views/system/menu.vue
@@ -93,7 +93,17 @@
+
+
+
+
+
+
+
@@ -304,7 +314,7 @@ export default {
],
icon: [
{
- required: true,
+ required: false,
message: "请输入图标",
trigger: "blur",
},
diff --git a/vue.config.js b/vue.config.js
index 33144f6..67c394e 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -24,7 +24,7 @@ module.exports = {
* In most cases please use '/' !!!
* Detail: https://cli.vuejs.org/config/#publicpath
*/
- publicPath: process.env.ENV === 'staging' ? '/app_test' : '/app',
+ publicPath: (process.env.ENV === 'staging' || process.env.ENV === 'prostaging') ? '/app_test' : '/app',
outputDir: './dist',
assetsDir: 'static',
css: {