Commit 416d6b89 by 周海峰

no message

parent b06830b9
...@@ -81,6 +81,9 @@ ...@@ -81,6 +81,9 @@
></q-uploader> ></q-uploader>
</div> </div>
</q-field> </q-field>
<q-field>
<q-select v-model="localTemp.qyflag" float-label="启用/停用" radio :options="selectOptions"/>
</q-field>
</q-card-section> </q-card-section>
</q-card> </q-card>
...@@ -91,9 +94,7 @@ ...@@ -91,9 +94,7 @@
<q-field :count="255"> <q-field :count="255">
<q-input v-model="localTemp.href" float-label="电脑入口" /> <q-input v-model="localTemp.href" float-label="电脑入口" />
</q-field> </q-field>
<q-field>
<q-select v-model="localTemp.qyflag" float-label="启用/停用" radio :options="selectOptions"/>
</q-field>
</q-card-section> </q-card-section>
</q-card> </q-card>
...@@ -110,9 +111,7 @@ ...@@ -110,9 +111,7 @@
<q-field :count="255"> <q-field :count="255">
<q-input v-model="localTemp.wechatUrl" float-label="企微入口" /> <q-input v-model="localTemp.wechatUrl" float-label="企微入口" />
</q-field> </q-field>
<q-field :count="200">
<q-select v-model="localTemp.appEnable" float-label="应用启用/停用" radio :options="selectOptions"/>
</q-field>
</q-card-section> </q-card-section>
</q-card> </q-card>
</div> </div>
...@@ -149,9 +148,7 @@ export default { ...@@ -149,9 +148,7 @@ export default {
if (v) { if (v) {
this.localTemp = JSON.parse(JSON.stringify(this.temp || {})); this.localTemp = JSON.parse(JSON.stringify(this.temp || {}));
this.fetchApplicationsGroupOptions(); this.fetchApplicationsGroupOptions();
if (this.localTemp.appEnable === undefined || this.localTemp.appEnable === null) {
this.localTemp.appEnable = '0';
}
if (this.localTemp.img === undefined) { if (this.localTemp.img === undefined) {
this.$set(this.localTemp, 'img', ''); this.$set(this.localTemp, 'img', '');
} }
...@@ -163,9 +160,7 @@ export default { ...@@ -163,9 +160,7 @@ export default {
temp(n) { temp(n) {
if (this.visible) { if (this.visible) {
this.localTemp = JSON.parse(JSON.stringify(n || {})); this.localTemp = JSON.parse(JSON.stringify(n || {}));
if (this.localTemp.appEnable === undefined || this.localTemp.appEnable === null) {
this.localTemp.appEnable = '0';
}
if (this.localTemp.img === undefined) { if (this.localTemp.img === undefined) {
this.$set(this.localTemp, 'img', ''); this.$set(this.localTemp, 'img', '');
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论