157578146@qq.com 2 years ago
parent
commit
e755d2d414
  1. 2
      src/pages/article/add_article.vue
  2. 6
      src/pages/article/article_category.vue
  3. 6
      src/pages/collection/merge.vue
  4. 26
      src/pages/index/index.vue
  5. 2
      src/router/modules/capital.js
  6. 2
      src/router/modules/collection.js
  7. 2
      src/router/modules/digital.js
  8. 3
      src/utils/modalForm.js

2
src/pages/article/add_article.vue

@ -140,7 +140,7 @@
</Col>
</Row>
<Row >
<Row>
<Col class="mr50">
<FormItem label="微信通知:">
<RadioGroup v-model="formValidate.open_wechat_msg">

6
src/pages/article/article_category.vue

@ -125,7 +125,7 @@
}
},
computed: {
...mapState('admin/layout', [
...mapState('store/layout', [
'isMobile'
]),
labelWidth () {
@ -136,10 +136,10 @@
}
},
mounted () {
this.getList();
// this.getList();
},
methods: {
...mapMutations('admin/userLevel', [
...mapMutations('store/userLevel', [
'getCategoryId'
]),
//

6
src/pages/collection/merge.vue

@ -603,9 +603,9 @@
export default {
name: "merge",
computed: {
...mapState('admin/layout', [
'isMobile'
]),
// ...mapState('admin/layout', [
// 'isMobile'
// ]),
labelWidth () {
return this.isMobile ? undefined : 80;
},

26
src/pages/index/index.vue

@ -19,8 +19,7 @@
:label="item.val"
v-for="(item, i) in fromList.fromTxt"
:key="i"
>{{ item.text }}</Radio
>
>{{ item.text }}</Radio>
</RadioGroup>
<DatePicker
:editable="false"
@ -192,19 +191,16 @@
return this.isMobile ? "top" : "left";
},
},
created(){
this.cardList()
this.orderchart()
this.staff()
// this.trends()
},
mounted() {
this.$nextTick(function(){
// setTimeout(()=>{
this.trends()
// },2000)
})
},
// created(){
// this.cardList()
// this.orderchart()
// this.staff()
// },
// mounted() {
// this.$nextTick(function(){
// this.trends()
// })
// },
methods:{
int(){
this.cardList()

2
src/router/modules/capital.js

@ -13,7 +13,7 @@ const pre = 'capital_';
export default {
path: '/store/finance/',
name: 'capital',
name: pre,
header: 'capital',
meta: {
// 授权标识

2
src/router/modules/collection.js

@ -24,7 +24,7 @@ export default {
},
{
path: '/store/collection/list',
name: `${pre}list`,
name: `${pre}`,
meta: {
title: '合成管理',
auth: ['store-collection-list']

2
src/router/modules/digital.js

@ -26,7 +26,7 @@ export default {
children: [
{
path: '/store/digital/index',
name: `${pre}digital`,
name: `${pre}`,
meta: {
title: '管理藏品',
auth: ['store-digital-index']

3
src/utils/modalForm.js

@ -42,6 +42,7 @@ export default function (formRequestPromise, { width = '700' } = { width: '700'
duration: 0
});
formRequestPromise.then(({ data }) => {
if (data.status === false) {
msg();
return Notice.warning({
@ -80,7 +81,7 @@ export default function (formRequestPromise, { width = '700' } = { width: '700'
}
}
let flag = 0
data.config.onSubmit = function (formData, $f) {
data.config.onSubmit = function (formData, $f) {
$f.btn.loading(true);
$f.btn.disabled(true);
if(flag==0){

Loading…
Cancel
Save