| | |
| | | }, |
| | | methods: { |
| | | onSubmit(formName) { |
| | | debugger |
| | | if (this.form.id) { |
| | | // id不为空,修改底库 |
| | | this.$refs[formName].validate(async (valid) => { |
| | |
| | | type: "success", |
| | | }); |
| | | this.$emit("refresh"); |
| | | this.$emit("closeAdd"); |
| | | } else { |
| | | this.$notify({ |
| | | title: "失败", |
| | |
| | | v-show="showType == 'car'" |
| | | ></car-list> |
| | | </div> |
| | | <add-base |
| | | <addBase |
| | | ref="addBase" |
| | | :baseObject="baseForEdit" |
| | | :type="syncType" |
| | | v-if="!showList" |
| | | @refresh="findBaseSync" |
| | | @closeAdd="closeAdd" |
| | | ></add-base> |
| | | ></addBase> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | }
|
| | | });
|
| | | const url = this.curUser.backgroundpic;
|
| | | this.activeIcons = this.curUser.useIconType-1
|
| | | this.activeIcons = this.curUser.useIconType
|
| | | if (url) {
|
| | | // const arr = url.split("/");
|
| | | this.activeBg = this.tableBGList.findIndex((x) => {
|