同步上架企微
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="setting-item__right">
|
<div class="setting-item__right">
|
||||||
<u-radio-group v-model="periodValidityType" active-color="#1088F9">
|
<u-radio-group v-model="periodValidityType" active-color="#1088F9">
|
||||||
<u-radio name="0" label="永久有效" style="padding-right: 20rpx;">永久有效</u-radio>
|
<u-radio name="0" label="永久有效">永久有效</u-radio>
|
||||||
<u-radio name="1" label="自定义时间">自定义时间</u-radio>
|
<u-radio name="1" label="自定义时间">自定义时间</u-radio>
|
||||||
</u-radio-group>
|
</u-radio-group>
|
||||||
<u-icon name="arrow-right" color="#E1E2E3"/>
|
<u-icon name="arrow-right" color="#E1E2E3"/>
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="setting-item__right">
|
<div class="setting-item__right">
|
||||||
<u-radio-group v-model="commitType" active-color="#1088F9">
|
<u-radio-group v-model="commitType" active-color="#1088F9">
|
||||||
<u-radio name="0" label="不限次数" style="padding-right: 20rpx;">不限次数</u-radio>
|
<u-radio name="0" label="不限次数">不限次数</u-radio>
|
||||||
<u-radio name="1" label="限提交一次">限提交一次</u-radio>
|
<u-radio name="1" label="限提交一次">限提交一次</u-radio>
|
||||||
</u-radio-group>
|
</u-radio-group>
|
||||||
</div>
|
</div>
|
||||||
@@ -104,9 +104,7 @@ export default {
|
|||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
if (this.id) {
|
if (this.id) {
|
||||||
this.id = this.id
|
|
||||||
this.getInfo(this.id)
|
this.getInfo(this.id)
|
||||||
this.type = this.type
|
|
||||||
} else if (this.formConfig) {
|
} else if (this.formConfig) {
|
||||||
const res = this.formConfig
|
const res = this.formConfig
|
||||||
this.periodValidityType = res.periodValidityType || '0'
|
this.periodValidityType = res.periodValidityType || '0'
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import draggable from 'vuedraggable'
|
import draggable from 'vuedraggable'
|
||||||
import FiledConfig from './FiledConfig'
|
import FiledConfig from './FiledConfig'
|
||||||
import FormSetting from './FormSetting'
|
import FormSetting from '../FormSetting'
|
||||||
import PreviewForm from './PreviewForm'
|
import PreviewForm from './PreviewForm'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<h3>编辑</h3>
|
<h3>编辑</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="operate-item" @click="linkTo('/pages/mainEntry?app=AppForm&preview=1&id=' + id)">
|
<div class="operate-item" @click="linkTo('./AppForm?preview=1&id=' + id)">
|
||||||
<div>
|
<div>
|
||||||
<image :src="`${$cdn}askform/yl.png`"/>
|
<image :src="`${$cdn}askform/yl.png`"/>
|
||||||
</div>
|
</div>
|
||||||
@@ -206,7 +206,7 @@ export default {
|
|||||||
return this.$u.toast('该表单已发布')
|
return this.$u.toast('该表单已发布')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.linkTo(`/pages/askForm/formSetting?id=${this.info.id}&type=edit`)
|
this.linkTo(`./formSetting?id=${this.info.id}&type=edit`)
|
||||||
this.isShow = false
|
this.isShow = false
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -303,6 +303,10 @@ export default {
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
u-radio + u-radio {
|
||||||
|
margin-left: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
::v-deep .u-search {
|
::v-deep .u-search {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
|
|
||||||
@@ -312,7 +316,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.form-list {
|
.form-list {
|
||||||
height: calc(100vh - 98rpx - 100rpx);
|
height: calc(100vh - 98px - 100px);
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user