| | |
| | | |
| | | <script type="text/javascript"> |
| | | var topContent = [ |
| | | |
| | | // { |
| | | // code: 'SB001', |
| | | // code: 'SB003', |
| | | // name: '齿轮箱组', |
| | | // wksp_code: "CJ002", |
| | | // wksp_name: '装配车间', |
| | | // eqpchkmain_code: "djbz002" |
| | | // }, |
| | | // { |
| | | // code: 'SB003', |
| | | // code: 'SB001', |
| | | // name: '齿轮箱组', |
| | | // wksp_code: "CJ002", |
| | | // wksp_name: '装配车间', |
| | |
| | | immediate: true, |
| | | }, |
| | | |
| | | 'topContent.length': { |
| | | handler(newValue, oldValue) { |
| | | if (newValue !== oldValue) { |
| | | this.$forceUpdate() |
| | | // if (topContent[0]&&topContent[0].code) { |
| | | // this.$forceUpdate() |
| | | // this.topContentClcik(topContent[0].code) |
| | | // } |
| | | } |
| | | }, |
| | | deep: true, |
| | | immediate: true, |
| | | }, |
| | | // 'topContent.length': { |
| | | // handler(newValue, oldValue) { |
| | | // if (newValue !== oldValue) { |
| | | // this.$forceUpdate() |
| | | // // if (topContent[0]&&topContent[0].code) { |
| | | // // this.$forceUpdate() |
| | | // // this.topContentClcik(topContent[0].code) |
| | | // // } |
| | | // } |
| | | // }, |
| | | // deep: true, |
| | | // immediate: true, |
| | | // }, |
| | | 'number2.length': { |
| | | handler(newValue, oldValue) { |
| | | this.$forceUpdate() |
| | |
| | | deep: true, |
| | | immediate: true, |
| | | }, |
| | | 'number.length': { |
| | | handler(newValue, oldValue) { |
| | | this.$forceUpdate() |
| | | }, |
| | | deep: true, |
| | | immediate: true, |
| | | }, |
| | | // 'number.length': { |
| | | // handler(newValue, oldValue) { |
| | | // this.$forceUpdate() |
| | | // }, |
| | | // deep: true, |
| | | // immediate: true, |
| | | // }, |
| | | }, |
| | | created() {}, |
| | | mounted() {}, |