学校登录可按条件查询,修复brand删除后更新错误
This commit is contained in:
7
components.d.ts
vendored
7
components.d.ts
vendored
@@ -9,11 +9,15 @@ export {}
|
|||||||
declare module 'vue' {
|
declare module 'vue' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
ABadge: typeof import('ant-design-vue/es')['Badge']
|
ABadge: typeof import('ant-design-vue/es')['Badge']
|
||||||
|
ABreadcrumb: typeof import('ant-design-vue/es')['Breadcrumb']
|
||||||
ACheckbox: typeof import('ant-design-vue/es')['Checkbox']
|
ACheckbox: typeof import('ant-design-vue/es')['Checkbox']
|
||||||
AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider']
|
AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider']
|
||||||
|
ADatePicker: typeof import('ant-design-vue/es')['DatePicker']
|
||||||
ADrawer: typeof import('ant-design-vue/es')['Drawer']
|
ADrawer: typeof import('ant-design-vue/es')['Drawer']
|
||||||
AImage: typeof import('ant-design-vue/es')['Image']
|
AImage: typeof import('ant-design-vue/es')['Image']
|
||||||
AInputNumber: typeof import('ant-design-vue/es')['InputNumber']
|
AInputNumber: typeof import('ant-design-vue/es')['InputNumber']
|
||||||
|
AMenu: typeof import('ant-design-vue/es')['Menu']
|
||||||
|
AMenuItem: typeof import('ant-design-vue/es')['MenuItem']
|
||||||
AModal: typeof import('ant-design-vue/es')['Modal']
|
AModal: typeof import('ant-design-vue/es')['Modal']
|
||||||
APagination: typeof import('ant-design-vue/es')['Pagination']
|
APagination: typeof import('ant-design-vue/es')['Pagination']
|
||||||
APopover: typeof import('ant-design-vue/es')['Popover']
|
APopover: typeof import('ant-design-vue/es')['Popover']
|
||||||
@@ -21,11 +25,14 @@ declare module 'vue' {
|
|||||||
ASelect: typeof import('ant-design-vue/es')['Select']
|
ASelect: typeof import('ant-design-vue/es')['Select']
|
||||||
ASelectOption: typeof import('ant-design-vue/es')['SelectOption']
|
ASelectOption: typeof import('ant-design-vue/es')['SelectOption']
|
||||||
ASlider: typeof import('ant-design-vue/es')['Slider']
|
ASlider: typeof import('ant-design-vue/es')['Slider']
|
||||||
|
ASpace: typeof import('ant-design-vue/es')['Space']
|
||||||
ASpin: typeof import('ant-design-vue/es')['Spin']
|
ASpin: typeof import('ant-design-vue/es')['Spin']
|
||||||
|
ASubMenu: typeof import('ant-design-vue/es')['SubMenu']
|
||||||
ASwitch: typeof import('ant-design-vue/es')['Switch']
|
ASwitch: typeof import('ant-design-vue/es')['Switch']
|
||||||
ATable: typeof import('ant-design-vue/es')['Table']
|
ATable: typeof import('ant-design-vue/es')['Table']
|
||||||
ATabPane: typeof import('ant-design-vue/es')['TabPane']
|
ATabPane: typeof import('ant-design-vue/es')['TabPane']
|
||||||
ATabs: typeof import('ant-design-vue/es')['Tabs']
|
ATabs: typeof import('ant-design-vue/es')['Tabs']
|
||||||
|
ATimeRangePicker: typeof import('ant-design-vue/es')['TimeRangePicker']
|
||||||
AUpload: typeof import('ant-design-vue/es')['Upload']
|
AUpload: typeof import('ant-design-vue/es')['Upload']
|
||||||
ElCascader: typeof import('element-plus/es')['ElCascader']
|
ElCascader: typeof import('element-plus/es')['ElCascader']
|
||||||
RouterLink: typeof import('vue-router')['RouterLink']
|
RouterLink: typeof import('vue-router')['RouterLink']
|
||||||
|
|||||||
@@ -2314,6 +2314,8 @@ textarea:focus {
|
|||||||
top: 0rem;
|
top: 0rem;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid #dcdfe6;
|
border: 1px solid #dcdfe6;
|
||||||
|
width: calc(var(--width) + 6rem);
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
.generage_btn_box {
|
.generage_btn_box {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@@ -2200,6 +2200,8 @@ textarea:focus{
|
|||||||
top: 0rem;
|
top: 0rem;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
border: 1px solid #dcdfe6;
|
border: 1px solid #dcdfe6;
|
||||||
|
width: calc(var(--width) + 6rem);
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// span{
|
// span{
|
||||||
|
|||||||
@@ -175,6 +175,7 @@ export default defineComponent({
|
|||||||
isNoData:false,//如果数据为空就不加载
|
isNoData:false,//如果数据为空就不加载
|
||||||
isNull:true,
|
isNull:true,
|
||||||
finishTime:'',
|
finishTime:'',
|
||||||
|
upLoadList:0,
|
||||||
})
|
})
|
||||||
const dataDom = reactive({
|
const dataDom = reactive({
|
||||||
Cropper:null as any,
|
Cropper:null as any,
|
||||||
@@ -412,9 +413,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
const confirmDeletePic = (value:any,index:any,nData:any)=>{
|
const confirmDeletePic = (value:any,index:any,nData:any)=>{
|
||||||
data.currentPage = 0
|
data.currentPage = 0
|
||||||
data.isNoData = false
|
|
||||||
data.isNull = false
|
|
||||||
data.isShowMark = false
|
|
||||||
let libraryIds = value ? [value.id] : data.selectImgList
|
let libraryIds = value ? [value.id] : data.selectImgList
|
||||||
let newData = {
|
let newData = {
|
||||||
libraryIds:libraryIds,
|
libraryIds:libraryIds,
|
||||||
@@ -426,6 +425,9 @@ export default defineComponent({
|
|||||||
(rv: any) => {
|
(rv: any) => {
|
||||||
dataDom.fall.clearData()
|
dataDom.fall.clearData()
|
||||||
data.selectImgList = []
|
data.selectImgList = []
|
||||||
|
data.isNoData = false
|
||||||
|
data.isShowMark = false
|
||||||
|
// data.upLoadList++
|
||||||
// getLibraryList()
|
// getLibraryList()
|
||||||
}
|
}
|
||||||
).catch((res)=>{
|
).catch((res)=>{
|
||||||
|
|||||||
@@ -251,27 +251,31 @@ export default defineComponent({
|
|||||||
schoolList: [] as any,
|
schoolList: [] as any,
|
||||||
});
|
});
|
||||||
const schoolListChange = (e: any) => {};
|
const schoolListChange = (e: any) => {};
|
||||||
const filterOption = (e: any) => {
|
const filterOption = (e: any,option: any) => {
|
||||||
let params = {
|
return option.value.toLowerCase().indexOf(e.toLowerCase()) >= 0;
|
||||||
name: e,
|
|
||||||
type: "School",
|
|
||||||
};
|
|
||||||
Https.axiosPost(
|
|
||||||
Https.httpUrls.organizationNameSearch,
|
|
||||||
{},
|
|
||||||
{ params: params }
|
|
||||||
).then((rv: any) => {
|
|
||||||
data.schoolList = rv.map((item: any) => {
|
|
||||||
return {
|
|
||||||
label: item,
|
|
||||||
value: item,
|
|
||||||
};
|
|
||||||
});
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
const getSchoolList = ()=>{
|
||||||
|
let params = {
|
||||||
|
name: '',
|
||||||
|
type: "School",
|
||||||
|
};
|
||||||
|
Https.axiosPost(
|
||||||
|
Https.httpUrls.organizationNameSearch,
|
||||||
|
{},
|
||||||
|
{ params: params }
|
||||||
|
).then((rv: any) => {
|
||||||
|
data.schoolList = rv.map((item: any) => {
|
||||||
|
return {
|
||||||
|
label: item,
|
||||||
|
value: item,
|
||||||
|
};
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
const handleFocus = () => {
|
const handleFocus = () => {
|
||||||
if (data.schoolList.length == 0) {
|
if (data.schoolList.length == 0) {
|
||||||
filterOption("");
|
getSchoolList();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -2,8 +2,9 @@
|
|||||||
<div id="app">
|
<div id="app">
|
||||||
<div class="captcha">
|
<div class="captcha">
|
||||||
<input v-for="(c, index) in getCtData" :key="index"
|
<input v-for="(c, index) in getCtData" :key="index"
|
||||||
type="number"
|
type="text"
|
||||||
v-model="getCtData[index]" ref="input"
|
v-model="getCtData[index]" ref="input"
|
||||||
|
pattern="[0-9]*"
|
||||||
@input="e => {onInput(e.target.value, index)}"
|
@input="e => {onInput(e.target.value, index)}"
|
||||||
@keydown.delete="e=>{onKeydown(e.target.value, index)}"
|
@keydown.delete="e=>{onKeydown(e.target.value, index)}"
|
||||||
@focus="onFocus"
|
@focus="onFocus"
|
||||||
@@ -54,7 +55,9 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onInput(val, index) {
|
onInput(val, index) {
|
||||||
val = val.replace(/\D/g, '');
|
// val = val.replace(/[^0-9]/g, '');
|
||||||
|
val = String(val).replace(/\D/g, '');
|
||||||
|
this.getCtData[index] = val
|
||||||
if (index == this.ctSize - 1) {
|
if (index == this.ctSize - 1) {
|
||||||
this.getCtData[this.ctSize - 1] = val[0]; // 最后一个码,只允许输入一个字符。
|
this.getCtData[this.ctSize - 1] = val[0]; // 最后一个码,只允许输入一个字符。
|
||||||
} else if(val.length > 1) {
|
} else if(val.length > 1) {
|
||||||
|
|||||||
@@ -422,6 +422,11 @@ export default defineComponent({
|
|||||||
// }
|
// }
|
||||||
data.selectImg = res.data
|
data.selectImg = res.data
|
||||||
data.fileList.filter((v: any) => v.status === "done");
|
data.fileList.filter((v: any) => v.status === "done");
|
||||||
|
let storeData = {
|
||||||
|
str:'add',
|
||||||
|
list:[file]
|
||||||
|
}
|
||||||
|
store.commit('setUploadElement',storeData)
|
||||||
}else{
|
}else{
|
||||||
bor = false
|
bor = false
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ const source = CancelToken.source();
|
|||||||
let isLoginTime = false
|
let isLoginTime = false
|
||||||
const filterHttpsUrl = [
|
const filterHttpsUrl = [
|
||||||
// '/api/portfolio/page',
|
// '/api/portfolio/page',
|
||||||
|
'/api/third/party/parseGoogleCredential',
|
||||||
'/api/account/resetPwd',
|
'/api/account/resetPwd',
|
||||||
'/api/portfolio/detail',
|
'/api/portfolio/detail',
|
||||||
'/api/account/preLogin',
|
'/api/account/preLogin',
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
<div class="administrator_title ">
|
<div class="administrator_title ">
|
||||||
<div class="modal_title_text" @click="setBack">
|
<div class="modal_title_text" @click="setBack">
|
||||||
<i class="fi fi-sr-left"></i>
|
<i class="fi fi-sr-left"></i>
|
||||||
<div class="modal_title_intro administrator_title_text">Back</div>
|
<div class="modal_title_intro administrator_title_text">{{ $t('upgradePlan.Back') }}Back</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal_title_text">Administrator</div>
|
<div class="modal_title_text">{{ $t('Header.Administrator') }}</div>
|
||||||
<a-menu
|
<a-menu
|
||||||
id="dddddd"
|
id="dddddd"
|
||||||
class="menu_list_content"
|
class="menu_list_content"
|
||||||
|
|||||||
@@ -357,7 +357,7 @@
|
|||||||
</i>
|
</i>
|
||||||
<i v-show="selectCode == 'Printboard' && scene?.value == 'Slogan'" :title="$t('Generate.sloganTitle')" @click.stop="setSlogan" class="fi fi-rr-poll-h"></i>
|
<i v-show="selectCode == 'Printboard' && scene?.value == 'Slogan'" :title="$t('Generate.sloganTitle')" @click.stop="setSlogan" class="fi fi-rr-poll-h"></i>
|
||||||
<i v-show="!isTextarea" class="fi fi-br-expand" @click.stop="setTextareaShow"></i>
|
<i v-show="!isTextarea" class="fi fi-br-expand" @click.stop="setTextareaShow"></i>
|
||||||
<i v-show="isTextarea" class="fi fi-bs-compress" @click.stop="setTextareaShow"></i>
|
<i v-show="isTextarea" class="fi fi-bs-compress" style="z-index: 100;" @click.stop="setTextareaShow"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="input_box_btnBox sketch" v-else>
|
<div class="input_box_btnBox sketch" v-else>
|
||||||
<div class="upload_item" v-show="selectGenerateList.length > 0">
|
<div class="upload_item" v-show="selectGenerateList.length > 0">
|
||||||
|
|||||||
Reference in New Issue
Block a user