This commit is contained in:
刘仕伟
2022-03-02 10:52:34 +08:00
6 changed files with 6 additions and 29 deletions

1
.gitignore vendored
View File

@@ -25,4 +25,3 @@ yarn-error.log*
/oms/dist/ /oms/dist/
/project/*/index.js /project/*/index.js
/project/*/dist /project/*/dist
/examples/entries.js

View File

@@ -1,22 +0,0 @@
//引入当前工程所有的应用
const install = function(Vue) {
if (install.installed) return Promise.resolve();
else {
let contexts = require.context('../project/xiushan', true, /(\/.+)\/App[^\/]+\.vue$/);
if (contexts) {
contexts.keys().map((e) => {
if (contexts(e).default) {
Vue.component(contexts(e).default.name, contexts(e).default);
}
});
}
}
};
// 判断是否是直接引入文件
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue);
}
export default {
// 导出的对象必须具有 install才能被 Vue.use() 方法安装
install
};

View File

@@ -23,7 +23,7 @@
type="date" type="date"
size="small" size="small"
unlink-panels unlink-panels
placeholder="选择开始日期" placeholder="选择发布开始日期"
@change="search.current = 1, getList()" /> @change="search.current = 1, getList()" />
<el-date-picker <el-date-picker
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
@@ -31,7 +31,7 @@
type="date" type="date"
size="small" size="small"
unlink-panels unlink-panels
placeholder="选择结束日期" placeholder="选择发布结束日期"
@change="search.current = 1, getList()" /> @change="search.current = 1, getList()" />
</template> </template>
<template #right> <template #right>

View File

@@ -7,8 +7,7 @@
</template> </template>
</ai-title> </ai-title>
<template #content> <template #content>
<el-alert show-icon v-if="!detail.id" type="error" title="该产品已下架" center/> <el-form v-if="detail.id" size="small" label-width="120px">
<el-form v-else size="small" label-width="120px">
<ai-card title="基本信息"> <ai-card title="基本信息">
<template #content> <template #content>
<el-row type="flex" class="flexWrap"> <el-row type="flex" class="flexWrap">

View File

@@ -86,7 +86,7 @@
</el-form-item> </el-form-item>
</template> </template>
<el-form-item v-else-if="form.auditStatus==2" label="审批意见" prop="remark"> <el-form-item v-else-if="form.auditStatus==2" label="审批意见" prop="remark">
<el-input type="textarea" v-model="form.auditDescription" placeholder="请输入"/> <el-input type="textarea" v-model="form.auditDescription" placeholder="请输入" maxlength="200" show-word-limit/>
</el-form-item> </el-form-item>
</el-form> </el-form>
</ai-dialog> </ai-dialog>
@@ -125,6 +125,7 @@ export default {
], ],
auditLifespan: [{required: true, message: "请选择 使用期限"}], auditLifespan: [{required: true, message: "请选择 使用期限"}],
loanDate: [{required: true, message: "请选择 放款日期"}], loanDate: [{required: true, message: "请选择 放款日期"}],
remark: [{required: true, message: "请输入 审批意见"}],
} }
} }
}, },

View File

@@ -2,7 +2,7 @@
<section class="grabDetail"> <section class="grabDetail">
<ai-detail> <ai-detail>
<ai-title slot="title" title="融资详情" isShowBottomBorder isShowBack @onBackClick="back"> <ai-title slot="title" title="融资详情" isShowBottomBorder isShowBack @onBackClick="back">
<template v-if="isFinanceUser&&detail.status==0" #rightBtn> <template v-if="isFinanceUser&&detail.status==1" #rightBtn>
<el-button type="danger" @click="handleCancel">回退订单</el-button> <el-button type="danger" @click="handleCancel">回退订单</el-button>
<el-button type="primary" @click="dialog=true">放款</el-button> <el-button type="primary" @click="dialog=true">放款</el-button>
</template> </template>