|
@@ -252,7 +252,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { optionList } from "./js/optionList";
|
|
|
+import { optionList} from "./js/optionList";
|
|
|
import { optionTwo } from "./js/optionListTwo";
|
|
|
import reportDialog from "@/components/report-dialog/main";
|
|
|
import { multiply, sum, subtract } from "@/util/calculate";
|
|
@@ -574,7 +574,8 @@ export default {
|
|
|
reportDialog
|
|
|
},
|
|
|
async created() {
|
|
|
- this.optionList = optionList
|
|
|
+ // this.optionList = optionList
|
|
|
+ this.optionList = await this.getColumnData(this.getColumnName(282.1), optionList);
|
|
|
// 获取字典数据
|
|
|
this.getAllWorkDicts()
|
|
|
// 查看是否要id调用详情
|
|
@@ -890,7 +891,8 @@ export default {
|
|
|
this.imgfalse = false
|
|
|
},
|
|
|
async saveColumn() {
|
|
|
- const inSave = optionList
|
|
|
+ // const inSave = optionList
|
|
|
+ const inSave = await this.delColumnData(this.getColumnName(282.1), optionList);
|
|
|
if (inSave) {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.crud.doLayout();
|
|
@@ -902,7 +904,8 @@ export default {
|
|
|
},
|
|
|
async resetColumn() {
|
|
|
this.optionList = optionList;
|
|
|
- const inSave = optionList
|
|
|
+ // const inSave = optionList
|
|
|
+ const inSave = await this.delColumnData(this.getColumnName(282.1), optionList);
|
|
|
if (inSave) {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.crud.doLayout();
|