Commit bf3b65f8 authored by 赵啸非's avatar 赵啸非

更新资源部署

parent e0b0019d
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
import form from "@/assets/mixins/formdialog"; import form from "@/assets/mixins/formdialog";
import dialogShow from "./dialogshow"; import dialogShow from "./dialogshow";
import FileUpload from '@/components/FileUpload'; import FileUpload from '@/components/FileUpload';
import session from "@/assets/utils/session";
export default { export default {
mixins: [form], mixins: [form],
components: { components: {
...@@ -100,6 +101,7 @@ ...@@ -100,6 +101,7 @@
}, },
/**获取数据后弹框 */ /**获取数据后弹框 */
afterRender(data) { afterRender(data) {
this.form.siteId=session.getSession("siteid")
this.open = true; this.open = true;
}, },
...@@ -111,6 +113,7 @@ ...@@ -111,6 +113,7 @@
// 表单重置 // 表单重置
reset() { reset() {
this.form = { this.form = {
siteId:0,
productId : null, productId : null,
productCode : "", productCode : "",
productName : "", productName : "",
......
...@@ -53,6 +53,7 @@ export default { ...@@ -53,6 +53,7 @@ export default {
}, },
/** 重写新增方法 */ /** 重写新增方法 */
toAdd(row) { toAdd(row) {
row.siteId=session.getSession("siteid")
this.$refs.dialogform.add(row); this.$refs.dialogform.add(row);
}, },
/** 重写编辑方法 */ /** 重写编辑方法 */
......
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
<properties> <properties>
<profiles.active>sngx</profiles.active> <profiles.active>sngx</profiles.active>
<profiles.server.path>/m</profiles.server.path> <profiles.server.path>/m</profiles.server.path>
<profiles.publish.path>/home/publish</profiles.publish.path> <profiles.publish.path>D:/home/publish</profiles.publish.path>
<profiles.server.port>18222</profiles.server.port> <profiles.server.port>18222</profiles.server.port>
<profiles.platform.type>cloud</profiles.platform.type> <profiles.platform.type>cloud</profiles.platform.type>
<profiles.datasource.uri> <profiles.datasource.uri>
...@@ -193,12 +193,12 @@ ...@@ -193,12 +193,12 @@
<profiles.sms.smsSendUrl>http://127.0.0.1:8089/api/index/index</profiles.sms.smsSendUrl> <profiles.sms.smsSendUrl>http://127.0.0.1:8089/api/index/index</profiles.sms.smsSendUrl>
<profiles.sms.apiId>k6BVS1PEbyzcJAE4</profiles.sms.apiId> <profiles.sms.apiId>k6BVS1PEbyzcJAE4</profiles.sms.apiId>
<profiles.sms.type>3</profiles.sms.type> <profiles.sms.type>3</profiles.sms.type>
<profiles.filepath>/mortals/app/data</profiles.filepath> <profiles.filepath>D:/mortals/app/data</profiles.filepath>
<profiles.log.level>INFO</profiles.log.level> <profiles.log.level>INFO</profiles.log.level>
<profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr> <profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr>
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group> <profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
<profiles.nacos.namespace>smart-gov</profiles.nacos.namespace> <profiles.nacos.namespace>smart-gov</profiles.nacos.namespace>
<profiles.log.path>/home/mortals/app/logs</profiles.log.path> <profiles.log.path>D:/home/mortals/app/logs</profiles.log.path>
<package.environment>build:prod</package.environment> <package.environment>build:prod</package.environment>
<skipDeploy>false</skipDeploy> <skipDeploy>false</skipDeploy>
</properties> </properties>
......
...@@ -88,7 +88,7 @@ public class DeviceModuleDistributeEntity extends DeviceModuleDistributeVo { ...@@ -88,7 +88,7 @@ public class DeviceModuleDistributeEntity extends DeviceModuleDistributeVo {
} }
public void initAttrValue(){ public void initAttrValue(){
this.productId = 0L; this.productId = null;
this.productCode = ""; this.productCode = "";
this.productName = ""; this.productName = "";
this.imageResolution = ""; this.imageResolution = "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment