Browse Source

增加页面收录完成按钮及交互

clientSet-zq-1128
zq 2 weeks ago
parent
commit
aff74c9c1b
  1. 10
      src/views/super/clientSet/catalogPage.vue
  2. 26
      src/views/super/clientSet/coverInfoPage.vue
  3. 11
      src/views/super/clientSet/headerPage.vue
  4. 11
      src/views/super/clientSet/mainTextPage.vue
  5. 11
      src/views/super/clientSet/referencePage.vue
  6. 10
      src/views/super/clientSet/summaryPage.vue
  7. 13
      src/views/super/clientSet/switchPage.vue
  8. 10
      src/views/super/clientSet/thanksPage.vue

10
src/views/super/clientSet/catalogPage.vue

@ -14,13 +14,18 @@
:init-data="threeFormData" @cancel="(data) => handleCancelEvent(data, 'threeLevelRef')"
@submit="(data) => handleSubmitEvent(data, 'threeLevelRef')" />
</div>
<div class="save-button flex">
<GuipButton type="primary" :btnstyle="{width:'144px',height:'46px'}" @click="submitFun">收录完成</GuipButton>
</div>
</div>
</template>
<script>
import GuipButton from '@/components/GuipButton.vue';
import ClientForm from '@/components/clientSet/clientForm.vue';
export default {
components: {
ClientForm,
GuipButton
},
data() {
return {
@ -53,6 +58,11 @@ export default {
// this.getCataInfo();
},
methods: {
submitFun() {
this.$router.push({
path: '/super/paiban/tpl',
})
},
getCataInfo(){
this.$http('POST', '/api', {}, {
}).then(response => {

26
src/views/super/clientSet/coverInfoPage.vue

@ -263,29 +263,9 @@ export default {
},
//
submitFun() {
//
// let props = {
// configdata:{
// school: this.coverInfo.school,
// college: this.coverInfo.college,
// degree: this.coverInfo.degree,
// },
// template_id: this.template_id
// }
// this.$http('POST', '/supernew/ajax_save_paiban_template_config', {
// ...props
// }).then(response => {
// this.$nextTick(() => {
// if (response.status) {
// this.$Message.success(response.info);
// } else {
// this.$Message.error(response.info);
// }
// })
// }).catch(error => {
// console.error(error, 'error')
// })
this.$router.push({
path: '/super/paiban/tpl',
})
}
},

11
src/views/super/clientSet/headerPage.vue

@ -9,13 +9,19 @@
:init-data="twoFormData" @cancel="(data) => handleCancelEvent(data, 'twoLevel')"
@submit="(data) => handleSubmitEvent(data, 'twoLevel')" />
</div>
<div class="save-button flex">
<GuipButton type="primary" :btnstyle="{width:'144px',height:'46px'}" @click="submitFun">收录完成</GuipButton>
</div>
</div>
</template>
<script>
import ClientForm from '@/components/clientSet/clientForm.vue';
import GuipButton from '@/components/GuipButton.vue';
export default {
components: {
ClientForm,
GuipButton
},
data() {
return {
@ -33,6 +39,11 @@ export default {
// this.getHeaderInfo();
},
methods: {
submitFun() {
this.$router.push({
path: '/super/paiban/tpl',
})
},
getHeaderInfo(){
this.$http('POST', '/api', {}, {
}).then(response => {

11
src/views/super/clientSet/mainTextPage.vue

@ -27,13 +27,19 @@
@cancel="(data) => handleCancelEvent(data, 'imagesRef')"
@submit="(data) => handleSubmitEvent(data, 'imagesRef')" />
</div>
<div class="save-button flex">
<GuipButton type="primary" :btnstyle="{width:'144px',height:'46px'}" @click="submitFun">收录完成</GuipButton>
</div>
</div>
</template>
<script>
import ClientForm from '@/components/clientSet/clientForm.vue';
import GuipButton from '@/components/GuipButton.vue';
export default {
components: {
ClientForm,
GuipButton
},
data() {
return {
@ -79,6 +85,11 @@ export default {
// this.getMainInfo();
},
methods: {
submitFun() {
this.$router.push({
path: '/super/paiban/tpl',
})
},
getMainInfo(){
this.$http('POST', '/api', {}, {
}).then(response => {

11
src/views/super/clientSet/referencePage.vue

@ -9,13 +9,19 @@
:init-data="referenceTextData" @cancel="(data) => handleCancelEvent(data, 'referenceTextRef')"
@submit="(data) => handleSubmitEvent(data, 'referenceTextRef')" />
</div>
<div class="save-button flex">
<GuipButton type="primary" :btnstyle="{width:'144px',height:'46px'}" @click="submitFun">收录完成</GuipButton>
</div>
</div>
</template>
<script>
import GuipButton from '@/components/GuipButton.vue';
import ClientForm from '@/components/clientSet/clientForm.vue';
export default {
components: {
ClientForm,
GuipButton
},
data() {
return {
@ -35,6 +41,11 @@ export default {
// this.getReferenceInfo();
},
methods: {
submitFun() {
this.$router.push({
path: '/super/paiban/tpl',
})
},
getReferenceInfo(){
this.$http('POST', '/api', {}, {
}).then(response => {

10
src/views/super/clientSet/summaryPage.vue

@ -27,13 +27,18 @@
:init-data="engKeyData" @cancel="(data) => handleCancelEvent(data, 'engKeyRef')"
@submit="(data) => handleSubmitEvent(data, 'engKeyRef')" />
</div>
<div class="save-button flex">
<GuipButton type="primary" :btnstyle="{width:'144px',height:'46px'}" @click="submitFun">收录完成</GuipButton>
</div>
</div>
</template>
<script>
import GuipButton from '@/components/GuipButton.vue';
import ClientForm from '@/components/clientSet/clientForm.vue';
export default {
components: {
ClientForm,
GuipButton
},
data() {
return {
@ -80,6 +85,11 @@ export default {
},
methods: {
submitFun() {
this.$router.push({
path: '/super/paiban/tpl',
})
},
getSummaryInfo(){
this.$http('POST', '/api', {}, {
}).then(response => {

13
src/views/super/clientSet/switchPage.vue

@ -14,14 +14,18 @@
</div>
</el-form>
</div>
<div class="save-button flex">
<GuipButton type="primary" :btnstyle="{width:'144px',height:'46px'}" @click="submitFun">收录完成</GuipButton>
</div>
</div>
</template>
<script>
import GuipButton from '@/components/GuipButton.vue';
import GuipSwitch from '@/components/GuipSwitch.vue';
export default {
components: {
GuipSwitch
GuipSwitch,
GuipButton
},
data() {
return {
@ -32,6 +36,11 @@ export default {
// this.getSwitchInfo();
},
methods: {
submitFun() {
this.$router.push({
path: '/super/paiban/tpl',
})
},
getSwitchInfo(){
this.$http('POST', '/api', {}, {
}).then(response => {

10
src/views/super/clientSet/thanksPage.vue

@ -10,13 +10,18 @@
:init-data="thanksTextFormData" @cancel="(data) => handleCancelEvent(data, 'thanksText')"
@submit="(data) => handleSubmitEvent(data, 'thanksText')" />
</div>
<div class="save-button flex">
<GuipButton type="primary" :btnstyle="{width:'144px',height:'46px'}" @click="submitFun">收录完成</GuipButton>
</div>
</div>
</template>
<script>
import GuipButton from '@/components/GuipButton.vue';
import ClientForm from '@/components/clientSet/clientForm.vue';
export default {
components: {
ClientForm,
GuipButton
},
data() {
return {
@ -36,6 +41,11 @@ export default {
// this.getThanksInfo();
},
methods: {
submitFun() {
this.$router.push({
path: '/super/paiban/tpl',
})
},
getThanksInfo(){
this.$http('POST', '/api', {}, {
}).then(response => {

Loading…
Cancel
Save