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

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

@ -263,29 +263,9 @@ export default {
}, },
// //
submitFun() { submitFun() {
// this.$router.push({
path: '/super/paiban/tpl',
// 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')
// })
} }
}, },

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save