Commit 4f0a702f by 潘际乾

页面组件全部引入CommonProcess公共组件

parent df6ee642
...@@ -39,11 +39,13 @@ ...@@ -39,11 +39,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event" import Event from "~/model/Cptadv/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -50,11 +50,13 @@ ...@@ -50,11 +50,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event" import Event from "~/model/Cptadv/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -26,11 +26,13 @@ ...@@ -26,11 +26,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event" import Event from "~/model/Cptadv/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -76,11 +76,13 @@ ...@@ -76,11 +76,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event" import Event from "~/model/Cptadv/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -1121,12 +1121,14 @@ ...@@ -1121,12 +1121,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptadv/Event"; import Event from "~/model/Cptadv/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -62,11 +62,13 @@ ...@@ -62,11 +62,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event" import Event from "~/model/Cptadv/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -50,11 +50,13 @@ ...@@ -50,11 +50,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptadv/Event" import Event from "~/model/Cptadv/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -678,10 +678,12 @@ ...@@ -678,10 +678,12 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props: ['model', 'codes'], props: ['model', 'codes'],
data: function () { data: function () {
return { return {
......
...@@ -179,9 +179,11 @@ ...@@ -179,9 +179,11 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:['model', 'codes'], props:['model', 'codes'],
computed: { computed: {
liqtyp: function () { liqtyp: function () {
......
...@@ -92,12 +92,14 @@ ...@@ -92,12 +92,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event"; import Event from "~/model/Cptopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
temp:'不申报', temp:'不申报',
......
...@@ -91,12 +91,14 @@ ...@@ -91,12 +91,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event"; import Event from "~/model/Cptopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -741,10 +741,12 @@ ...@@ -741,10 +741,12 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props: ['model', 'codes'], props: ['model', 'codes'],
data(){ data(){
return{ return{
......
...@@ -665,9 +665,12 @@ ...@@ -665,9 +665,12 @@
</div> </div>
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
tempmodel: "", tempmodel: "",
......
...@@ -312,9 +312,12 @@ ...@@ -312,9 +312,12 @@
</div> </div>
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess"
export default { export default {
inject: ['root'], inject: ['root'],
props: ['model', 'codes'], mixins: [CommonProcess],
props: ['model', 'codes'],
methods: { methods: {
getOwnref () { getOwnref () {
console.log('获取') console.log('获取')
......
...@@ -291,8 +291,11 @@ ...@@ -291,8 +291,11 @@
</div> </div>
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props: ['model', 'codes'], props: ['model', 'codes'],
methods: { methods: {
getOwnref () { getOwnref () {
......
...@@ -206,12 +206,14 @@ ...@@ -206,12 +206,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event"; import Event from "~/model/Cptopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
stmData: { stmData: {
......
...@@ -146,12 +146,14 @@ ...@@ -146,12 +146,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event"; import Event from "~/model/Cptopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
data1:[], data1:[],
......
...@@ -510,12 +510,14 @@ ...@@ -510,12 +510,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event"; import Event from "~/model/Cptopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
}; };
......
...@@ -163,8 +163,11 @@ ...@@ -163,8 +163,11 @@
</div> </div>
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:['model', 'codes'], props:['model', 'codes'],
methods: { methods: {
handleSearch () { handleSearch () {
......
...@@ -28,11 +28,13 @@ ...@@ -28,11 +28,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cptopn/Event" import Event from "~/model/Cptopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -230,10 +230,12 @@ ...@@ -230,10 +230,12 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:['model', 'codes'], props:['model', 'codes'],
methods: { methods: {
async search_rmtp_ptysel () { async search_rmtp_ptysel () {
......
...@@ -152,10 +152,12 @@ ...@@ -152,10 +152,12 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess"
import Utils from "~/utils" import Utils from "~/utils"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:['model', 'codes'], props:['model', 'codes'],
methods: { methods: {
async search_orip_ptysel () { async search_orip_ptysel () {
......
...@@ -199,9 +199,12 @@ ...@@ -199,9 +199,12 @@
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
options: [], options: [],
......
...@@ -353,6 +353,7 @@ ...@@ -353,6 +353,7 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event"; import Event from "~/model/Cptopn/Event";
import SetpanDialog from "./SetpanDialog.vue"; import SetpanDialog from "./SetpanDialog.vue";
...@@ -361,6 +362,7 @@ import Utils from "~/utils/index" ...@@ -361,6 +362,7 @@ import Utils from "~/utils/index"
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
components: { SetpanDialog }, components: { SetpanDialog },
data() { data() {
return { return {
......
...@@ -76,12 +76,14 @@ ...@@ -76,12 +76,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptopn/Event"; import Event from "~/model/Cptopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
}; };
......
...@@ -60,12 +60,14 @@ ...@@ -60,12 +60,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event"; import Event from "~/model/Ditame/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -58,11 +58,13 @@ ...@@ -58,11 +58,13 @@
</div> </div>
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -330,12 +330,14 @@ ...@@ -330,12 +330,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event"; import Event from "~/model/Ditame/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -281,12 +281,14 @@ ...@@ -281,12 +281,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
dialogTableVisible: false, dialogTableVisible: false,
......
...@@ -109,11 +109,13 @@ ...@@ -109,11 +109,13 @@
</c-row> </c-row>
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -122,12 +122,14 @@ ...@@ -122,12 +122,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
import Utils from "~/utils"; import Utils from "~/utils";
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -489,6 +489,7 @@ ...@@ -489,6 +489,7 @@
</div> </div>
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
import Input from "../../../components/Input.vue"; import Input from "../../../components/Input.vue";
import Api from "~/service/Api"; import Api from "~/service/Api";
...@@ -497,6 +498,7 @@ export default { ...@@ -497,6 +498,7 @@ export default {
inject: ['root'], inject: ['root'],
components: { Input }, components: { Input },
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
index: 0, index: 0,
......
...@@ -100,12 +100,14 @@ ...@@ -100,12 +100,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event"; import Event from "~/model/Ditame/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -59,12 +59,14 @@ ...@@ -59,12 +59,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event"; import Event from "~/model/Ditame/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -54,12 +54,14 @@ ...@@ -54,12 +54,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event"; import Event from "~/model/Ditame/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -88,11 +88,13 @@ ...@@ -88,11 +88,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -47,12 +47,14 @@ ...@@ -47,12 +47,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event"; import Event from "~/model/Ditame/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -247,12 +247,14 @@ ...@@ -247,12 +247,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
tableData: {}, tableData: {},
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
......
...@@ -79,12 +79,14 @@ ...@@ -79,12 +79,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event"; import Event from "~/model/Ditame/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -390,6 +390,7 @@ ...@@ -390,6 +390,7 @@
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditame/Event"; import Event from "~/model/Ditame/Event";
import SetpanDialog from "./SetpanDialog.vue"; import SetpanDialog from "./SetpanDialog.vue";
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -399,6 +400,7 @@ export default { ...@@ -399,6 +400,7 @@ export default {
inject: ['root'], inject: ['root'],
components: { SetpanDialog }, components: { SetpanDialog },
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
dialogVisible: false, dialogVisible: false,
......
...@@ -38,11 +38,13 @@ ...@@ -38,11 +38,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -58,11 +58,13 @@ ...@@ -58,11 +58,13 @@
</div> </div>
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -281,12 +281,14 @@ ...@@ -281,12 +281,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
dialogTableVisible: false, dialogTableVisible: false,
......
...@@ -109,11 +109,13 @@ ...@@ -109,11 +109,13 @@
</c-row> </c-row>
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return {}; return {};
}, },
......
...@@ -122,12 +122,14 @@ ...@@ -122,12 +122,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
import Utils from "~/utils"; import Utils from "~/utils";
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -489,6 +489,7 @@ ...@@ -489,6 +489,7 @@
</div> </div>
</template> </template>
<script> <script>
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
import Input from "../../../components/Input.vue"; import Input from "../../../components/Input.vue";
import Api from "~/service/Api"; import Api from "~/service/Api";
...@@ -497,6 +498,7 @@ export default { ...@@ -497,6 +498,7 @@ export default {
inject: ['root'], inject: ['root'],
components: { Input }, components: { Input },
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
index: 0, index: 0,
......
...@@ -88,11 +88,13 @@ ...@@ -88,11 +88,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -8,11 +8,13 @@ ...@@ -8,11 +8,13 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
mixins: [CommonProcess],
props:["model","codes"], props:["model","codes"],
data(){ data(){
return { return {
......
...@@ -247,12 +247,14 @@ ...@@ -247,12 +247,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
export default { export default {
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
tableData: {}, tableData: {},
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -28,12 +28,14 @@ ...@@ -28,12 +28,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -103,12 +103,14 @@ ...@@ -103,12 +103,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -59,12 +59,14 @@ ...@@ -59,12 +59,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -390,6 +390,7 @@ ...@@ -390,6 +390,7 @@
</template> </template>
<script> <script>
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
import CommonProcess from "~/mixin/CommonProcess";
import SetpanDialog from "./SetpanDialog.vue"; import SetpanDialog from "./SetpanDialog.vue";
import Api from "~/service/Api" import Api from "~/service/Api"
import Utils from "~/utils/index" import Utils from "~/utils/index"
...@@ -398,6 +399,7 @@ export default { ...@@ -398,6 +399,7 @@ export default {
inject: ['root'], inject: ['root'],
components: { SetpanDialog }, components: { SetpanDialog },
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
dialogVisible: false, dialogVisible: false,
......
...@@ -38,12 +38,14 @@ ...@@ -38,12 +38,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditopn/Event" import Event from "~/model/Ditopn/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -1751,6 +1751,7 @@ ...@@ -1751,6 +1751,7 @@
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditsel/Event"; import Event from "~/model/Ditsel/Event";
import SelMune from "./SelMune.vue"; import SelMune from "./SelMune.vue";
...@@ -1759,6 +1760,7 @@ export default { ...@@ -1759,6 +1760,7 @@ export default {
inject: ['root'], inject: ['root'],
components: { SelMune }, components: { SelMune },
props: ["model", "codes"], props: ["model", "codes"],
mixins: [CommonProcess],
data() { data() {
return { return {
flag:1, flag:1,
......
...@@ -302,12 +302,14 @@ ...@@ -302,12 +302,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Office/Event" import Event from "~/model/Office/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -220,14 +220,14 @@ ...@@ -220,14 +220,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Sptsel/Event" import Event from "~/model/Sptsel/Event"
import CommonProcess from "~/mixin/CommonProcess"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
// mixins: [CommonProcess], mixins: [CommonProcess],
data(){ data(){
return { return {
stmData: { stmData: {
......
...@@ -245,6 +245,7 @@ import Event from "~/model/Trnrel/Event" ...@@ -245,6 +245,7 @@ import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
components: { components: {
}, },
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -240,12 +240,14 @@ ...@@ -240,12 +240,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -16,12 +16,14 @@ ...@@ -16,12 +16,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -29,12 +29,14 @@ ...@@ -29,12 +29,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
...@@ -10,12 +10,14 @@ ...@@ -10,12 +10,14 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Trnrel/Event" import Event from "~/model/Trnrel/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
data(){ data(){
return { return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment